Compress JPEG Files Online

Shrink JPEG and JPG files with our free online JPEG compressor. Perfect for photographs, realistic images, and web content. Adjustable quality settings for optimal compression.

Perfect for Photos
Quality Control
Maximum Compression
Batch Processing
Also compress: PNG • WebP • AVIF • All Formats

Upload JPEG Files

Drag and drop your JPEG images below. Supports .jpg and .jpeg extensions, up to 5 files at once.

Drop Your Images Here
Supports PNG, JPEG, WebP, AVIF • Up to 5 files at once
or

Why Use Our JPEG Compressor?

Perfect for Photographs

JPEG compression is specifically designed for photographic content. Achieves excellent compression ratios while maintaining visual quality that's perfect for web use.

Adjustable Quality

Fine-tune compression with quality settings from 1-100. Our default setting of 80 provides the perfect balance between file size and visual quality.

Maximum Compression

For photographs, JPEG files are usually much smaller than the same image saved as PNG. That helps reduce bandwidth use and improve page load times.

Web Optimized

Optimized for web delivery with smart chroma subsampling and metadata removal. Your images will load faster while maintaining excellent visual quality.

When to Use JPEG vs PNG

Use JPEG for:
  • Photographs and realistic images
  • Images with gradients and shadows
  • Social media content
  • Product photography
  • When maximum compression is needed
Use PNG for:
  • Images with transparency
  • Logos and graphics
  • Screenshots with text
  • Line art and illustrations
  • When perfect quality is required

Lossless or lossy for JPEG

A JPEG has already been through lossy compression when it was first saved. Lossless mode aims to keep the image quality unchanged, so the saving is usually small. It suits files you plan to edit and save again, or images where you cannot accept any further visible change.

Lossy mode re-encodes the image at a lower quality, with a default of 85. Lower values give smaller files and more visible artefacts, such as blocky areas and fuzzy edges around text. Saving a JPEG repeatedly in lossy mode adds more damage each time, so work from the original file whenever you can.

Background reading: how JPEG compression works, compressing JPEG without losing quality, and lossy vs lossless compression.

How to compress a JPEG with this tool

  1. Drop up to 5 JPEG files onto the upload area, or click it to choose them. PNG, WebP and AVIF files are also accepted.
  2. Wait for the upload to finish. Files are sent to our servers over HTTPS and deleted automatically after processing.
  3. Choose Lossless, Lossy or Custom under Compression Settings.
  4. Press the compress button. No registration is needed.
  5. Read the results table, which shows the original and compressed size, and open the compare view to inspect the before and after images at full size.
  6. Download files one at a time or all together as a ZIP.

Recommended settings for common uses

A quality value between 75 and 85 is a common starting point for photographs. Move up or down from there after looking at the result.

  • Websites: start in the 75 to 85 range and check large hero images closely. Resizing to the dimensions the page actually shows usually matters as much as quality. The JPEG optimization guide covers this in more detail.
  • Email: attachment limits are the usual constraint, so resize the photo to fit a normal screen, in an image editor before uploading, rather than sending the full camera resolution.
  • Social media: platforms re-compress uploads, so avoid squeezing the file hard first. Moderate quality at a sensible size tends to give a cleaner final result than a heavily compressed upload.
  • Print: keep the highest quality you have and do not shrink the dimensions, since print needs more pixels than a screen.

Custom settings

Custom mode shows fields for quality, target size in KB, max width and max height. Max width and max height are meant to cap the pixel dimensions of the output, and the target size is meant to steer the final file size. Leave a field empty to leave that setting alone.

Custom settings are not applied reliably at the moment. In our own checks, entering a target size, a quality value or a maximum width did not change the result the way these fields describe. Treat the fields as a request, and compare the original and compressed sizes in the results table before you use the file.

Common problems and fixes

The file barely got smaller

The JPEG was probably already saved at a fairly low quality, so there is little left to remove. Resize the photo in an image editor before uploading, or start again from the original.

Blocky areas or halos around text

These artefacts appear when the quality value is too low. Raise it and compare again. JPEG is a poor fit for screenshots and text, which usually look cleaner as PNG.

Banding in skies and gradients

Smooth areas show steps when quality is pushed down. A higher quality value helps, as does starting from the original instead of an already compressed copy.

Colours look different

Colour handling can vary between viewers if an embedded colour profile is removed or ignored. Compare the result in the compare view and in the program where you will use it.

Transparency is missing

JPEG does not support transparency. If you need it, use PNG, WebP or AVIF.

Frequently asked questions

Is there a difference between JPEG and JPG?
No. They are the same format. The shorter extension exists because older systems limited extensions to three letters.
What quality setting should I use for JPEG?
A common starting range for photos is 75 to 85. Lower values give smaller files with more visible artefacts, so compare the result against the original.
Can I set a target file size for a JPEG?
The custom mode has a target size field, but it is not applied reliably at the moment. Check the size shown in the results, because the final file may not match the number you enter.
Are my JPEG files uploaded?
Yes. Files are uploaded to our servers over HTTPS, compressed, and deleted automatically afterwards.