How to Export and Share a Claude HTML Artifact
Key takeaways
- Download the .html file from Claude using ··· → Download in the artifact panel
- Upload to ShareDuo to get a shareable link anyone can open — no Claude account needed
- CDN scripts, Google Fonts, and external libraries all work normally on ShareDuo links
- Set a password or expiry window at upload time if you need access control
Claude can build impressive HTML artifacts — interactive charts, calculators, games, dashboards — but getting them out of Claude and sharing them publicly takes a couple of steps. Here's exactly how to do it. For a full comparison of all sharing methods, see 5 ways to share a Claude artifact. For broader context, see the complete Claude artifacts guide.
Step 1: Export the HTML from Claude
There are three ways to get the HTML out of Claude:
Download button (easiest)
In the artifact panel on the right side of the Claude interface, look for the download icon (an arrow pointing down). Click it and Claude saves the artifact as an .html file to your downloads folder.
Ask Claude to output the HTML
Type: "Show me the complete HTML for this artifact." Claude will paste the full code into the chat. Select all, copy.
Right-click → View source (in full-screen preview)
If you open the artifact in full-screen mode, you can right-click and choose "View Page Source" to see the raw HTML. Select all and copy.
For more options and edge cases, see more ways to download a Claude artifact.
Step 2: Host it publicly
Once you have the HTML, you need somewhere to host it that gives you a public URL. ShareDuo is built exactly for this.
- Go to shareduo.com
- Drop the
.htmlfile onto the drop zone, or paste the HTML into the text area - Choose how long the link should stay live
- Click "Upload & share"
You'll get two links: a preview URL to share with anyone, and a private manage URL to track views and delete the artifact later. This is the cleanest way to share without requiring a Claude account. Looking at other hosts? Compare hosting options.
Why not just use Claude's Publish button?
Claude's Publish creates a public link — standard HTML artifacts load for anyone, no account required. The limitations are different: no expiry control, no password protection, no view analytics, and published artifacts may be indexed by search engines. AI-powered artifacts (ones calling Claude's API at runtime) do require sign-in.
ShareDuo adds what Publish is missing: expiry windows, password protection, view analytics, and noindex by default. If you need any of those controls, ShareDuo is the better path.
What kinds of Claude artifacts work?
Any HTML artifact Claude creates will work — including ones that use:
- Chart.js, D3.js, or other charting libraries loaded from CDN
- Google Fonts
- Tailwind CSS via CDN
- Interactive JavaScript (games, calculators, forms)
- Inline CSS animations
ShareDuo's preview server is specifically configured to allow these — unlike some hosting services that block external scripts.
Ready to share your Claude artifact?
Free, no signup. Anyone can view the link — no Claude account needed.
Get my shareable link →