MarkUpTo
Open the tool
Claude Artifacts

How to Save a Claude Artifact as a PDF or Image

Short answer

Claude Artifacts do not have a one-click download-as-PDF option. The dependable method is to open the Artifact's code view, copy the HTML, then render that HTML and export it as a PDF or image at 300 DPI so it prints sharp. Screenshots look fine on screen but come out soft on paper, so export rather than capture.

Claude Artifacts are a genuinely useful feature. You ask for a poster, a one-pager, a diagram, or a small web page, and Claude builds it in a live panel next to the chat. The catch shows up the moment you want that Artifact outside of Claude: there is no obvious download-as-PDF button, and the ways people reach for first tend to produce disappointing files.

This guide covers what an Artifact actually is under the hood, why there is no single export button, and the methods that give you a clean, print-ready result.

What is a Claude Artifact, technically?

An Artifact is a self-contained piece of content that Claude renders in its own panel. For anything visual, that content is almost always HTML, sometimes with CSS and a little JavaScript, or a small front-end component that renders to HTML. The important part for exporting is simple: what you see in the Artifact panel is a rendered web page. That means anything you can do with an HTML page, you can do with an Artifact, once you have its code.

Why is there no download-as-PDF button?

The Artifact panel is built for viewing and iterating, not for producing print files. Turning a live web page into a correctly sized, high-resolution PDF is a separate job with its own settings: page size, margins, resolution, and whether the output should be vector or a rendered image. Rather than bake all of that in, the panel gives you the raw material, the code, and leaves the export to you. That is actually good news, because it means you are not limited to whatever a single button would have decided for you.

Method 1: copy the code and render it (the reliable way)

This is the method that consistently produces a clean file. Most Artifacts have a code or source view in the panel. Open it, copy the full HTML, and then render that HTML somewhere you can control the page size and resolution. From there you export a PDF or image at print quality.

  1. Open the Artifact and switch to its code or source view.
  2. Select and copy the entire HTML.
  3. Paste it into a tool that renders HTML and lets you set the page size and DPI.
  4. Choose your page size, set the quality to 300 DPI, and export.

Because you are rendering the real HTML rather than photographing the screen, the output matches the design and carries enough detail to print cleanly.

MarkUpTo is a free browser tool built for this exact step. Paste your HTML, pick your page size, choose 300 or 600 DPI, and export a print-ready PDF or image. It shows the output pixel size before you export, needs no account, and runs in your browser so nothing gets uploaded.

Method 2: browser Print to PDF (works for simple Artifacts)

If the Artifact is mostly text, you can copy the HTML into a file, open it in a browser, and use Print to PDF. This keeps text selectable, which is handy for documents. The limitation is the same one that affects any web page: the browser adds its own margins, often drops background colors unless you enable Background graphics, and can split a one-page design across two sheets. For a plain document this is fine. For a designed Artifact with a background or precise layout, it usually is not.

Method 3: the screenshot trap

Screenshotting the Artifact panel is the fastest option and the one most likely to let you down. A screenshot is captured at screen resolution, roughly 96 dots per inch. It looks perfect on your monitor and turns soft the moment you print it at full size. If the Artifact is only ever going to live on a screen, a screenshot is fine. If it is going to paper, skip it and export instead.

Getting print quality out of an Artifact

Whichever method you use, the number that matters for printing is DPI, or dots per inch. Screens show around 96 DPI. Printers want 300. When you render an Artifact for print, you want it captured at three times the screen density so each printed inch holds enough detail. Here is what that works out to for the two most common page sizes.

ResolutionUS LetterA4Good for
96 DPI816 × 1056794 × 1123Screen only
150 DPI1275 × 16501240 × 1754Drafts and proofs
300 DPI2550 × 33002480 × 3508Standard print
600 DPI5100 × 66004960 × 7016Large or fine detail

A quick way to check any file you export: look at its pixel dimensions. If a full US Letter page is around 816 by 1056, that is screen resolution and it will print blurry. If it is 2550 by 3300, you are at 300 DPI and it will print clean.

Step by step: Artifact to print file

  1. In Claude, open the Artifact and find the code or source view.
  2. Copy the full HTML.
  3. Paste it into a renderer that lets you choose page size and DPI.
  4. Set the page (US Letter or A4), decide on margins or full-bleed, and pick 300 DPI.
  5. Export a raster PDF for a designed page, or a vector PDF for a plain document.
  6. Check the exported file's pixel size to confirm it is at print resolution.

The short version: an Artifact is just a rendered HTML page, so the moment you have its code, you have all the freedom you need. Render it at 300 DPI and you get a file that looks on paper the way it looked in Claude.

Different Artifact types, different export choices

Not every Artifact wants the same treatment, so it helps to match the method to what you built.

Posters and flyers: these are designs, so render them to a 300 DPI image and place it in a PDF. That reproduces the background and layout exactly. Choose your page size to match how you will print it.

Documents and reports: if the Artifact is mostly text and you want people to select or search it, a vector PDF from browser Print to PDF keeps the text live. Enable Background graphics if it has any color.

Diagrams and charts: these usually have clean shapes and few colors, so both methods work. If the diagram will be resized later or embedded in a slide, a high-resolution PNG with a transparent background is often the most flexible choice.

Multi-section pages: if the Artifact is a long page, decide your page size first, because a tall web page has to be broken into printed pages somewhere. Setting an explicit page size gives you control over where those breaks fall.

Edit the Artifact before you export

One advantage of working from the Artifact's HTML is that you can fix small things before committing to a file. If a headline is slightly too long, an image is the wrong one, or a color is not quite right, you can adjust the design first and then export, rather than exporting and starting over. Tools that let you edit the rendered page directly, changing text, swapping an image, or nudging a color, are handy here, because you get the design exactly right and then produce the print file in one pass. Either way, the point is that an Artifact is not locked. It is a normal web page, and everything you would do to any web page you can do to it.

Frequently asked questions

Can you download a Claude Artifact as a PDF?

Not with a single built-in button. The reliable way is to copy the Artifact's HTML using its code view, then render that HTML and export it as a PDF. For a designed Artifact, render it at 300 DPI so the PDF prints sharp.

How do I export a Claude Artifact without losing quality?

Avoid screenshots, which are captured at screen resolution. Instead, take the Artifact's HTML and render it at 300 DPI. That produces a much larger, sharper file suitable for printing.

Where is the code for a Claude Artifact?

Most Artifacts have a code or source view in the Artifact panel that shows the underlying HTML. Copy that, and you have everything you need to render and export the design yourself.

Can I turn a Claude Artifact into an image?

Yes. Render the Artifact's HTML to a PNG at 300 DPI for a crisp image, or a JPG if you need a smaller file. Both work for sharing or sending to a printer.