FREE IMAGE TOOLS · NO UPLOADS

JPG Compressor

Compress JPG images in your browser, compare the result and download a batch as a ZIP.

JPGPNGWEBPNo account needed

Drop your JPG images here

One image or the whole folder’s worth.

JPG · Up to 50 MB per image · 100 images
Image processing happens on your device.
GET THE RESULT YOU NEED

How to compress a JPG image

Reduce the size of photos and other JPEG images by adjusting encoding quality. This JPG compressor keeps JPEG output and starts with resizing off, so you can try smaller files without changing the pixel dimensions.

  1. Add your JPG or JPEG files. Both filename extensions use the same image format.
  2. Start at the default quality, then lower it gradually if you need a smaller file. Keep resizing off to preserve dimensions.
  3. Click Compress images. Inspect text, edges and fine detail in Compare before downloading.

What to expect

JPEG is a lossy format: repeated editing and saving can reduce detail. Work from your original photo for each attempt. If a same-size JPEG result is larger than the source, the tool keeps the original instead.

Are JPG and JPEG different formats?

No. .jpg and .jpeg are filename extensions for the same format. This tool exports JPEG images with the .jpg extension.

Will my photo keep the same width and height?

Yes, while Resize large images is off. The quality control changes encoding, not pixel dimensions.

Why is my compressed JPG barely smaller?

It may already use similar or lower encoding quality. Try a lower quality or, if the destination allows it, fewer pixels. Check the visual result each time.

Does compression keep photo dates and metadata?

Preserve supported metadata is selected by default: EXIF dates, camera details and GPS are carried over, with orientation and dimensions updated. PNG text/dates and JPG comments stay when keeping their format. XMP, IPTC and original colour profiles are not transferred; embedded preview links are cleared during re-encoding. Choose Remove metadata to omit source metadata; this disables the original-file fallback. Downloaded filesystem dates may change.

HOW IT WORKS

How JPG compression works

See how this format stores your image, what the quality controls change and why the smallest result may be your original.

What does encoding mean?

Decoding turns the bytes in an image file into pixels that a browser can display. Encoding turns pixels back into a file, using the rules of JPG, PNG or WebP. It is not encryption. Our compression and conversion tools decode locally, draw the image onto a canvas and call the browser’s canvas.toBlob encoder. The browser supplies the codec, so results can vary between browsers.

How JPG compression works

JPEG commonly splits image information into small blocks, uses a discrete cosine transform to describe patterns within them, then rounds transform coefficients in a step called quantization. Coarser rounding saves space but discards detail. The remaining values are efficiently coded into bytes. Our quality control is passed to the browser encoder; it is not a percentage of original detail retained or a guaranteed percentage reduction. Repeated JPG re-encoding can introduce additional artefacts.

Why the original may be kept

After encoding, the tool compares byte sizes. With Preserve supported metadata selected, when format, dimensions and geometry are unchanged and the new file is not smaller, it keeps the original bytes. This avoids a larger replacement. A retained original also retains its metadata: use the Metadata Remover when privacy cleaning is the goal. ZIP download bundles the files without another lossy image-encoding step.

Where processing happens

Your selected image is processed on your device, without an image upload. Canvas exports are new files and may change embedded metadata or colour information. Keep a master copy for archival work. Animated PNG and animated WebP are rejected; these tools handle static images.

How target-size compression works

Choose 100 KB, 200 KB, 500 KB or a custom decimal-KB limit. For JPG/WebP, the tool tries quality values from your selected maximum down to 10% and refines a successful bracket with a bounded binary search. When you explicitly allow smaller dimensions, it can also try up to eight downsizing steps. PNG ignores quality. Exact resizer dimensions are preserved. Only a measured output within the byte limit is marked Target met; otherwise the smallest tested candidate is marked Above target. This is a bounded search, not proof of a globally optimal result.

Metadata choice

Preserve supported metadata is the default: EXIF dates, camera and GPS fields are copied, with orientation reset after decoding and dimensions updated. PNG text/dates and JPG comments stay within their format. XMP, IPTC and original colour profiles are not transferred; embedded preview links are cleared. Retained metadata is included in target-size measurements. Remove metadata omits source metadata and disables the original-file fallback. Filesystem download dates are separate.

Explore the details: Browser encodingImage formats — MDN

ONE TAB. MANY POSSIBILITIES.

A little tool for every image.

Find the right format. Make room. Keep creating.

THE IMAGE GUIDEBOOK

Get more from this tool.

Step-by-step help for the images you are working with.

All guides
01

Drop. Set. Done.

Add your images, choose your settings and process. Download individually or grab the whole batch as a ZIP.

02

See every detail.

Compare the original and the result before downloading. You choose the balance between quality and size.

03

Your files stay yours.

Everything happens on your device. No image uploads, no account and no image storage on our servers.

GOOD TO KNOW

A few small details.

Better images start with the right settings.

Which format should I choose?

WebP is a useful starting point for website photos and transparent graphics. JPG suits photos when you need a JPEG file; transparent areas become white. PNG uses lossless encoding and keeps transparency, but often creates larger files.

Will compression change image quality?

JPG and WebP use lossy compression: lower quality usually means smaller files and more visible changes. Use Compare to inspect your result. PNG encoding is lossless, but resizing still changes pixels. PNG conversion can increase file size. This tool uses your browser’s image encoders, so results can differ between browsers.

Why is my image already small?

If the output uses the same format and dimensions but is larger than the original, we keep your original file. Changing formats or dimensions can still create a larger result; the actual size is always shown. The quality slider doesn’t affect PNG encoding.

Are there file limits?

Add up to 100 static images, 50 MB per image and 200 MB of original files per batch. Each image must be within 40 megapixels and 16,384 pixels on either side. Animated PNG and WebP are rejected to protect their animation. GIF, SVG, HEIC and AVIF aren’t supported in this version. Large batches depend on your device’s memory.

Are my images uploaded or saved?

This tool processes selected images locally in this browser tab and doesn’t send image files to a server. Your site’s hosting, analytics or other plugins may separately collect normal website visit data. Download results you want to keep before clearing the list or leaving. Re-encoding generally removes file metadata; an original file kept because it was smaller retains its existing metadata. This isn’t a metadata sanitization tool.

Original imageProcessed image
↔
ORIGINALRESULT
Same display size; download to inspect full resolution.