01 / Drop
Add the photos
Drop one or many, choose them, or paste one. Each is compressed at 75 percent quality straight away.
Free tool
Make JPG photos and screenshots smaller to email, upload or put on a website. Each one is saved with MozJPEG, an encoder built to make smaller JPGs than the usual one at the same look. Pick a quality, or a file size such as 100 KB, and drag the line across a photo to compare it with the original. You choose whether the camera, date and place details stay. It runs in your browser, so nothing is uploaded.
Need a custom tool, app or website? Contact us →Settings
A changed setting does every picture again. Settings are kept in this browser for next time.
This runs in your browser. Your pictures are never uploaded.
How it works
01 / Drop
Drop one or many, choose them, or paste one. Each is compressed at 75 percent quality straight away.
02 / Pick
Move the quality, or aim for a size such as 100 KB. Every photo is done again as you change a setting.
03 / Save
Drag the line on the photo to see the original, then download one, or all of them in a ZIP.
Guide
To compress a JPEG, you save the photo again at a lower quality setting, and often at a smaller size in pixels, so the file takes less space. This JPEG compressor does it in your browser with MozJPEG, an encoder that packs standard JPG files more tightly than the one built into browsers. You aim for a quality or for a file size, optionally cap the size in pixels, and see the saving for every photo next to a before and after view. You also choose what happens to the hidden photo details and how the file loads.
Largest side usually saves more than quality, because it removes pixels. A 12 megapixel phone photo is 4032 by 3024 pixels. Here is what each option leaves:
| Largest side | New size | Pixels kept |
|---|---|---|
| Keep the size | 4032 by 3024 | 12,192,768 (all) |
| 2560 px | 2560 by 1920 | 4,915,200 (about 40 percent) |
| 1920 px | 1920 by 1440 | 2,764,800 (about 23 percent) |
| 1280 px | 1280 by 960 | 1,228,800 (about 10 percent) |
For a photo viewed on a phone, laptop or web page, 1920 px is plenty and still sharp. Keep the full size only for photos you plan to print large or crop later.
Quality decides how much fine detail JPEG throws away inside each small block of the picture. A rough guide:
Set Aim for to A file size and type the limit, such as 100, or click one of the sizes. For each photo, the tool looks for the highest quality from 92 down to 40 that fits under it. If a photo is still too big at 40, it is made smaller in pixels first, because fewer pixels at good quality look better than many pixels at poor quality, and the search runs again. Only when nothing fits does it go lower than 40.
The line under each photo says what it took, such as quality 62, or made 1438 x 2158 to fit. A photo already under the limit is left as it was. If one cannot get under the limit at all, its line says so in yellow. Here 1 KB is 1,000 bytes, so a file under 100 KB is also under the limit of a site that counts 1,024 bytes to the KB. Photo details you keep count towards the limit.
Most camera and phone photos carry hidden details called EXIF: the camera and lens, the date and time, the settings, a small preview and often the exact place it was taken. Photo details gives three choices:
When a photo is saved again, the small preview inside the details is dropped and the pixels are turned the right way up, so it never shows sideways. A photo that is kept as it was has its details taken out without being saved again, and it keeps the note that tells apps which way up it goes. Details only travel into a JPG, so WebP files never carry them.
Progressive, loads in passes is on by default. A progressive JPG shows a rough version of the whole photo first and sharpens as it loads. Turn it off for a plain JPG that loads from top to bottom, which some older systems and printers ask for.
Full colour detail, for screenshots is off by default. Normally JPG stores colour at half the width and height of the brightness, which the eye does not notice in photos. On screenshots it can make red or blue text and thin coloured lines look fuzzy. Turn it on for those. The file gets bigger, so leave it off for photos.
JPEG is lossy. Every time a JPG is saved, a little more detail is lost, and the losses add up. If you need a smaller version later, start again from the original photo, not from the compressed copy. Keep the originals somewhere safe, because the compressed files keep the same name as the photos you dropped in.
Got PNG screenshots too? Use Compress PNG for those. For iPhone photos in HEIC, convert them first with HEIC to JPG, or drop them into the image compressor, which takes many formats.
Questions
No. They are compressed in this tab with your browser, so they never leave your computer.
An open JPEG encoder from Mozilla. It writes standard JPG files that open everywhere, but packs them more tightly than the encoder built into browsers. In our test on two 1920 x 1080 screenshots at 75 percent, its files were about 20 percent smaller than the browser's own JPG.
75 percent suits most photos. Screenshots with small text keep sharper edges at 85 percent or more.
Not unless you ask. Photo details starts on Remove them all. Keep them, but not the place keeps the camera and date and wipes the place. Keep them all keeps everything.
Yes. Set Aim for to A file size and click 100 KB, or type any number. Each photo gets the highest quality that fits, and is made smaller in pixels only if it has to be.
For the web, yes. It is the default here. Turn it off only if a system asks for a baseline or standard JPG.
Yes. Drop several together, then download them one by one or all at once in a ZIP file.
If the result would be larger, the original is kept and the list says so.
Current Chrome, Edge, Safari and Firefox. Safari cannot save WebP files, so it saves those as PNG.
Yes. They are the same format with two spellings of the file ending. This tool takes both and saves files ending in .jpg.
It depends on the photo and the settings, so the tool shows the exact before and after size for each one. Busy, detailed photos shrink less than simple ones with large plain areas.
Not quite, because every new JPEG save loses a little detail. At 90 to 95 percent the change is very hard to see. Making the photo smaller in pixels also loses detail, but you will not notice it at normal viewing size.
The quality is too low for that picture. Raise the slider to 75 or above, and lower the Largest side instead to save space. Drag the line across the photo to check before you download. For screenshots with coloured text, also turn on Full colour detail.