Guide
How to publish a Claude artifact as a real website.
An artifact is quick to share: one click and anyone with the link can open it. A website for a business usually needs more than that link.
Claude’s Share or Publish button gives an artifact a public link on claude.ai that anyone can open without an account. That is enough for a single page you want to show. An artifact is one page on Claude’s address, and Anthropic’s docs name no custom domain. For several pages, your own domain or a client who edits, save the code into a folder and put it on a host.
What publishing an artifact does
An artifact is a page Claude builds next to the chat or from Claude Code: a document, a small app, or a single-page website. Anthropic’s help center says artifacts start private to you, and nothing is shared until you share it.
When you share one with “Anyone with the link”, anyone who has the link can view and use it without a Claude account. The page lives on claude.ai, and its content is loaded from a separate, sandboxed address, claudeusercontent.com. On Team and Enterprise plans, artifacts stay inside the organisation until an Owner turns on external sharing.
Artifacts made in a chat before 16 September 2026 are now called legacy artifacts. They show a Publish button instead of Share, and the help center warns that an unpublished legacy artifact cannot be published again.
How to share a Claude artifact by link
The wording differs a little between plans and between new and legacy artifacts.
- Step 1: Open the artifact
In the chat, or in your list of artifacts on claude.ai.
- Step 2: Click Share
Legacy artifacts from a chat show Publish, or Share & copy link on Team and Enterprise.
- Step 3: Choose who can open it
On Pro, Max and Ultra: only you, or anyone with the link. On Team and Enterprise also only invited people, or everyone in your organisation.
- Step 4: Copy the link and send it
Whoever opens it sees the page. People who only have the public link cannot see or add comments.
Paste this into your agent.
Free until a site goes live. Then $12 a month per site, plus tax.
An artifact link or a website
Both put a page in front of people. They are made for different jobs.
| Shared artifact | Website on a host | |
|---|---|---|
| Address | A link on claude.ai | The host’s address, or your own domain |
| Pages | One page, no separate addresses for subpages | As many as you like |
| Pictures and scripts from elsewhere | Blocked, apart from Google Fonts and a few code libraries | Allowed |
| Size | Up to 16 MiB | Depends on the host |
| Who changes it | You, or editors you invite (in beta) | Whoever has the files; on heyweb, also your client by chat (early access) |
From Anthropic’s help center and the Claude Code docs, read on 4 December 2026.
Can a Claude artifact use a custom domain?
We found no option for it. Neither Anthropic’s help center nor the Claude Code docs mention a custom domain for artifacts, as of December 2026. The only domain setting is “Allowed domains”, a list of websites that may embed a published artifact in their own pages.
So a café that wants cafe-name.com, or a studio that hands a site to a client, needs the page on a host. The same is true when the site should have several pages with their own addresses, which an artifact cannot serve.
Turn an artifact into a real website
The quickest way is to let Claude Code do the file work, because it runs on your computer and can write into a folder.
- Step 1: Make a folder
Create an empty folder for the site and open Claude Code in it.
- Step 2: Bring the page over
Paste the artifact’s code into the chat, or describe it, and ask Claude Code to write it into the folder as index.html with its styles and scripts.
- Step 3: Split it into pages
An artifact is one page. Ask Claude Code to give each larger section, such as the menu or the team, a page of its own, and to put the pictures in the folder as files.
- Step 4: Check it locally
Open index.html in your browser and click every link before anything goes online.
- Step 5: Put it online
Use any static host, or paste the heyweb setup line into Claude Code: it sends the folder and tells you the address.
Set up heyweb from app.heyweb.ai/start and put this site online.
Where heyweb fits
heyweb is hosting for static websites built with a coding agent such as Claude Code. One sentence puts the folder online at an address like your-site.heyweb.page, and every later version is one sentence too. Every version is kept and can be undone.
If the site is for a client, they change texts, pictures and prices by asking in a chat, and heyweb checks that only content changed before it goes live. The client chat and your client’s own domain are in early access. Building and previewing is free; a live site costs $12 a month plus tax. For a page you only want to show a few people, a shared artifact is simpler, and that is fine.
Common questions
How do I publish a Claude artifact?
Open the artifact, click Share and choose “Anyone with the link”, then copy the link. Legacy artifacts made in a chat before 16 September 2026 show Publish instead. Anyone with the link can open the page without a Claude account.
Can anyone see a published Claude artifact?
Anyone who has the public link. Artifacts start private; nothing is shared until you share it. On Team and Enterprise plans, links outside the organisation work only after an Owner turns on external sharing.
Can a Claude artifact have a custom domain?
We found no such option in Anthropic’s help center or the Claude Code docs as of December 2026. The page stays on claude.ai. For your own domain, put the code on a host.
Can a Claude artifact be a website with several pages?
No. The Claude Code docs describe an artifact as one self-contained page with no backend, so it cannot serve separate addresses for subpages. A website with several pages needs a host.
Do I need a paid plan to publish an artifact?
Creating artifacts works on every plan, Free included, and legacy chat artifacts can be published on Free, Pro, Max and Ultra. Artifacts made from Claude Code need Pro, Max, Ultra, Team or Enterprise.
How do I turn a Claude artifact into a website?
Bring the code into a folder as index.html, split it into pages if needed, check it in your browser and upload the folder to a static host. Claude Code can do the file work and, with heyweb, the upload as well.