Skip to content

HTML to Image (PNG, JPG)

Turn an HTML file or pasted HTML and CSS into a PNG or JPG picture, drawn by your own browser. Scripts are not run and nothing is uploaded.

Drop files here or click to choose Files never leave your device
    Options

    How to use HTML to Image (PNG, JPG)

    1. Add .html files or paste HTML and CSS in the box.
    2. Choose the page width, the sharpness (1× or 2×) and PNG or JPG.
    3. Press Start.
    4. 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 filesNever leave your deviceSent to a remote server
    Waiting timeNo upload, no download queueUpload + processing + download
    LimitsNoneOften file-size or daily limits
    Works offlineYes, once loadedNo

    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

    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.