Claude HTML to image

Render the page, set its width, and capture it. The result is sharp and works in any email or slide, and it stops being a page the moment you export it.

Claude HTML to image is a three step job: render the page, set its width to the size you want the picture to be, then capture it.

The page rendered at a set width before capture, so no scaling happens afterwards.
The page rendered at a set width before capture, so no scaling happens afterwards.

The width step is the one people skip, and it is the one that cannot be undone. Capturing at a narrow width and enlarging afterwards produces soft text that no amount of processing restores.

HTML to image does this in one paste. The rest of this page is what goes wrong and how to notice before you send the picture.

Where Claude HTML to image goes wrong

Symptom Cause Fix
Blank chart area Script drew the chart after the capture Let the page settle, then capture
Wrong typeface Network font was not available Embed the font or use a system font
Soft or blurred text Captured small and scaled up Set the width before capturing
Content cut off Fixed height, or a scrolling container Remove the height limit before capture

All four are visible in five seconds if you look at the result. Most of them ship because nobody looked.

Set the size first

Decide the destination before the capture, because the destination sets the width.

  • Slide or presentation: the slide width, at a fixed 16 by 9 area.
  • Document or report: the column width it will sit in.
  • Social post: the platform's preferred size, and check the crop.
  • Print: capture at a larger width than the printed size, since print needs more detail than a screen.

The width also decides how the layout behaves. A page captured at a narrow width uses its phone layout, with the columns stacked, which is rarely what you wanted in a slide. Set the width first and the layout follows.

Once the width is set, the height usually follows the content. Trouble starts when the page fixes its own height and the content runs past it.

A capture with a fixed height. The content below the cut is missing from the image.
A capture with a fixed height. The content below the cut is missing from the image.

Charts need the page to finish

A chart drawn by a script exists only after the script runs. Capture too early and you get axis lines with nothing on them, or an empty box.

Two situations are different from each other.

Local data. The chart draws within a moment of load. Waiting is enough.

Fetched data. The chart depends on a network request. In a capture that has no network, or where the request fails, the chart never appears. Ask for the numbers to be embedded in the file instead.

If the chart is the whole point of the picture, confirm it is drawn on screen before you export rather than checking the image afterwards.

Fonts are the quiet failure

A page that requests a font from the network shows a fallback when the font is unavailable. The layout usually still works, so nothing looks broken, and the image does not match your brand.

  • Embed the font in the file, or
  • Use a system font stack, or
  • Compare the capture against the screen before using it.

The third option is the least reliable, because a similar looking fallback passes a quick glance and fails a designer's.

The same applies to icon fonts. An icon set loaded from the network exports as empty boxes or as stray letters, and the result looks broken rather than merely different.

What an image loses

Exporting ends the page. That is the trade, and it is worth naming.

  • Everything below the fold if the capture is cropped rather than full height.
  • Interaction. Tabs, sorting and hovers become one frozen state.
  • Selectable text. Numbers in a picture cannot be copied into a spreadsheet.
  • Currency. When a figure changes, the picture is wrong and already in someone's inbox.
The same report as an exported image and as the live page. Only one of them can be sorted or corrected.
The same report as an exported image and as the live page. Only one of them can be sorted or corrected.

Screenshot versus live page covers that comparison directly, and PDF versus HTML page covers the same question for documents that must also print.

When to send the page instead

An image is right when the destination cannot show a page: a social post, a printed handout, a chat where links are stripped, a slide that must work with no network.

Otherwise the page is the better deliverable.

Pasting the HTML into a NOS document renders it exactly as written, dark theme, charts and scripts included. Share, then Share link, then Create link gives it an address, unlisted by default, and the address does not change when the content does.

The page as a document with a share link. Corrections happen in the page, not in a new picture.
The page as a document with a share link. Corrections happen in the page, not in a new picture.

The recipient sees the page rather than a picture of it, on a phone as well as a laptop. A wrong number is fixed by clicking the text and typing over it, and the link already sent points at the corrected version.

Turning HTML into a link is that step alone. If the HTML is still sitting in a chat, saving a Claude artifact covers getting the complete file out first.

A short pre-export checklist

  1. Is the width set to the final size?
  2. Have the charts finished drawing?
  3. Are the fonts the intended ones rather than fallbacks?
  4. Is anything cut off at the bottom or the right edge?
  5. Will any number in this picture change next week?

A yes to the last question is a signal to send a link rather than a picture. For animated pages, the equivalent question is whether a still is enough, which Claude HTML to video covers.

Questions people ask

How do I export Claude HTML as an image?

Render the HTML, set the page width to the size you want the image to be, and capture it. Setting the width first matters, because a capture scaled up afterwards is soft and cannot be sharpened again.

Why is my exported chart blank?

The chart is drawn by a script after the page loads, and the capture happened before it finished. Let the page settle before capturing. If the chart depends on data fetched from the network, it may never draw in an offline capture at all.

Why do the fonts look wrong in the image?

The page requested a font from the network that was not available at capture time, so a fallback was used. Embed the font or choose a system font before exporting, otherwise the image will not match what you saw on screen.

Can I get a transparent background?

Only if the page has no background of its own. If the body or a wrapper sets a colour, that colour is part of the image. Remove the background declaration before capture if you need transparency.

Should I send the image or the page?

Send an image when the destination cannot show a page, such as a social post or a printed handout. Send the page when the content has numbers that change, interaction worth using, or anything below the fold that a picture would crop.

Keep reading