
How to Download a Claude Artifact (and What You Actually Get)
Claude's download button hands you a file — but which file depends on how the artifact was built, and a React artifact won't open in your browser. Here's what each type gives you and what to do with it.
Claude built you something in the artifact panel — a dashboard, a quiz, a formatted report — and now you want it out of the chat. There's a download control right there, so this should take five seconds.
It usually does. The part that catches people out is the second step: you double-click the downloaded file and either it opens perfectly, or your computer shrugs at it. Which one you get depends entirely on what kind of artifact Claude made, and that's not something the download button tells you.
Downloading it
Open the artifact in its panel and look at the controls in its top-right corner. Depending on your Claude version you'll see a download icon, a copy icon, and an overflow menu holding the rest. Download saves the artifact's source to your machine; Copy puts the same source on your clipboard.
That's the whole mechanic. The interesting question is what landed in your Downloads folder.
Made from a template? Artifacts started from Claude's Docs, Slides or Design templates use Export instead. Per Claude's artifacts help article, docs export to Word, PDF, Markdown and Google Docs; decks to PowerPoint and PDF (or Google Slides); designs to a .zip, PDF, PowerPoint or standalone HTML. The rest of this page is about the download control on chat artifacts.
What you actually get, by artifact type
An HTML artifact → a .html file that just works. If Claude produced a single self-contained page — markup, <style>, <script>, all in one document — the download opens in any browser by double-clicking. Buttons work, charts render, the lot. This is the happy case and it's the most common one for anything Claude describes as a "webpage", "dashboard", or "interactive" anything.
A Markdown artifact → a .md file. Plain text with # and * in it. It opens in a text editor, not as a formatted document. To see it rendered you need something that understands Markdown — a code editor with preview, a note app, or a Markdown viewer.
An SVG artifact → an .svg file. Opens in a browser and in design tools. Straightforward.
A React artifact → a .tsx or .jsx file that will not open. This is the one that surprises people. React artifacts render beautifully inside Claude, because Claude's panel is running a build step for you — resolving import statements, compiling JSX into JavaScript the browser understands, supplying React itself. The file you downloaded has none of that. It's source code for a build system you don't have. Double-clicking it opens a text editor showing import React from 'react', and nothing else happens.
That's not a bug and nothing is corrupted. It's just that "download" gave you the ingredient, not the meal.
If you got a React file and wanted a webpage
You have two honest options.
Ask Claude to rebuild it as one HTML file. This is the fastest fix by a wide margin. Say: "Rewrite this as a single self-contained HTML file with no build step — inline the CSS and JavaScript, and load React from a CDN if you need it." Claude will hand back an artifact you can download and open directly. You lose nothing visually; you're just asking it to do the bundling that its own panel was doing invisibly.
Or set up a project locally. npm create vite, drop the component in, install dependencies, run the dev server. That is the correct move if you're going to keep developing it, and complete overkill if you just wanted to show someone a chart.
If what you wanted was a link, not a file
Downloading is the right verb when the file is the destination — you're archiving it, committing it to a repo, opening it offline. It's the wrong verb surprisingly often, because what people usually want is to show someone, and a file on your laptop can't be shown to anyone. You end up emailing an attachment that lands in spam, or that opens as raw code on your recipient's phone.
If the goal is "let someone else open this", skip the download and put the artifact on a URL:
- Hit Copy on the artifact instead of Download.
- Paste it into dochost.
- Send the link.
The result is a real page at a real address. JavaScript runs, so the calculator still calculates and the chart still draws. It opens on a phone. It doesn't expire out of someone's inbox.
Claude also has its own Share link (Publish, for legacy artifacts made in a chat before 16 September 2026), which does something similar on a Claude-hosted link — worth knowing about, with a couple of catches: some artifacts, like Docs, still ask the reader to sign in, and unpublishing a legacy artifact is one-way. Both routes are compared in how to publish a Claude artifact, and Claude artifact sharing alternative covers when Claude's link is enough.
How do I save a Claude artifact?
"Save" turns out to mean three different things, and picking the wrong one is why people end up with a file they can't use:
- Save it for yourself, as a file. That's the download button above. You get the source, and whether it opens by double-clicking depends on the type — see the table below.
- Save it so it stays available. Claude already keeps everything you make in the Artifacts tab of its sidebar, so you can find it again from any conversation. That's still Claude's copy, in your account. If it matters, get one of your own: download it, or put it on a URL.
- Save it somewhere other people can open. A file on your disk isn't that, and neither is a screenshot. Pasting the code onto a link is — the page runs its own JavaScript, so a quiz still scores and a dashboard still filters, and the recipient needs nothing installed. Sharing from Claude does the same job with different trade-offs.
The awkward middle case: you want a PDF
Artifacts made from Claude's Docs, Slides or Design templates have an Export button that includes PDF. For the rest, neither download nor sharing gives you a PDF, and there's no export-to-PDF button. The reliable route runs through a real page rather than through the chat window — printing from inside Claude prints the conversation, not the artifact. That's its own walkthrough: turning a Claude artifact into a PDF.
Quick reference
| Artifact type | Downloads as | Opens by double-clicking? |
|---|---|---|
| HTML page | .html | Yes |
| Markdown document | .md | As plain text only |
| SVG graphic | .svg | Yes |
| React component | .tsx / .jsx | No — needs a build step |
| Code (Python, SQL, …) | source file | In an editor, as intended |
What the link version looks like once it's live
If you downloaded the artifact to show it to someone, a published page answers the same need without anyone handling a file. This is a Markdown document published from a chat, as a reader sees it:

Three things differ from a downloaded file. The reader needs nothing installed, and it renders the same on a phone. When Claude gives you a corrected version, you update the page and the link stays the same, so there is no "use the second attachment" email. And you can see whether anyone opened it, because views are counted on the page.
Downloads still win in one case: when you need the source to keep working on it yourself. Do both, then. Keep the file, and send the link.
Related
- How to unpublish a Claude artifact — download the code before you use the one-way door
- Are Claude artifacts public? — what a shared link exposes, and to whom
- What "Publish artifact" actually means in Claude — the two routes to a URL
- Turn a Claude artifact into a link you control — when the goal was showing it to someone, not holding a file
Bottom line: the download button always works; whether the file works depends on the artifact. HTML, SVG and Markdown come out usable. React comes out as source, and the one-line fix is asking Claude for a single self-contained HTML file instead. And if the real goal was showing the thing to someone, pasting it onto a link beats sending a file every time.
Autor
Categorías
Más artículos

How to Publish Gemini-Generated HTML as a Shareable Web Page
Yes, Gemini can write a complete HTML file. Copy it from the Gemini site or app, paste it into dochost and get a public link that opens on any phone.

How to Get a Published dochost Page Indexed by Google
Published pages are noindex by default. Flip one switch on the manage screen and a permanent, public page becomes indexable, joins the sitemap, and can rank under its own title. Here are the five conditions, why free pages are excluded, and how to check the result.

Publish From Telegram: Forward a File, Get a Link Back
The dochost Telegram bot turns a forwarded Markdown or HTML file into a public link without leaving the chat. No account needed, and you can connect one later.
Boletín
Únete a la comunidad
Suscríbete a nuestro boletín para recibir las últimas noticias y novedades