Host your Claude HTML
Drop the HTML file Claude made, or paste the code, and get a link anyone can open, in about a second. No account. A passcode is on by default, and the page lasts 24 hours unless you keep it, which is free.
How to host HTML from Claude
- Get the page out of Claude. Ask Claude for it as one self-contained .html file, with the CSS and JavaScript inside it, and save the file. If Claude shows you the code instead, copy all of it.
- Give it to the box above. Drop the file, or paste the code, and press Publish private link.
- Send the link. Whoever opens it sees the page in their browser, with no Claude account and no account here. If you left the passcode on, send it separately from the link.
- Keep it, if it should last. The page is up for 24 hours. Keep it in a free account holds it at the same address, so the link you sent keeps working.
Getting the HTML out of Claude
Where the file is depends on where Claude made the page.
- A Claude chat. Ask: "Give me this as a single self-contained HTML file." Save what Claude gives you with a name that ends in .html. If you get code, paste it into the box above as it is. You do not need to save a file first.
- An older chat artifact. On an artifact made in a chat before 16 September 2026, Anthropic's help page says the controls at the top of the artifact panel let you view the code, copy the content or download it.
- Claude Design. Anthropic lists standalone HTML among the export formats for a design. Export that and drop it here.
- Claude Code. The file is already on your disk, in the folder Claude was working in. Drop it here, or skip the file and have Claude Code publish it.
Not sure what the file will look like? Open it in the viewer first. Nothing is uploaded there.
Will it look the same as it did in Claude?
A page that carries its own CSS and JavaScript looks the same. A published page runs under a stricter policy than the preview inside Claude, which is what keeps one person's page from reaching into another's.
| On the page | Once it is hosted here |
|---|---|
| CSS and JavaScript written into the file | Works |
| Fonts from Google Fonts or Bunny Fonts | Load |
| Libraries from cdnjs, the Tailwind CDN, or npm packages on jsDelivr and unpkg | Load |
| Images inside the file, and placeholder photos from Unsplash, picsum.photos or placehold.co | Load |
| Other scripts and images from other sites | Do not load |
| Calls from the page to another server | Blocked |
After you publish, the result lists anything on your page that will not load for visitors. One more case: an artifact that asks Claude a question, or reads your connected apps, does that through claude.ai. Those parts stay empty on a copy hosted anywhere else, here included.
Where to host HTML from Claude, compared
| Where | Who can open it, and what it fits |
|---|---|
| This page No account | Anyone with the link, and the passcode if you set one. Fits one page you send to someone today. |
| Claude's Share menu Your Claude account | A public link with no passcode. Most artifacts open with no sign-in, but docs, sheets and artifacts that save information ask the visitor to sign in to Claude. Fits a page that can stay on claude.ai. |
| GitHub Pages A GitHub account | Everyone. A private site needs Enterprise Cloud. Fits a public site kept beside its code. |
| Netlify Drop No account to try it | A temporary password until you claim the drop. A lasting password is on Pro. Fits a public site from a folder. |
Claude's own link is often the right answer. If the page is fine for anyone who gets the link, and it can live on claude.ai, sharing it from Claude is the shortest route. Open the link in a private window before you send it, because some artifacts ask a signed-out visitor to sign in. Host the file when you need what the Share menu does not have: a passcode, an expiry date, or your own domain. How sharing a Claude artifact works has the detail.
Is this a website?
For the person you send it to, yes: a page at an https address that opens in any browser, on a phone too. It is not a public website in the search sense. Stacktree keeps every page out of Google and away from AI crawlers on purpose, so nobody finds yours unless you send the link.
If you want a site that people find by searching, with several pages and a name of its own, a static host is the better tool. GitHub Pages, Netlify and Cloudflare Pages are all free for public sites.
Straight from Claude, with no file
If you do this often, let Claude publish for you. Add Stacktree as a connector in Claude or in Claude Code, then say "publish this". Claude hands back the link, and the next version replaces the page at the same address.
What it costs
- No account: free. A page lasts 24 hours and can be up to 10 MB.
- Free account: 3 pages, 25 MB each. A page lasts 7 days, or once someone else opens it, 30 days after their latest visit, up to 90 days in total. Free pages carry a small Stacktree badge.
- Solo, $19 a month. 25 pages live at a time that never expire, 250 MB each, one custom domain, and no badge.
The passcode is on every one of these. Full detail is on pricing.
Frequent questions
How do I host HTML that Claude made? +
Is it free to host Claude HTML here? +
How do I turn Claude HTML into a website? +
Can someone open the link without a Claude account? +
Are Claude artifacts HTML? +
How long does the link last? +
Can I put Claude HTML on my own domain? +
Can I change the page after I send the link? +
Will Google index a Claude page I host here? +
What can I not publish here? +
Related
- Share a Claude artifact What Claude's own Share menu does, and how to send an artifact privately instead.
- Share across AI tools For a team where some use Claude and others ChatGPT or Copilot.
- The Claude connector Let Claude publish the page itself and hand you the link.
- Deploy HTML from Claude Code Four ways to get a page online from the terminal, one command each.
- Password-protect an HTML page What the passcode does, and the other ways to lock a single page.
- HTML viewer See the file as a page before you send it. Nothing is uploaded.
- What is a Claude artifact? What an artifact can do, where it lives, and who can open it.
- Share an HTML file with a client Send a link instead of an attachment, and see when it was opened.
- Pricing What each plan holds, and how long pages last on each.
- HTML to website Paste HTML code and it becomes a live page at its own link, with no account.
- Free HTML hosting Host a file or a zipped site with no account, and what other free hosts give.
- HTML to URL Turn HTML into a link you can send: what the URL looks like and how long it works.
Sources and further reading
- Claude Help Center: What are artifacts and how do I use them? ↗ Anthropic on viewing, copying, downloading and exporting an artifact, including standalone HTML from a design.
- Claude Help Center: Share artifacts ↗ Who can open an artifact shared from Claude, and what a signed-out viewer sees.
- Claude Code docs: Share session output as artifacts ↗ An artifact from Claude Code is a single HTML page, private until you share it.
- MDN: Content-Security-Policy ↗ The browser rule a host uses to decide which scripts, fonts and images a page may load.