Skip to content

Image Compressor

Compress images client-side with an adjustable quality slider. Compare before and after file sizes instantly.

Image Compressor tool

Loading...

Example

Input: A 3000 x 2000 JPG photo of 5.64 MB, Output Format JPEG, Quality 0.8 (default)

Result: Same 3000 x 2000 px, 2.36 MB in our test (58.1% saved). Savings vary from photo to photo

The image is redrawn on a canvas and re-encoded at the chosen quality. If the result is not smaller than the original, the tool says so.

  1. Upload an image by dropping it onto the upload area or clicking to browse.
  2. Adjust the quality slider to control the compression level from 10% to 100%.
  3. Select the output format (JPEG, WebP, or PNG) and click Reprocess to apply your settings.
  4. Compare the original and compressed file sizes shown in the results panel.
  5. Download the compressed image with the download button.

How Image Compression Shrinks Your Files

The Image Compressor makes image files smaller by saving them again at a lower quality. Choose JPEG, WebP or PNG, set the quality, and compare the original and new file sizes before you download.

JPEG and WebP use lossy compression. They throw away fine detail the eye barely notices, and the quality slider decides how much. The default is 80%. For most photos, somewhere between 70% and 85% looks almost the same as the original at a fraction of the size. Go lower and you start to see blocky edges and smudged detail, especially around text and sharp lines. Check the preview, change the quality, and click Reprocess to try again.

PNG is lossless, so the quality slider does not apply to it. Converting a photo to PNG usually makes it bigger. PNG suits screenshots, logos and graphics with flat colors, where JPEG blurs the edges. If the result is not smaller than your original, the tool says so. In that case, keep the original or try another format.

The pixel dimensions stay the same. If a photo is 4,000 pixels wide and only needs to be 1,200 on a web page, resize it first with the Image Resizer. That saves far more than quality alone. JPEG output has no transparency, so transparent areas turn white. Animated GIFs keep only their first frame. Metadata such as GPS location is dropped. Images up to 20 MB are compressed in your browser and never uploaded.

To switch formats with more options, including BMP and AVIF, use the Image Format Converter.

Sources

Frequently Asked Questions

Start at the default 80% for JPEG or WebP. Most photos look almost unchanged at 70% to 85% while shrinking a lot. Drop to 60% for thumbnails or previews. Go higher for photos that will be printed or edited again. Compare the preview and the savings figure, then click Reprocess to try another value.
The original was probably already well compressed, or you chose PNG for a photo. PNG is lossless and often larger than JPEG for photos. Re-saving a small, optimized JPEG at high quality can also add bytes. The tool shows a note when the result is not smaller, so keep the original in that case.
WebP usually gives a smaller file than JPEG at similar visual quality and also supports transparency. It works in all current major browsers. JPEG is still the safest choice for email attachments, older software and print services. If your browser cannot create WebP, the tool saves PNG and tells you.
No. The width and height stay exactly the same, and only the encoding changes. To make a large photo much smaller, reduce its dimensions with the Image Resizer first, then compress it. A 4,000 pixel photo resized to 1,200 pixels wide has about one eleventh of the pixels.

Related Tools

Image Resizer

Resize images to exact pixel dimensions with an optional aspect ratio lock, entirely in your browser.

Image and Media

Image Format Converter

Convert images between JPG, PNG, WebP, and BMP formats entirely in your browser using the Canvas API.

Image and Media

Images to PDF

Combine multiple JPG, PNG, or WebP images into a single PDF document. Reorder and adjust page size.

PDF Tools

PDF Compress

Reduce PDF file size by stripping metadata and optimizing structure. Smaller files, same content.

PDF Tools

SVG to PNG Converter

Convert SVG vector files to PNG raster images at any resolution directly in your browser using canvas.

Image and Media

Image EXIF Viewer

Read and display EXIF metadata from photos - camera model, GPS coordinates, date, aperture, ISO, and more.

Image and Media