HTML to Image — Screenshot a URL, HTML, or Code
Capture any webpage, paste raw HTML, or render an HTML + CSS + JS snippet to a PNG or JPG.
100 of 100 free uses left
Public URLs only. Renders in a real browser via our screenshot service.
HTML to Image — Screenshot a URL, HTML, or Code
HTML to Image lets you generate a screenshot from three different sources. Paste a public URL to capture a live webpage, drop in raw HTML markup to render and snapshot, or write an HTML + CSS + JavaScript snippet and have it rendered into a clean image.
It is perfect for documentation, blog posts, social previews, design reviews, and quickly sharing what a piece of code looks like. Pick PNG or JPG, choose a viewport width — from mobile to HD — and toggle full-page capture for long pages.
Everything runs in your browser for HTML and code snippets, so your markup never leaves your machine. URL captures are sent to a public screenshot renderer that loads the page in a real browser, so JavaScript-heavy pages are rendered accurately.
How It Works
Pick a source
Choose URL, raw HTML, or an HTML + CSS + JS code snippet.
Set options
Pick PNG or JPG, viewport width, and full-page on/off.
Capture & download
Preview the screenshot and download it as an image.
Why Use Our Tool?
3 Input Modes
Capture from a live URL, raw HTML, or an HTML/CSS/JS code snippet.
PNG or JPG
Choose the right format for sharing, blogging, or print.
Custom Viewport
Pick mobile, tablet, desktop, or HD widths to match the device you target.
Full-Page Capture
Snapshot long, scrolling pages end to end in a single image.
Private by Default
HTML and code snippets are rendered locally in your browser.
No Signup Required
Start capturing screenshots immediately, free.