TapToConvert All conversions

Home / Document Converter / HTML Converter / HTML to JPEG

HTML to JPEG Converter

Convert an HTML file to JPEG online, free and without signing up. The conversion uses Chromium, , on our conversion server, and your file is deleted as soon as the JPEG is ready.

Drop files hereChoose HTML files Converted on our server, then deleted right away. Up to 25 MB per file.

Add a file from a URL

The file is fetched by your browser straight from that website, not through our servers. It works when the site allows other websites to download its files.

Settings

Add files to begin.

    What happens when you convert HTML to JPEG

    • The page is opened in Chromium, the open-source browser behind Chrome, on our conversion server and captured as one tall image 1,280 pixels wide, the width of a laptop window, saved as a JPEG. A page taller than 16,384 pixels is cut off at that point.
    • The JPEG image is saved at 92 percent quality, which keeps text readable while staying far smaller than PNG.
    • The image shows the page as a browser window shows it, with its colours, backgrounds and layout.
    • For your safety and ours, the page is opened with no network access at all. Everything inside the file is shown: its text, inline CSS, scripts, and images embedded as data. Anything it would fetch from the web, such as linked stylesheets, web fonts and remote images, is not loaded, so save the page as a single file (in Chrome, Save as, then "Webpage, Single File") if it depends on them.
    • This conversion runs on our server: the file is uploaded, converted, and deleted together with the result as soon as the result has been sent back to you. Nothing is kept. Files up to 25 MB are accepted.

    How to convert HTML to JPEG online

    1. Press "Choose HTML files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
    2. There are no settings to choose: the converter keeps everything the target format can hold.
    3. Press "Convert to JPEG". The file is uploaded to our conversion server, converted in a few seconds, and deleted together with the result as soon as the result is sent back.
    4. Save each JPEG with its download button. Our server has already deleted both your HTML and the JPEG by then.

    Why convert HTML to JPEG?

    HTML files usually come from web pages, emails and documents meant to be read in a browser. People convert them to JPEG because JPEG opens everywhere and keeps photos small, which is why upload forms and email favour it.

    In short, HTML is good at what it was made for, and JPEG is the more practical choice when the file has to open, upload or print somewhere else. HTML opens in every web browser, while JPEG opens in every browser and image viewer.

    How to convert HTML to JPEG on Windows, Mac, iPhone and Android

    On Windows

    Open this page in Chrome, Edge or Firefox, drag your HTML files in from File Explorer, and press Convert. Each JPEG is saved to your Downloads folder.

    On a Mac

    Safari, Chrome and Firefox all work. Drag the HTML files from Finder onto the drop zone and the JPEG files land in Downloads.

    On iPhone and iPad

    Open the page in Safari and tap Choose HTML files. You can pick from Photos or from the Files app. The converted JPEG appears in Files, in the Downloads folder; to put it in your photo library, open it there, tap Share and choose Save Image.

    On Android

    Open the page in Chrome, tap Choose HTML files and pick them from Files or your gallery. The JPEG is saved to the Download folder, where any file manager can find it.

    Best settings for HTML to JPEG

    There are no settings: the page is shown in a window 1,280 pixels wide and captured from top to bottom, up to 16,384 pixels tall.

    For the best result, make the HTML self-contained: inline its CSS and embed its images as data URIs, or save it from Chrome as "Webpage, Single File". Fonts from Google Fonts or other web services are replaced with fonts installed on our server.

    HTML vs JPEG: the differences

    HTMLJPEG
    Full nameHyperText Markup LanguageJoint Photographic Experts Group image
    Typedocumentimage
    Created byTim Berners-Leethe Joint Photographic Experts Group
    First released19931992
    CompressionLosslessLossy
    Transparencyn/aNo
    Animationn/aNo
    Vector or rastern/aRaster
    Colourn/a24-bit colour, 16.7 million colours
    What it holdstext with tags for headings, lists, links, tables and images24-bit colour, 16.7 million colours
    In a browseropens in every web browseropens in every browser and image viewer
    Common usesweb pages, emails and documents meant to be read in a browsercamera photos, scanned documents and web images
    MIME typetext/htmlimage/jpeg

    About HTML and JPEG files

    What is an HTML file?

    HTML is the language of web pages. A converted document saved as HTML keeps its headings, lists, tables and links and opens in any browser.

    What is a JPEG file?

    JPEG and JPG are the same format. The three-letter extension dates from old Windows systems that only allowed three characters after the dot, and both names are still in use.

    HTML to JPEG not working? Common problems

    • "Files up to 25 MB can be converted." Server conversions have a size limit. Compress the images inside the file, or split it, and try again.
    • "The conversion took too long and was stopped." Very long or complex files can pass the 90 second limit. Split the file and convert the parts.
    • Images or styling are missing. The page is opened without network access, so anything it links to online is not loaded. Save the page as a single file and convert that.

    Convert HTML to JPEG from the command line

    Chromium takes the screenshot on your own computer, as tall as the window you give it (set the height to the length of the page), and ImageMagick saves it:

    chromium --headless --window-size=1280,5000 --screenshot=page.png input.html
    magick page.png -quality 92 output.jpeg

    Converting on your own computer keeps the file entirely local, which is worth it for very large or very sensitive documents. For everything else, the converter on this page does it without installing anything.

    HTML to JPEG converter FAQ

    Will I lose quality converting HTML to JPEG?

    The image is exactly what a browser window 1,280 pixels wide shows. JPEG adds slight softness around small text; choose PNG for crisp text. Anything the page would load from the web is missing, by design.

    Why is the JPEG a different size from the HTML?

    The JPEG stores every pixel of the rendered page, so it is much larger than the HTML, and grows with the length of the page.

    Are my HTML files uploaded?

    Yes, for this conversion. A web page cannot save another page as a JPEG file, so the HTML is rendered by Chromium, , on our conversion server. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the JPEG as soon as the result has been sent back to you. We do not keep, read or share it.

    Can I convert several HTML files to JPEG at once?

    Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.

    How do I open a JPEG file?

    JPEG opens in every browser and image viewer. JPEG is common for camera photos, scanned documents and web images.

    Is this HTML to JPEG converter free?

    Yes. There is no sign-up and no watermark. Because this conversion uses our server, there is a fair-use limit of 25 MB per file and a number of files per hour, which stops the service being overloaded.

    Can I convert HTML to JPEG on my phone?

    Yes. It works in Safari on iPhone and iPad and in Chrome on Android. The conversion happens on our server, so it is as fast on a phone as on a computer; the JPEG is saved to your Downloads folder.

    Convert HTML to other formats

    Convert other formats to JPEG

    Looking for something else? Try the document converter or browse every conversion.

    Try MP4 to MP3, HEIC, merge PDF or compress video.