Published Claude artifacts are public. Here is how to make one private.
Pressing Publish on a Claude artifact creates a public link, and Anthropic's own docs note it may be indexed by search engines. The conversation stays private, but the artifact does not. To keep the same HTML private, host it on a private-by-default URL instead.
Are published Claude artifacts public, and how do you make one private?
Yes. Publishing a Claude artifact creates a public link anyone can open without a Claude account, and Anthropic notes published artifacts may be indexed by search engines. To make one private, leave it unpublished or host the HTML on a private-by-default URL like Stacktree, where the link is unguessable and crawlers are opted out.
Are published Claude artifacts public?
Yes. Publishing toggles the artifact to public and produces a URL on claude.ai that anyone can open, with no login required. This is the intended behaviour: publish is the share-with-the-world button. What it is not is a private-sharing feature. There is no password, no expiry, and no view analytics in the native flow, and logged-in users can remix a published artifact into their own copy. This covers standard HTML artifacts; AI-powered or Live artifacts that call Claude at runtime still require the viewer to sign in.
One thing that does stay private: the surrounding conversation. Publishing exposes the artifact only, not your chat history or the prompts that produced it. That distinction matters less than it sounds, because the artifact usually carries the data it was built from.
Do Claude artifacts get indexed by Google?
They can. Anthropic's help documentation on publishing artifacts notes that published artifacts may be indexed by search engines. In practice that means a published artifact is not just reachable by people you sent the link to; it can be crawled, indexed, and surfaced in Google results to anyone searching. An unpublished artifact has no public URL, so it is not indexable.
This is the gap most people miss. "Share via link" feels private because you only sent the link to one person. But a public, indexable URL is discoverable independently of who you shared it with.
Can people without the link find my Claude artifact?
If it is published, potentially yes. Because the URL is public and may be indexed, someone who never received the link can still land on it through search. If the artifact is unpublished, it stays inside your account and is not reachable. There is no middle "unlisted but uncrawlable" state in the native publish flow, which is the gap a private host fills.
What is actually exposed
- The rendered artifact. Public to anyone with the link, and reachable via search if indexed.
- Whatever the artifact embeds. Agent-generated HTML routinely inlines API responses, customer rows, internal IDs, or prompt context. Publishing the artifact publishes that data too.
- A remixable copy. Logged-in users can fork a published artifact into their own account.
What is not exposed: your chat history and the conversation around the artifact.
How to make a Claude artifact private
There are two honest paths.
- Do not publish it (or unpublish it). An unpublished artifact lives inside your Claude account and is not on a public URL. You can unpublish a version at any time, and per Anthropic's docs, once you unpublish a version you cannot republish that same version. The catch: pages already crawled can linger in search caches until they are re-crawled, so unpublishing is a cleanup, not a guarantee. And an unpublished artifact cannot be opened by someone without a Claude account.
- Host the HTML privately. Copy the artifact HTML out of Claude (or have Claude Code write it to a file) and publish it to a private-by-default host. The result is a link anyone can open, no Claude account needed, that is not indexed and not discoverable by guessing.
The private-by-default fix
Stacktree inverts the default. Where Claude publish is public-and-maybe-indexed, Stacktree is private unless you choose otherwise:
- Unguessable URL. The token is the credential. No directory listing, no public index, nothing to find by guessing.
- Search and AI opt-out. Every site is served with an
X-Robots-Tagopt-out, so even a leaked URL signals crawlers to skip it. - Optional gates per link. Add a shared password, an
@yourco.comemail-domain gate, or an expiry, link by link. - Replace-in-place. When the agent revises the artifact it can call
update_sitewith the same slug, so the URL you sent stays valid while the content updates. - No Claude account to view. Recipients open a normal link. They do not need a Claude account or a Stacktree account.
If your goal is simply to share an artifact with someone who lacks a Claude account, the step-by-step flow lives on the share Claude artifacts page. This page is about the privacy and indexing question specifically: what is public, what gets crawled, and how to keep an artifact off the public web.
Claude publish vs. private hosting on Stacktree
| Criterion | Claude publish | Stacktree |
|---|---|---|
| Default visibility | Public link. | Private, unguessable URL. |
| May be indexed by search engines | Yes, per Anthropic docs. | No, X-Robots-Tag opt-out on every site. |
| Viewer needs Claude account | No for viewing, yes to remix. | No. |
| Password gate | No. | Yes, per link. |
| Email-domain gate | No. | Yes, magic-link verified. |
| Expiry control | No. | Minutes to years. |
| Conversation kept private | Yes, artifact only is published. | N/A, no conversation involved. |
| Zero-setup inside the Claude app | Yes, one button. | Needs a copy or an MCP call. |
Frequent questions
Are published Claude artifacts public? +
Do Claude artifacts get indexed by Google? +
How do I make a Claude artifact private? +
Can people without the link find my Claude artifact? +
Does unpublishing a Claude artifact remove it from Google? +
What stays private when I publish a Claude artifact? +
Is Stacktree more private than Claude publish? +
Related guides
- Share Claude artifacts privately The step-by-step flow for sharing with someone who has no Claude account.
- Private HTML hosting The four layers of private, from unguessable URL to end-to-end encryption.
- Publish from Claude Code Skip the copy/paste, the agent publishes the artifact directly.
- The MCP publish tool publish_html, update_site, and delete_site explained end to end.
- Agent-loop hosting Why replace-in-place is the right contract for iterating artifacts.
Sources and further reading
- Anthropic, Publishing and sharing artifacts ↗ Anthropic's help article confirming the public link and the search-indexing note.
- Anthropic, What are artifacts ↗ Background on what an artifact is and how publishing works.
- X-Robots-Tag (Google Search Central) ↗ The header Stacktree sets to opt every site out of search and AI crawls.
- Remove a page from Google (Search Central) ↗ Why an already-indexed page can linger after you unpublish it.
Keep the artifact, lose the public URL.
Private by default, not indexed, no Claude account needed to view. Free first publish, no card.
Sign up free →