Can Claude Artifacts store data?
Yes, with three conditions that catch nearly everybody out. Claude Artifacts have persistent storage on the Pro, Max, Team and Enterprise plans. It is capped at 20 MB per artifact, it takes text only, and it works only once the artifact is published. While you are still building in the conversation, storage calls quietly do nothing. There are also two separate pools: personal storage, which is private to each viewer, and shared storage, which everyone reads and writes as one pool with no idea who anyone is.
Last checked against Anthropic's documentation on . Claude changes often. If something here no longer matches the help centre, the help centre is right.
What artifact storage actually gives you
Anthropic documents this precisely, so here it is in their words rather than ours.
Persistent storage for artifacts is available on Pro, Max, Team, and Enterprise plans on Claude web and desktop.
Persistent storage for artifacts, Claude Help Center
- 20 MB per artifact. The help centre states a 20 MB storage limit per artifact, which is generous for records and small for anything else.
- Text only. The same page is explicit that there is no images, files, or binary data. A photo, a PDF or a spreadsheet upload is out of scope.
- Two pools. Personal storage: Each user maintains their own private data, while Shared storage: All users see and interact with the same data. Anthropic adds that Personal and shared storage are isolated.
- Published artifacts only. The condition below, which is the one that generates most of the confusion.
Why your storage code does nothing while you are testing
This is the single most common reason someone concludes that artifact storage is broken. It is not broken. It is off.
Persistent storage is only available for published artifacts. During development and testing, storage operations will not succeed until the artifact is published.
Persistent storage for artifacts, Claude Help Center
So the loop most people run, which is to build the artifact in the conversation, click around it in the preview pane, see nothing persist and assume the code is wrong, will fail every single time no matter how correct the code is. Nothing throws. Nothing warns. You have to publish first, open the published link, and test there.
Two practical consequences worth planning around:
- Your test data and your real data live in the same place, because there is only one place. There is no staging copy of a published artifact.
- Debugging happens on the live URL, which is also the URL you have given other people. Anyone holding the link is watching you work.
When artifact storage is the right answer, honestly
Plenty of the time it is, and this is worth saying because most pages on this topic will not say it. Keep using artifact storage when:
- The state belongs to one person. A calculator that remembers your last inputs, a reading tracker only you use, a form that survives a refresh. Personal storage is exactly this and costs you nothing to set up.
- The shared data is genuinely public. A vote tally, a guestbook, a collaborative word list. If it would be fine on a whiteboard in a corridor, shared storage is fine.
- It is going to be short-lived. Something you need for a weekend, a workshop or one sprint. Nothing to provision, nothing to bill, nothing to remember to delete.
- You want zero friction for the reader. There is no account wall on a published artifact at all, which is lighter than anything account-based can ever be, including us.
Against that, an artifact is the only tool in this comparison you can produce entirely inside a conversation, in seconds, with no deploy step. That is a real advantage and it does not stop being real because the storage has limits.
Signs you have outgrown artifact storage
The wall is usually one of five things. If you recognise two or more, you are not going to code your way past it:
- You need to know who did something, and shared storage has no author field to give you.
- Some rows should be visible to some people and not others. There is no permission model to express that.
- You need a file, an image or an attachment, and storage is text only.
- You are approaching 20 MB, or you would rather not think about a ceiling at all.
- The thing has quietly become important, and it currently lives at a URL that permanently deletes its own data if anyone unpublishes it. See what happens when you unpublish.
What changes if you move it to a hosted app
Homespun is where the same agent that built the thing can host it. People sign in with their email, so the app can tell who is who and every row remembers who created it; permissions are set per collection, so some people can approve and others can only submit; and the agent keeps read and write access to the collections it is allowed, so it can keep working on the data instead of handing you a page and walking away. It is free today, and there is no paid plan to buy.
Here is the honest comparison, including the columns where moving costs you something.
| Claude Artifact | Homespun app | |
|---|---|---|
| Time to first version | Seconds, inside the chat | About a minute, the agent deploys it |
| Setup for the reader | None. Open a link | They sign in with an emailed link or Google |
| Knows who each person is | No | Yes, and each row records who created it |
| Shared data with per-person rows | No | Yes |
| Roles and permissions | No | Yes, set per collection |
| Files and images | No, text only | Yes, images, PDFs, audio and video |
| Storage ceiling | 20 MB per artifact | 100,000 rows and 100 MB of uploads per app |
| Works before you publish | No, storage is silent until published | Yes, it is a real app the whole time |
| Agent can keep working on the data | No, it sees only what you paste back | Yes, on the collections the app allows it |
| Cost | Included in your Claude plan | Free today, no paid plan to buy |
| What you give up | Nothing | The zero-friction, no-account-at-all link |
That last row is not a formality. If what you have is a thing for strangers to open once, an artifact is genuinely the better product and you should stay. The trade only pays off when the people using it are the same people every week.
How to move an artifact's data to a real app
The order matters, because of the silent-failure rule above and because unpublishing destroys the data.
- Get the data out while it is still published. Ask Claude, in the same conversation, to add a temporary export control to the artifact that reads everything out of storage and renders it as JSON in a textarea. Republish, open the published link, copy it. Storage only answers on the published page, so this cannot be done from the preview.
- Keep the code. The artifact's source is in the conversation. You will want it as the starting point rather than describing the whole thing again from scratch.
- Have the agent rebuild it as a hosted app. Connect Homespun to Claude, paste the artifact code and the exported JSON, and ask for the same app with real accounts and the data loaded. See connecting your AI.
- Only then unpublish, if you even want to. There is no rush, and unpublishing is permanent and cannot be reversed.
Questions people ask next
Do Claude Artifacts save data automatically?
No. An artifact only stores anything if it was built to call the artifact storage API, and even then only once the artifact is published. Nothing is saved by default, and an artifact that has never been published stores nothing at all.
Is artifact storage available on the free plan?
No. Anthropic lists persistent storage for artifacts as available on the Pro, Max, Team and Enterprise plans on Claude web and desktop. A free account can create and view artifacts but does not get persistent storage.
How much can one Claude Artifact store?
The documented limit is 20 MB of storage per artifact, and it accepts text only, with no images, files or binary data. There is no documented way to raise the ceiling for a single artifact.
Why does my artifact lose its data when I refresh?
Almost always because you are testing an unpublished artifact. Storage operations do not succeed until the artifact is published, so nothing you write during development survives a refresh. Publish it and test on the published link instead.
Can two people share data in one Claude Artifact?
Yes, through shared storage, but with no notion of who is who: all users see and interact with the same data, and any of them can change or delete any of it. There is no per-person row ownership and no way to show one person only their own records.
Does unpublishing an artifact delete its stored data?
Yes, permanently, both the personal and the shared pools, and you cannot publish that same artifact again afterwards. Export anything you care about before you unpublish, because there is no built-in export and no way back.
Primary sources
Every claim about Claude on this page comes from Anthropic's own documentation, quoted rather than summarised so you can check it yourself.