
How to Share a Web Page Made by ChatGPT, Claude, Gemini, DeepSeek or Doubao
ChatGPT, Claude, Gemini, DeepSeek or Doubao wrote you a web page? Copy the full HTML, paste it into dochost and send the link. Free, no signup, any phone.
Short answer: whichever assistant wrote the page (ChatGPT, Claude, Gemini, DeepSeek, Doubao, Kimi or another), the steps are the same. Ask for one complete, self-contained HTML file, copy the whole thing (or save it as a .html file), paste or upload it on dochost, and select Get my link. The person you send it to opens a normal web page in their browser. They don't need an account with your AI tool, and they can't see your conversation.
This is a copy-and-paste workflow. dochost has no official partnership with any of these assistants and never asks for access to your AI account.
Why you can't just send the chat or the code
The preview inside an AI chat only exists in your conversation. Paste the code into an email or a messaging app and the other person sees a wall of tags. Send the .html file as an attachment and most phones won't open it as a page. A file:// address only points at a file on your own computer.
What you need is an HTTPS link: the page lives on a server, and anyone who taps the link sees it rendered.
Step 1: get one complete HTML file (works in every assistant)
This prompt works in all of them. Swap in your own topic:
Create one complete, self-contained HTML file for a "team offsite agenda" page. Put the CSS in a <style> tag and any JavaScript in a <script> tag. Don't depend on local images, external frameworks, API keys or a build step. Include <meta charset="utf-8"> and a mobile viewport. Give me the full code from <!doctype html> to </html>, not a snippet.
If the answer comes back in the wrong shape:
- Only the changed part: ask for "the full updated HTML, not just the part that changed".
- A React or Vue project, or several files: ask for "a single HTML file that opens directly in a browser with no install step".
- Explanations and code fences around the code: copy only from
<!doctype html>to</html>.
Copy, download and preview buttons move around between app versions, so nothing here depends on a particular button. All you need is the complete code.
Step 2: turn it into a link
- Open dochost and paste the code, or upload the
.htmlfile. - Check the format is HTML, then use the preview to check the title, the text, buttons and anything interactive.
- Choose visibility. Private means the page is not listed on Explore and only people with the link can open it. It is not a password.
- Select Get my link and copy the share link.
- If you weren't signed in, the success screen also shows an edit link. It can change the page, so keep it to yourself and don't send it as the reading link.
Where each assistant fits
| Assistant | Has its own share option? | Fastest route to a plain link |
|---|---|---|
| ChatGPT | ChatGPT Sites, on paid plans (how Sites links work) | Paste the HTML, or one click with the Chrome extension. See sharing ChatGPT HTML |
| Claude | Sharing an artifact with Anyone with the link; some, like Docs, still need sign-in (how it works) | Copy the artifact code and paste it, or use the Chrome extension. See Claude artifact to link |
| Gemini | Canvas share links (Gemini Canvas sharing guide) | Copy the complete HTML and paste it. See publishing Gemini HTML |
| DeepSeek, Kimi, Doubao, others | Not covered here | Copy the complete HTML and paste it. Chinese guide: AI 生成的网页怎么发给别人 |
| Cursor, Claude Code, Codex, Gemini CLI | n/a | Let the agent publish through the MCP server and hand back the link |
A built-in share link is fine when the reader is happy to open the assistant's own page. A plain link is the better fit when you want just the page, without the assistant's interface around it, or when the HTML came from a different tool than the one you want to share it in.
What the free plan covers
| Free | Pro | |
|---|---|---|
| Account needed | No | Yes |
| Page size | 1 MB | 10 MB (Max: 50 MB) |
| Live pages at once | 10 | 200 (Max: unlimited) |
| Link lifetime | Public 7 days, private 3 days | Permanent |
| Password, custom link, no badge | No | Yes |
For an event page, a draft out for review or a quiz for this week, the free plan is usually enough. For a link that goes on a CV or stays in a bio, you want a permanent link on a paid plan. Prices are on the pricing page, and limits and alternatives are on free HTML hosting.
Before you send the link
- Open it on your phone, on both mobile data and Wi-Fi.
- Check the text isn't garbled (a missing
<meta charset="utf-8">is the usual cause) and that tables and long lines fit the screen. - Try the buttons, images, collapsible sections and outbound links.
- Make sure the page has no names, phone numbers, internal data or API keys that shouldn't be public.
- Keep the original HTML. The share link shouldn't be your only copy.
FAQ
Does it matter which AI wrote the page? No. dochost only cares whether you hand it a complete HTML file, not which assistant wrote it. The assistants differ only in what they output by default: some give snippets and some give multi-file projects. Ask for a single HTML file as in step 1.
Do I need to sign up? No. The free plan publishes without an account, up to 1 MB per page and 10 live pages at once. Signing in (Google, GitHub or email) lets you manage your pages from a dashboard.
How long does the link last? A free public page lasts 7 days and a private one 3 days. Paid plans make links permanent. You can also extend a single page before it expires.
Will the JavaScript in the page still work? Yes. The page is served as written, so inline scripts run: quizzes score, charts redraw, calculators calculate. Anything that needs a server, like saving form submissions, needs a backend of your own.
Can the form on my page collect sign-ups? Not by itself. Hosting one HTML file does not give you a database. If the page has a form, point it at a form service or endpoint you control, and test one real submission.
Bottom line: whichever assistant you use, get one complete HTML file out of it, paste it into dochost, and send the link.
الكاتب
Founder of dochost (Xhorizon Labs LLC). Software engineer focused on web publishing, HTML and Markdown rendering pipelines, sandboxed content delivery, and AI developer workflows.
التصنيفات
مقالات أخرى

How to Publish a ChatGPT HTML or Markdown Answer in One Click
When ChatGPT writes a page, the dochost Chrome extension puts a Publish button right under the code block. Here is the flow in a real ChatGPT chat — including the Public toggle and where the link ends up — and what to check when the button is missing.

How to Turn a Claude Artifact Into a PDF
Chat artifacts have no export-to-PDF button, and printing from the chat prints the conversation instead. Here's the route that actually produces a clean PDF of the artifact itself.

Quarto Pub Is Shutting Down: What Happens to Your Links, and Where to Move
Quarto Pub stops accepting new publishes and updates on 31 December 2026. Existing pages stay at their URLs until 31 December 2031, frozen. Here is the timeline, what it means for links you've already sent, and how to move a single Quarto document somewhere you can still edit it.
النشرة البريدية
انضم إلى مجتمعنا
اشترك في نشرتنا البريدية لتصلك آخر الأخبار والتحديثات