Skip to content

Compress JPG images

Make JPG photos smaller and keep them as JPG.

From
To

Pick your own format, quality and size

80

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

  1. Add your images: choose files, drop them here or paste with Ctrl+V.
  2. 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.
  3. 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.

JPG compression on this page, before and after (1 KB = 1000 bytes)
PhotoBeforeAt 80Smaller byAt 70At 85
Lake, 12 MP3,977 KB1,895 KB52%1,406 KB2,175 KB
Mug, 8 MP1,363 KB322 KB76%178 KB411 KB
Shoe, 7 MP1,670 KB270 KB84%153 KB356 KB
Vase, 24 MP10.7 MB357 KB97%153 KB530 KB
Lake, 1280 px web copy809 KB554 KB32%418 KB644 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

  1. MozJPEG README (Mozilla, GitHub)
    “It is compatible with the JPEG standard”