Tools/Image Tools/Image Compressor

Image Compressor Free - Reduce Size Without Noticeable Quality Loss

Compress a JPG, PNG or WebP image and keep its format, using a quality slider or a target file size for JPG and WebP. PNG is optimized losslessly.

If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.

About this tool

Large images slow down websites and get rejected by upload forms and email attachment limits. This tool re-encodes JPG and WebP images at a quality you choose (30-95%, default 72%) and shows the original and new sizes, the percentage saved, and a before/after preview before you download.

In a test with a generated 1000x700 photo-style JPG, the default 72% setting took the file from 422.5 KB to 203.9 KB (51.7% smaller), and 30% brought it to about 80 KB; results depend heavily on the image and on how compressed it already is. Everything runs in your browser, and the same compression engine powers the Bulk Image Compressor.

This tool compresses a single image in your browser and keeps its format: a JPG stays a JPG, a WebP stays a WebP, and a PNG stays a PNG. JPG and WebP use an adjustable quality slider or, if you prefer, a target file size such as 200 KB; a PNG is optimized losslessly, so its pixels never change and there is no slider or size target for it. If compressing would not make the file smaller, the tool tells you and keeps your original instead of giving you a bigger file.

How to Use Image Compressor

Upload Image

Upload JPG, PNG, or WebP image you want to compress.

Adjust Quality

Choose compression level to balance size and quality.

Compress Image

Image is optimized and compressed instantly in your browser.

Preview Result

Compare original and compressed image quality.

Download Image

Download the compressed image file.

Common Workflows

Shrink a Photo for Email or Upload

Compress a JPG or WebP photo before attaching it to an email or uploading it to a form with a size limit.

Optimize a PNG Without Quality Loss

A PNG is recompressed losslessly - the saving is usually modest, but nothing about the picture changes.

Compare Before Downloading

Use the Original/Compressed preview and the size panel to confirm the quality looks right before committing to the download.

Resize First for Bigger Savings

Use the Image Resizer first if the image's pixel dimensions are larger than you actually need.

Need an Upload Size Limit? Pick a Target Size

For a JPG or WebP, switch to Target file size and choose 20, 50, 100, 200 or 500 KB. The tool finds the highest quality that fits and shows what it used.

Many Files? Use the Bulk Tool

This page compresses one image at a time - use the Bulk Image Compressor for a batch.

Best For

  • JPG and WebP compress at an adjustable 30-95% quality and keep their own format - a WebP is no longer turned into a JPEG. Transparent WebP and PNG images keep their transparency.
  • PNG files are recompressed losslessly (the pixels are identical, only the file structure is packed better), so a PNG gets smaller when it can and the quality slider is not offered for it.
  • The result panel shows the exact original and output sizes, the saving, the format and the quality used, and never reports a negative saving: if compression would make the file larger, the original is kept and the download button says so. Instead of choosing a quality you can pick a target size (20, 50, 100, 200 or 500 KB) for JPG and WebP; the tool lowers only the quality, tells you which quality it used, and shows the closest result if the target can't be reached.

Examples

Compress a photo-style JPG at the default quality setting

Source File

photo.jpg - 1000x700, 422.5 KB (a generated test image)

Result

photo-compressed.jpg - 203.9 KB (51.7% smaller) at the default 72% quality

Measured directly in the tool. Savings vary a lot by image content and how compressed the source already is - an already-compressed JPEG will show a much smaller reduction than this fairly detailed test image, and a file that can't be made smaller is simply kept.

Use Cases

Shrinking a photo for an email attachment or upload form

Compress a JPG or WebP photo before attaching or uploading it somewhere with a file-size limit.

Checking quality before publishing

Use the before/after preview to confirm the compressed version still looks acceptable before downloading and using it.

Optimizing a PNG without touching its pixels

Upload a PNG to have it repacked losslessly. If you need it much smaller and can accept a lossy format, convert it with PNG to JPG or PNG to WebP first.

Common Mistakes

Problem

Expecting a big saving from a PNG

Solution

A PNG is compressed losslessly, so the saving depends on how wastefully the file was written. Screenshots exported by some programs shrink noticeably; many files shrink only a few percent, and some are already as small as they can get - in that case the original is kept. For a much smaller picture, convert it to JPG or WebP.

Problem

Looking for a quality slider on a PNG

Solution

The slider only appears for JPG, WebP and other lossy formats. PNG is lossless, so the tool explains that instead of showing a control that would do nothing.

Problem

Compressing an already heavily-compressed JPEG expecting big savings

Solution

Re-compressing a JPEG that's already been through lossy compression yields much smaller gains than compressing a fresh, high-quality source - there's less redundant data left to remove. Pushing the slider too high can even make the file bigger, in which case the original is kept.

Problem

Downloading without checking the size panel

Solution

