How to Export and Share a Claude HTML Artifact
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.
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.
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.
Why not just use Claude's Publish button?
Claude's Publish creates a link, but it only works for people who have a Claude account. If your recipient doesn't have Claude — or has a free plan that doesn't support artifact viewing — they'll see a login screen instead of your artifact.
ShareDuo's preview links have no such restriction. They work in any browser, for anyone.
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.
Upload & share →