Compress JPG images
Make JPG photos smaller and keep them as JPG.
Pick your own format, quality and size
Lower means a smaller file. Between 70 and 85 most photos look the same to the eye.
Drop JPG images here
PNG, JPG, WebP, GIF, SVG and more, as many as you like. You can also paste with Ctrl+V or ⌘V.
Advanced settings
Changing a setting switches to Custom.
Optional. Each image is kept under this size: quality is lowered first, then dimensions if needed. 1 KB is counted as 1000 bytes, so the result also fits sites that count 1024.
Images are only made smaller, never larger.
Optional. Leave empty to keep each file’s own name. With “summer-sale” you get summer-sale-1, summer-sale-2 and so on.
Metadata such as EXIF and location is removed from every image. Photos keep their correct rotation.
How it works
- Add your images: choose files, drop them here or paste with Ctrl+V.
- Pixlune converts them right in your browser. Your files aren't uploaded to a server, so they stay private and it works even on a slow connection.
- Check how much each file shrank, then download them one by one or as a ZIP.
What we measured
We compressed 5 JPG photos with this page’s default quality of 80 in Chrome 158 on an Apple M3 Mac. Four are full-size files as uploaded to Wikimedia Commons (about 7 to 24 MP); the fifth is the 1280-pixel copy of the lake photo that Wikimedia Commons serves. Together they went from 18.5 MB to 3.4 MB in our test.
| Photo | Before | At 80 | Smaller by | At 70 | At 85 |
|---|---|---|---|---|---|
| Lake, 12 MP | 3,977 KB | 1,895 KB | 52% | 1,406 KB | 2,175 KB |
| Mug, 8 MP | 1,363 KB | 322 KB | 76% | 178 KB | 411 KB |
| Shoe, 7 MP | 1,670 KB | 270 KB | 84% | 153 KB | 356 KB |
| Vase, 24 MP | 10.7 MB | 357 KB | 97% | 153 KB | 530 KB |
| Lake, 1280 px web copy | 809 KB | 554 KB | 32% | 418 KB | 644 KB |
The four full-size files shrank by 52% to 97% and the web copy by 32%. By our estimate from each file’s JPEG quantization table (the usual libjpeg quality scale), the full-size files were saved at about 94 to 99 and the web copy at about 87; this is an approximation, and we didn’t test how much it explains the difference.
A smaller file isn’t free: JPG at 80 throws away detail, and how visible that is depends on the photo. The bytes come from our machine and browser version; another setup may give slightly different results.
Test photos: lake by AutumnNY, mug by Daderot, shoe by Wikipedia-ce, vase by Jonas Salcedo (all CC0, Wikimedia Commons).
What happens to your file
The photo is re-encoded with MozJPEG at the quality you choose. Width and height stay the same; a photo the camera stored sideways is turned upright first, as the lake and vase photos were in our test.
All metadata goes: EXIF, GPS location, the color profile and XMP. Colors from other profiles are converted to sRGB before the profile is removed.
If the result isn’t smaller than your file, you get your file back without its metadata, marked “Already optimized”. Each new JPG save loses a little more detail, so always start from the original.
When to use it
Use this when JPG photos from a phone or camera are too heavy for your site, an email or an upload form. In our test, four full-size photos from Wikimedia Commons shrank by 52% to 97% at quality 80, while a copy already resized for the web shrank by 32%.
Good to know
JPG compression is lossy: the photo is re-encoded with MozJPEG at the quality you choose. Pixlune never enlarges images, and a PNG or WebP added here keeps its own format.
Questions and answers
- What quality should I use for JPG?
- 80 is a good start for photos on a website. In our test, 70 made the files another 25% to 57% smaller than 80, and 85 made them 15% to 48% bigger. Whether you can see the difference depends on the photo, so try a value and compare.
- Why didn’t my JPG get smaller?
- It was probably already saved at a similar or lower quality. We saved our 5 test photos at quality 70 and added them again at 80: none got smaller, so Pixlune kept each file and marked it “Already optimized”. Lower the quality, or convert it to WebP for a smaller file.
- Does compressing remove EXIF and location data?
- Yes. Camera details, GPS location and other metadata are removed from every file. In our test, 3 of the 4 full-size photos carried a GPS location, and no result had EXIF data left. The photo is turned the right way first, so it doesn’t end up sideways.
- Can I compress the same JPG again and again?
- Better not. Every JPG save throws away a little detail, and the losses add up. Keep your original and always compress from it.
- Are my images uploaded to a server?
- No. Pixlune converts and compresses images in your browser. Your files never leave your device, and nothing is kept after you close the page.
- Is Pixlune free? Are there limits?
- Pixlune is free, with no sign-up and no limit on the number or size of files. The only limit is your device's memory.
About the formats
What is JPG?
JPG (JPEG) is the most common format for photos. It makes files small by discarding detail you barely notice, and it doesn't support transparency. Every save at a lower quality loses a little more detail.
Sources
- MozJPEG README (Mozilla, GitHub)
“It is compatible with the JPEG standard”