Skip to main content

Image Compressor

Compress JPEG, PNG, and WebP images locally in your browser

Drop files here

PNG, JPEG, WebP, GIF, BMP, AVIF, or SVG · up to 50 MB each · up to 50 files

You can also paste from the clipboard.

Compression settings
75%

Lower quality gives smaller files. Applies to JPEG, WebP, and AVIF.

Results

No images yet
Add images, choose settings, then press Compress.

How to use

  1. 1.Drop, browse, or paste up to 50 images.
  2. 2.Choose Quality mode or Target size mode, and an output format.
  3. 3.Optionally resize before compressing to a maximum width or height.
  4. 4.Press Compress, compare before and after with the slider, and check the per-file savings.
  5. 5.Download single files or everything as a ZIP.

What this tool does

Image Compressor reduces the file size of PNG, JPEG, WebP, GIF, BMP, AVIF, and SVG images in your browser. Images are decoded, optionally resized, and re-encoded locally, so files are never uploaded to a server.

Quality, target size, and formats

Quality mode encodes every image at one quality level. Target size mode searches for the highest quality that fits the size you enter; it is a best effort, not an exact byte count, and each file shows a warning when it stays above the target. Keep original leaves JPEG and WebP in their format and keeps PNG lossless, where quality has little effect, so switch to WebP or JPEG for large savings. GIF, BMP, and SVG are saved as PNG with Keep original.

Limits and notes

Resizing before compression keeps the aspect ratio and never upscales. When a compressed file ends up larger than the original, the tool can download the original instead. JPEG has no transparency, so transparent areas become white. Animated GIFs keep only the first frame, and metadata such as EXIF is removed by re-encoding. Files are limited to 50 MB each.

Frequently asked questions
Are my images uploaded to a server?
No. Images are decoded, resized, and re-encoded in your browser with canvas APIs. No file content or filename is sent over the network.
Does target size mode hit the exact number of kilobytes?
No. It searches for the highest JPEG, WebP, or AVIF quality that fits the target. If even the lowest quality is too large, the smallest result is kept and the file shows a warning, so try resizing first or switching formats.
Why did my PNG barely get smaller?
PNG is lossless, so the quality setting has little effect. Choose WebP or JPEG output for much smaller files, or resize the image to fewer pixels.
What happens when the compressed file is larger than the original?
The result is flagged, and with the default setting the original file is downloaded and counted in the savings summary instead of the larger output.

CodingTool is officially live on