What happens when you convert HTM to JPG
- 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. A page taller than 16,384 pixels is cut off at that point. The JPG is saved at 92 percent quality.
- 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 HTM to JPG online
- Press "Choose HTM files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
- There are no settings to choose: the converter keeps everything the target format can hold.
- Press "Convert to JPG". 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.
- Save each JPG with its download button. Our server has already deleted both your HTM and the JPG by then.
Why convert HTM to JPG?
HTM files usually come from web pages saved from Word, Outlook and older Windows programs. People convert them to JPG because JPG opens everywhere and keeps photos small, which is why upload forms and email favour it.
In short, HTM is good at what it was made for, and JPG is the more practical choice when the file has to open, upload or print somewhere else. HTM opens in every web browser, while JPG opens in every browser and image viewer.
How to convert HTM to JPG on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your HTM files in from File Explorer, and press Convert. Each JPG is saved to your Downloads folder.
On a Mac
Safari, Chrome and Firefox all work. Drag the HTM files from Finder onto the drop zone and the JPG files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose HTM files. You can pick from Photos or from the Files app. The converted JPG 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 HTM files and pick them from Files or your gallery. The JPG is saved to the Download folder, where any file manager can find it.
Best settings for HTM to JPG
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. A short page still makes an image at least 900 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.
HTM vs JPG: the differences
| HTM | JPG | |
|---|---|---|
| Full name | HyperText Markup Language | Joint Photographic Experts Group image |
| Type | document | image |
| Created by | Tim Berners-Lee | the Joint Photographic Experts Group |
| First released | 1993 | 1992 |
| Compression | Lossless | Lossy |
| Transparency | n/a | No |
| Animation | n/a | No |
| Vector or raster | n/a | Raster |
| Colour | n/a | 24-bit colour, 16.7 million colours |
| What it holds | text with tags for headings, lists, links, tables and images | 24-bit colour, 16.7 million colours |
| In a browser | opens in every web browser | opens in every browser and image viewer |
| Common uses | web pages saved from Word, Outlook and older Windows programs | camera photos, web images and email attachments |
| MIME type | text/html | image/jpeg |
About HTM and JPG files
What is an HTM file?
HTM and HTML are the same format. The three-letter extension dates from old Windows systems that only allowed three characters after the dot, and Word and Outlook still save web pages as .htm.
What is a JPG file?
JPG discards fine detail the eye is least sensitive to, which is why a photo shrinks to a tenth of its raw size but text and sharp edges pick up blocky artefacts. Every re-save at a lossy setting throws away a little more.
HTM to JPG not working? Common problems
- "Files up to 25 MB can be converted." Server conversions have a size limit. Compress the images in the document, or split it, and try again.
- "The conversion took too long and was stopped." Very long or complex documents can exceed the time limit. Split the document and convert the parts.
- The document will not convert. It may be password protected, damaged, or saved in a newer or unusual version of the format.
Convert HTM to JPG from the command line
This page uses LibreOffice. Installed on your computer, it converts from the command line without opening a window:
soffice --headless --convert-to jpg input.htmConverting 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.
HTM to JPG converter FAQ
Will I lose quality converting HTM to JPG?
The image is exactly what a browser window 1,280 pixels wide shows, with slight JPG softness around small text; choose PNG for crisp text. Anything the page would load from the web is missing, by design.
Why is the JPG a different size from the HTM?
The JPG 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 HTM files uploaded?
Yes, for this conversion. A web page cannot save another page as a JPG file, so the HTM is rendered by Chromium, the open-source browser behind Chrome, on our conversion server. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the JPG as soon as the result has been sent back to you. We do not keep, read or share it.
Can I convert several HTM files to JPG 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 JPG file?
JPG opens in every browser and image viewer. JPG is common for camera photos, web images and email attachments.
Is this HTM to JPG 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 HTM to JPG 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 JPG is saved to your Downloads folder.