Turn a web page or a piece of HTML into an image. Paste a URL or your own code, choose a desktop, tablet or mobile width, capture the visible area or the full page, and download a crisp JPG, PNG or SVG.
Private: your files are processed in your browser and never uploaded.
How to convert HTML to an image
- Paste the address of a public web page, or paste/upload your HTML code.
- Choose the screen size (desktop, tablet or mobile), full page or visible area, the format and high resolution if you want sharper text.
- Press Capture image to download the screenshot.
What you can do with it
- Full-page screenshots of websites for portfolios, documentation, bug reports and client approvals.
- Mobile and tablet previews to check how a page looks on smaller screens.
- HTML snippets as images: email templates, social cards, certificates, banners, code you designed in HTML and CSS.
- SVG output for scalable captures of designs.
Options
| Option | Choices |
|---|---|
| Screen size | Desktop (1280 px), tablet and mobile widths |
| Capture | Full page or only the first screen |
| Format | JPG (small), PNG (lossless) or SVG (scalable) |
| High resolution | 2× rendering for sharp text on retina screens |
How it works
When you enter a URL, the page’s public HTML is fetched by the website’s own server (only the address is sent) and rendered in a sandboxed frame inside your browser, with scripts disabled for safety. Your own HTML code is rendered locally and never leaves your device. The result is then drawn into an image at the size you chose.
Pages that require a login, rely heavily on JavaScript to build their content, or block embedding may look incomplete. For those, open the page in your browser and use its built-in screenshot tool.
Need a document instead of an image? Use HTML to PDF. After capturing you can crop or compress the screenshot.
Tip: Turn on High resolution for screenshots you will show on modern laptops and phones: text stays razor sharp.
Key features of our HTML to image tool
- Capture by URL or HTML code
- Desktop, tablet and mobile widths
- Full-page capture
- JPG, PNG or SVG output
- 2× high-resolution rendering
- Scripts disabled for safety
Frequently asked questions
Can I capture any website?
Public pages work best. Pages behind a login or that build everything with JavaScript may not render completely.
Is my HTML code uploaded?
No. Code you paste or upload is rendered in your browser. For URLs, only the address is sent to fetch the public page.
Can I get a full-page screenshot?
Yes. Choose Full page under Capture.
Which format should I choose?
PNG for sharp text and graphics, JPG for smaller files, SVG for scalable output.
Does it work on mobile?
Yes. You can capture pages from any device.
More image tools you may need
HTML to image is one of our free image tools. Every tool works in your browser, so your files stay private on any device.