Image CompressorOn-device processing

Preparing your tool…

How to use it

  1. 01Choose an image and review its original size and dimensions.
  2. 02Choose an output format, adjust quality where available, and optionally limit width.
  3. 03Compress, compare the two previews and actual sizes, then download the result.

Solve the actual byte limit

Compression and resizing are related but different choices. If a destination sets a pixel limit, change dimensions deliberately. If it sets a byte limit, compare format and quality at suitable dimensions. A smaller result is useful only if the image still contains the detail required by its recipient.

Inspect photographs, tiny text and transparent boundaries separately. A quality setting is an encoder control, not a percentage of retained visual quality. Conversion or recompression can increase an already optimized image’s size; keep the suitable smaller original when that happens.

Practical check: For a 1 MB JPG upload limit, resize only if needed, then lower quality gradually while checking the exported result.

Useful details and limits

JPEG, WebP and supported AVIF encoders use adjustable lossy quality. PNG is lossless; reducing dimensions or changing format may be needed to reduce size. BMP is uncompressed and is generally unsuitable for smaller downloads. The compressor never upscales an image. Some optimized originals become larger after processing; the result shows this clearly. Maximum output is 16 million pixels and 8,000 pixels per side. Metadata and animation are not preserved.

Questions about this tool

Does every image become smaller?

No. Already optimized files may become larger. The savings panel uses the original and output byte counts, and flags a larger result.

Why is there no PNG quality slider?

The browser PNG encoder does not use the lossy quality setting. Reduce dimensions or try JPEG/WebP when suitable.

Where is compression performed?

On your device, using a background worker and OffscreenCanvas where supported. A smaller compatibility fallback supports older browsers. Files are not uploaded.

Understand the workflow