Compress images online

Re-encode an image at a lower quality or smaller dimensions, see the size before you commit, and download a clean copy with metadata stripped.

Images are processed in this tab only.

Shrink an image

The image is decoded and re-encoded locally with the Canvas API.

Drop images here or choose images from your device JPG, PNG, WebP, GIF and BMP · everything stays in your browser
Step by step

How to use Image Compressor

1

Add an image

Drop a JPG, PNG or WebP file. Its dimensions and original size appear immediately.

2

Set a maximum width

Leave it at 100% to keep the resolution, or choose a smaller width for web use. Height follows automatically.

3

Choose format and quality

JPEG or WebP for photos, PNG for graphics. Lower quality means a smaller file, with a visible preview.

4

Compare and download

Review the estimated size and the savings percentage, then download the compressed image.

Benefits

Why use this tool

See the trade-off

The preview uses the actual encoded result, not a CSS filter, so you judge the real quality.

Metadata removed

Canvas re-encoding strips EXIF data such as GPS location and camera details, which is useful when sharing images publicly.

No upload

The file is decoded and re-encoded in the tab; it never leaves your device.

Overview

About Image Compressor

Image Compressor decodes your image with the browser, optionally scales it down, and re-encodes it with the quality you choose. The preview and file-size estimate update as you move the sliders, so you can find the smallest version that still looks right.

Re-encoding is lossy for JPEG and WebP. PNG output remains lossless but often gets larger when photo-like content is involved, which is why JPEG or WebP is usually the better choice for photographs.

Use cases

Common use cases

  • Preparing photos for a faster-loading website
  • Reducing email attachments below a size limit
  • Shrinking product images for an online store
  • Removing location metadata before sharing a photo
Be informed

Limitations to know

A good tool should tell you where it stops. These are the constraints of this implementation, not hidden fine print.

  • JPEG and WebP compression is lossy and repeated re-encoding degrades quality.
  • Animated GIFs and SVG files are not handled by this tool.
  • Very large images may hit canvas size limits on some mobile browsers.
Questions

Frequently asked questions

Short answers to the questions that come up most often about this tool.

Which format should I choose?
Use JPEG or WebP for photographs; they produce much smaller files. Use PNG for logos, screenshots and flat graphics where crisp edges matter. WebP usually gives the best size at a given visual quality in modern browsers.
Does compression remove EXIF data?
Yes. Drawing the image onto a canvas and re-encoding drops most metadata, including GPS coordinates. That is often desirable, but keep the original if you need camera settings.
Why is my PNG larger after compression?
Photo-like PNGs are inefficient. Choosing PNG output re-encodes the image as PNG, which can grow. Switch the output format to JPEG or WebP for photographic content.
Can I compress several images at once?
This version handles one image at a time so the preview and size comparison stay accurate. For batches, process each image with the same settings.
Is the image uploaded anywhere?
No. All decoding and encoding uses the Canvas API in your browser. The file stays on your device.
Keep going

Related tools

All tools