How to convert JPG to HTML
- Drop your JPG files on the box above, or click it to choose them (up to 30 at once).
- Press Convert. Each file is processed on your device and shows its old and new size.
- Download the files one by one or take them all as a ZIP.
What changes when you convert JPG to HTML
- Nothing is re-encoded: the original JPG file is encoded as text exactly as it is, including any metadata it carries.
About JPG and HTML files
JPEG is the standard format for photographs. It compresses by discarding fine detail the eye is unlikely to miss, so files are small but every re-save loses a little more.
The result is a single HTML file with the image embedded inside it as a data URI, plus a ready-made <img> tag with its width, height and alt text. It opens offline in any browser. It is a good choice for sending a self-contained page, or copying an <img> tag with the image built in.
Limits
Up to 30 files of 25 MB each per batch and images up to 50 megapixels — beyond that browsers run out of memory, so the tool says so instead of producing a broken file. Files that are not images, or are damaged, are rejected with the reason.