Free tool · HTML to PNG and JPG
Free HTML to image converter
Paste HTML or drop an .html file, choose the width and scale, and download a PNG or JPG of the page. It is drawn by your own browser, so nothing is uploaded.
What cannot render this way: images and fonts from another file or site unless they are inlined as data: URLs, external stylesheets, scripts that run after the page loads, iframes, and canvas or video content. The JPG is drawn on white.
Published free with no signup, the page is live for 7 days; sign up free to keep it. A published page is public to anyone with the link and noindex. Phishing and pages built to collect other people’s passwords or card details are taken down.
How it works
Convert HTML to PNG in three steps
Paste HTML or drop a file
Paste the page code, for example a card or a section Claude or ChatGPT wrote, or drop an .html file. The image preview updates as you type.
Pick the width, height and scale
Lay the page out at 1200, 1080, 800 or any width. Let the height follow the content, or fix it, and choose 1x, 2x or 3x for sharp text on high-density screens.
Download PNG or JPG
Save a PNG, or a JPG on a white background. Or publish the HTML itself as a live page you can send as a link.
Sizes
HTML to JPG or PNG at the size the image is for
Social and link previews
Width 1200 with a custom height of 630 is the Open Graph and X card size. Keep 2x if the image will also be seen on a phone or a laptop with a sharp screen.
Square posts
Width 1080 with a custom height of 1080 fits a square feed post. Design the HTML to fill the frame; anything taller than the height you set is cut off.
Docs, slides and READMEs
Width 800 with the height on auto turns a table, a chart made of HTML and CSS, or a pricing card into one image that drops into a doc or a deck.
The next step
HTML to image online, or send the page itself as a link
Noindex by default
Published pages tell search engines to stay away, so a page you share won’t surface on Google the way most free hosts’ public pages can.
Password protection
On Solo and Team, lock confidential pages with an encrypted password we can’t read, enforced before the page ever loads.
View tracking
An image goes quiet once it is sent. A page counts every view, and Solo and Team add unique viewers, country, referrer, and time on page.
More free tools
Other converters and viewers
SVG to PNG
Turn an SVG logo, icon or chart into a sharp PNG or JPG at 1x to 8x, with a transparent or white background.
Convert SVG to PNG →HTML to PDF
Paste HTML, pick A4 or Letter and the margins, and save it as a PDF with real, selectable text.
Convert HTML to PDF →HTML viewer
Paste or upload a full HTML document and preview it instantly in a sandboxed frame, at desktop or phone width.
Open the HTML viewer →HTML to image FAQ
Paste the HTML or drop an .html file into the converter above, pick a width (1200, 1080, 800 or your own), leave the height on Auto or set it, choose 1x, 2x or 3x, and press Download PNG. The page is drawn by your own browser at that size, so there is no signup, no watermark and no limit.
Yes. Press Download JPG. A JPG has no transparency, so it is drawn on white, with the page’s own background color on top if it has one. Use PNG for crisp text and flat colors, JPG where only JPG is accepted or the file must be small.
The page is drawn as an SVG image, and a browser never lets an SVG image load anything from another file or site. Images and web fonts linked by URL, external stylesheets and @import are left out, scripts do not run, and iframes, canvas and video stay empty. Paste the CSS into a style tag and embed images and fonts as data: URLs to keep them. If your browser still refuses to save, the tool says so instead of saving a blank file.
It is free and needs no account. Nothing you paste or drop is uploaded: the HTML is laid out in a hidden frame in this tab and drawn on a canvas on your device, and that frame is blocked from making any request. It only leaves your device if you choose to publish it as a page.
Pick the width the image will be shown at and let the height follow the content. For a link preview use 1200 by 630, for a square post 1080 by 1080. Scale 2x doubles the pixels so text stays sharp on phones and high-density screens; very large outputs are capped at about 16 megapixels, the most a phone browser can hold in one canvas.