How to use HTML to Image (PNG, JPG)
- Add .html files or paste HTML and CSS in the box.
- Choose the page width, the sharpness (1× or 2×) and PNG or JPG.
- Press Start.
- Download the pictures.
How HTML to Image (PNG, JPG) works
Drawn by your own browser
The page is laid out by your browser in a hidden, sealed frame, then drawn into a picture of the whole page height. Because it is your browser's own engine, modern CSS (flexbox, grid, web fonts written inside the page, gradients, shadows) looks exactly as on screen.
Safe and private
Scripts are removed and not run, and nothing is loaded from the internet: only pictures and fonts written inside the HTML (data: URLs) appear. Your code never leaves your device.
Size
The width you choose is the page width in CSS pixels; the height follows the content, up to 16,000 px. Choose 2× for sharp pictures on high-resolution screens.
Comparison
| This site (in-browser) | Typical upload-based sites | |
|---|---|---|
| Your files | Never leave your device | Sent to a remote server |
| Waiting time | No upload, no download queue | Upload + processing + download |
| Limits | None | Often file-size or daily limits |
| Works offline | Yes, once loaded | No |
Tips for the best result
- Put CSS in a <style> block or inline; external stylesheets are not loaded.
- Embed pictures as data: URLs (base64).
- A transparent page background stays transparent in PNG; JPG gets white.
- For a printable document instead of a picture, use HTML to PDF.
Private by design
HTML to Image (PNG, JPG) runs entirely inside your browser, in background threads (Web Workers) that use your device's own processor. Your files are never uploaded to our servers, so nobody else can see them, and processing starts instantly with no upload or download wait. Once the page has loaded, the tool keeps working even without an internet connection.
Related tools
- HTML to PDFTurn an HTML file or pasted HTML code into a clean, paginated PDF with its CSS, tables and Arabic text. Remote links are not fetched.
- Markdown to HTML (and HTML to Markdown)Turn Markdown into a clean HTML page, or HTML back into Markdown, with tables, lists, links and code blocks.
- Compress ImageReduce JPG, PNG and WebP file size in your browser, in bulk, without uploading.
- Resize ImageChange image dimensions in pixels, percent, cm, mm or inches, one photo or hundreds at once.
Frequently asked questions
Can I capture a website from its address?
No, only HTML you add or paste. Browsers do not allow a page to read other websites, and fetching addresses on a server would raise privacy and safety issues.
Why is my picture missing images or fonts?
Linked files on other websites are not loaded. Put them inside the HTML as data: URLs.
Is JavaScript run?
No. Content built by scripts will not appear.
Which browsers work?
Chrome, Edge and Firefox. Safari may refuse to export the drawn page.
Is my data uploaded?
No. Files and pasted text are processed by JavaScript in your browser and never sent to FileToolsPlus or any server, so you can use it for private configuration files, API keys or customer data.
Does it work offline?
Once the page has loaded, the conversion itself needs no internet connection.