Compress JPG / JPEG

Reduce photo file sizes by 40-70% while keeping images visually sharp

Drop images to compress

or browse files · paste from clipboard

JPEG · PNG · WebP · AVIF · GIF

Image processing settings
Output:
Quality:
Max width:

Smart JPEG Compression

XImage doesn't simply chase the lowest quality setting. Its balanced Auto approach:

  1. Encodes JPEG and WebP candidates at balanced quality
  2. Selects the smaller candidate without silently switching formats when you choose JPEG explicitly
  3. Keeps the original file if re-encoding would make it larger
  4. Reports both original and compressed size so you can see exactly what you saved

Common Use Cases

  • Website optimization — Google PageSpeed specifically flags oversized images. Compressing JPGs is the #1 quick win.
  • Email attachments — Fit more photos under the 25 MB Gmail limit.
  • Social media — Platforms re-compress your uploads anyway. Pre-compressing gives you more control over quality.
  • Storage savings — A 20 GB photo library can often be reduced to 8-12 GB with no visible difference.

Pro tip: Batch processing

Select an entire folder of photos (up to 50) and compress them all at once. Download the results as a single ZIP file.

How to compress JPG photos

  1. Drop your photos into the box, browse for them, or paste from your clipboard. You can add up to 50 JPG files per batch, each up to 20 MB.
  2. Choose an Output. Leave it on Auto to let XImage keep whichever of JPEG and WebP is smaller, or pick JPEG to make sure every file stays a .jpg.
  3. Leave Quality on Auto (80%) or move the slider. Add a Max width of 1920, 1280 or 800 when the photos are larger than you need.
  4. Compare each result with the before and after slider, then press Download or Save All for a ZIP. Names keep the original and add -compressed, so photo.jpg becomes photo-compressed.jpg.

Which setting saves the most space

  • Max width usually matters most for phone and camera photos. A picture 4000 pixels wide holds more than four times as many pixels as one 1920 pixels wide, and the file shrinks with them.
  • Quality is the second lever. Dropping from 80% to about 60% usually saves noticeably more, and below that blocky patches start to show in skies and gradients.
  • WebP output often beats JPEG at the same quality, which is why Auto compares the two.

Change one thing at a time and use Apply settings & reprocess all to compare. Stop as soon as the picture still looks right at the size you will actually show it.

What you get back with Auto and JPEG

  • Auto compares a JPEG and a WebP version of each photo and keeps the smaller one. A download may therefore be a .webp.
  • JPEG always returns a JPG, which is the safer pick when a form, printer or older program accepts only that format.
  • Unchanged file. If re-encoding would not make a photo smaller, and you did not resize it, the original comes back untouched rather than a bigger copy.

Compressing to an exact file size

Some forms set a hard limit. These pages lower the quality step by step and shrink the dimensions only if they must, so the file lands at or under the number you pick. On them Auto saves a WebP, so choose JPEG under Output if you need a .jpg.

Metadata and privacy

A re-encoded JPG does not carry over the original EXIF block, so camera details and GPS location are dropped. When a photo comes back unchanged, those tags stay, so check it with the EXIF viewer before you share it. Compression runs in your browser and your photos are not uploaded.

Common questions

How far can I compress a JPG before it looks bad?

For most photos, 80% quality is hard to tell from the original at normal size, and 60% to 70% is fine for thumbnails and email. Below about 50% blocky patches appear. Use the before and after slider to judge each photo.

Why is my compressed file a WebP instead of a JPG?

Output is set to Auto, which compares JPEG and WebP and keeps the smaller one. Choose JPEG under Output if you need every file to stay a .jpg.

Why did my photo come back at the same size?

It was probably compressed well already. When re-encoding would not make the file smaller, XImage returns the original instead of a larger copy. Try a lower quality, a smaller Max width or WebP output.

Does compressing a JPG remove EXIF and location data?

Whenever the photo is re-encoded, yes: the new file is built from pixels and does not copy EXIF, so GPS and camera details are gone. A file returned unchanged keeps its original data.

How many photos can I compress in one batch?

Up to 50 photos per batch, each up to 20 MB. Everything runs in your browser, and Save All puts the finished files in one ZIP.