The original size, new size and percentage saved appear before you download, together with the before/after preview - check them to confirm the result looks right at your chosen quality setting.

Tips & Best Practices

Convert a PNG photo to JPG or WebP if it needs to be much smaller

PNG optimization is lossless and therefore limited. For photographs, switching format with PNG to JPG or PNG to WebP shrinks the file far more, at the cost of some detail.

Resize dimensions first if the photo is larger than needed

Pixel dimensions affect file size more than quality does in many cases - use the Image Resizer first if the image is much bigger than its intended use.

Use a higher quality setting for print or archival copies

The default 72% is a reasonable web setting. Raise it toward 90-95% when preserving detail matters more than file size.

Pick a WebP when you want transparency and a small file

WebP keeps transparent areas and usually compresses smaller than PNG, so it is a good target for logos and cut-outs you intend to put on a web page.

Limitations

PNG is optimized losslessly, not compressed to a quality level

There is no quality slider for PNG, and the saving can be small. If the optimized file is not smaller than your original, the original is kept.

Animated images and unsupported formats are kept as they are

Animated WebP and animated PNG files are not recompressed, because that would remove the animation. AVIF files are only re-encoded in browsers that can create AVIF; otherwise the original is kept. HEIC photos are converted to JPG. GIF, BMP and SVG are not supported.

Metadata is removed from re-encoded files

EXIF data, including GPS location and camera details, is not carried over when a JPG or WebP is re-encoded or a PNG is optimized. When the original is kept, you download it unchanged, metadata included.

One file at a time; size targets are approximate and only for JPG and WebP

This page compresses a single image. A target size is a goal, not a guarantee: only the quality is lowered (never the image dimensions), so a very small target may not be reachable, and the tool then shows the closest result. PNG and AVIF can't be size-targeted. There are fixed target sizes (20, 50, 100, 200, 500 KB), not an arbitrary number. For batches, use the Bulk Image Compressor.

Comparisons

Image Compressor vs Bulk Image Compressor

Both use the same compression engine, but for different batch sizes.

Image Compressor (this tool)Bulk Image Compressor
Files per runOne image, with a live before/after previewMultiple images at once, downloaded as a ZIP
Best forFine-tuning and checking a single image before download, with a quality or target-size choiceProcessing a whole batch with one shared setting

Which should you use?

Use this tool when you want to see the before/after comparison and fine-tune one image. Use the Bulk Image Compressor when you have many files to process at once.

FAQs

The most common questions are about PNG files and about what happens when compression doesn't help. The FAQ below covers both, along with transparency, metadata and file limits.

Does the quality slider affect PNG files?

No, and the tool doesn't show a slider for PNG. A PNG is optimized losslessly: the pixels stay exactly the same and only the way the file is packed changes, so the saving depends on how efficiently the original was written. If the optimized file is not smaller, your original is kept.

Does my WebP image stay a WebP after compressing?

Yes. JPG stays JPG, WebP stays WebP and PNG stays PNG, and the downloaded file's name and type match its real format. Transparent WebP and PNG images keep their transparency. HEIC photos are the exception - they are saved as JPG.

What does 'Original kept' mean?

It means compressing would not have made the file smaller (for example an already-optimized image, or a very high quality setting), so the tool gives you your original file unchanged instead of a larger one. Animated WebP and PNG files are also kept as they are, because recompressing them would remove the animation.

Will I see a visible quality difference?

At the default 72% setting, most photos show no obvious quality loss. Lower settings trade more visible quality for a smaller file, and re-compressing an already-compressed JPEG shows smaller savings than compressing a fresh, high-quality source.

Can I compress an image to a file size, like 200KB?

Yes, for JPG and WebP: switch to Target file size and choose 20, 50, 100, 200 or 500 KB. The tool lowers only the quality - never the image's dimensions - to find the highest quality that fits, and the result shows the quality it used. It is a target, not a guarantee: if even the lowest quality is still too big, you get the closest result, clearly marked as not reached. PNG can't be size-targeted because it is compressed losslessly.

Which image formats can I compress here?

JPG, PNG, WebP, AVIF and HEIC. JPG, PNG and WebP keep their own format. AVIF is only re-encoded in browsers that can create AVIF files, otherwise your original is kept. HEIC photos are converted to JPG. GIF, BMP and SVG are not supported.

Does compression remove my photo's location data (EXIF)?

Yes, when the image is re-encoded or a PNG is optimized, metadata such as GPS location or camera details is not carried over. If the tool keeps your original because compressing wouldn't help, that original is downloaded unchanged, metadata included.

Can I compress multiple images at once?

No, this page handles one image at a time. Use the Bulk Image Compressor on CoditTools to compress multiple images in a single batch and download them as a ZIP.

Get more tools like this

Leave your email so we can prioritize similar tools and updates.