HTML to Image Converter

Turn an HTML file or pasted HTML into a PNG or JPG picture.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Add your file

    Choose it or drop it here. It stays on your device.

  2. 2
    Pick pages and options

    Select the pages you want and adjust the settings.

  3. 3
    Convert and download

    Press convert, check the result and download it. Nothing is sent to a server.

About this tool

Add an .html file or paste HTML and choose the page width. The page is drawn inside your browser and saved as one tall picture. Use it for a certificate, an email design or a snippet you want to share as an image.

What to keep in mind

For safety, nothing outside the file is fetched: pictures, fonts and styles from other websites are not loaded. Put CSS inside a style tag and embed pictures as data addresses. Scripts are not run.

Size

The picture is made at twice the page width for sharp text, and is limited to a height of 12,000 pixels.

Worked example

A certificate written in HTML at width 1000 becomes a 2000-pixel-wide PNG you can post or print.

Tips for best results

Work on a copy of your file and keep the original until you have checked the result. Open the output before you send it to a portal, an employer or an office, and look at every page. If a size limit applies, check how the receiving site measures it, because some count a kilobyte as 1000 bytes and others as 1024. All processing happens inside your browser tab on your own device, so large files depend on your device memory and may take a little longer on a phone.

Quick facts

Frequently asked questions

Why are my images missing?

Pictures from other sites are not fetched. Embed them as data addresses or keep them inside the file.

Do scripts run?

No. Only the page as written is drawn.

Which format should I choose?

PNG for sharp text, JPG for a smaller file.

Is the HTML uploaded?

No. It is drawn in your browser.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages