<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Compress JPEG

Drop your photos: for each one, the lowest quality that does not show is found, then MozJPEG encodes it, often far lighter than a camera or phone. It is free, and your photos never leave your device.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Compress JPEG

Drop JPEG photos here, several at once if you like.

Images are compressed in your browser and never uploaded. No limit on the number of files.

Options
Settings
For each photo, the lowest quality that still looks the same is found (between 40 and 90), then encoded with MozJPEG.
Advanced settings
For screenshots and drawings: colour edges stay crisp, the file is a little heavier.Copied from the original EXIF. The orientation is reset because the image is already upright.
Leave empty to keep the dimensions. Example: 1920 for a website.

How to use it

  1. Drop one or more JPEG photos, or click “Choose JPEG photos”.
  2. Leave “Automatic”: the tool searches the lowest quality between 40 and 90 that stays visually identical. In “Manual” mode, 75 is a good start.
  3. Open “Advanced settings” to keep the metadata (camera, date taken, copyright), with or without the GPS position, or to keep text sharp (4:4:4).
  4. Click “Compare” to check the result at actual size, then download each photo or all of them in a ZIP archive.

Example

Input

A 1200 × 800 px JPEG photo at quality 95 drawn in your browser, with EXIF metadata: camera, date, author, copyright and GPS position

Output

sample-photo-compressed.jpg: 1200 × 800 px progressive JPEG, quality chosen automatically between 40 and 90, metadata removed including the GPS position

Good to know

  • Re-encoding is lossy: the automatic mode only goes down while the difference stays invisible at normal size, measured on a reduced copy of the photo.
  • A JPEG that is already well compressed may not get lighter: the original is then kept unchanged.
  • Metadata is removed by default. When kept, camera, dates, author, copyright and exposure settings are copied (and the GPS position if ticked); maker notes, serial numbers, thumbnail, XMP and IPTC are not.
  • The colour profile is not copied: colours are converted to sRGB, the web standard. The photo is turned upright, so its orientation tag is reset to 1.
  • Files over 60 MB or 40 megapixels are refused; images over 16 megapixels are scaled down to 16 megapixels.

Frequently asked questions

How do I compress a JPEG without losing quality?

Leave “Automatic”: for each photo the tool searches the lowest quality between 40 and 90 that stays visually identical, measured on a reduced copy. Click “Compare” to check at actual size. Some loss always occurs when re-encoding a JPEG, but here it stays below what the eye can see.

How do I compress a JPEG to 100 KB or 200 KB?

This page optimises quality, not a target weight. To reach an exact size such as 100 KB for an online form, use “Compress an image” and its “Target size” mode: it also uses MozJPEG, and reduces the dimensions if needed.

Does compressing remove the EXIF data and GPS location?

Yes, by default all metadata is removed, GPS position included. In “Advanced settings” you can keep the camera, date taken, author and copyright, with or without the GPS position. Maker notes, serial numbers, XMP and IPTC are never copied.

How do I compress JPEG photos on Mac or iPhone?

Open this page in Safari and drop or choose the photos: MozJPEG runs on the device, so it works the same on a Mac, an iPhone or an iPad. On a Mac, Preview can also lower the quality through File > Export, but without automatic quality or comparison.

Why does my JPEG not get any smaller?

It was probably already well compressed, by a website or an editor at a low quality. Re-encoding cannot squeeze much more out of it without visible damage, so when the result is not lighter the original is kept unchanged. To go further, reduce its dimensions or convert it to WebP.

What do MozJPEG and progressive JPEG bring?

MozJPEG is an encoder from Mozilla that produces smaller JPEG files than standard encoders at the same visual quality, while staying a normal JPEG that opens everywhere. Progressive JPEG displays a blurred preview first, then sharpens as it loads, which feels faster on slow connections.

← Back to all tools