Image Compressor

Reduce a photo for an attachment limit on an application or forum. Set a KB target or choose quality, then compare actual file size, pixels and appearance against the original.

JPG, PNG or WebP · up to 20 MiB and 40 megapixels per image

Test files generated in this browser. Inspect the result, then reset before choosing your own files.

Target-size mode reduces quality and, if necessary, dimensions. JPEG uses white for transparency. Animation and metadata are not retained.

Understand the input and result

Example input
photo.png · 1600 × 1200 px
Target: 500 KB · JPEG
Example result
Target: at most 500 KB
Actual size, dimensions and quality: inspect after processing

Reading the result

A 500 KB target is 500,000 bytes, distinct from 500 KiB (512,000 bytes). Encoding quality is reduced first; dimensions are reduced if the lowest quality remains too large. File size and resolution can both change, so check actual bytes and dimensions.

Common mistakes

Zoom in after compression to check small text and evidence photos. JPEG replaces transparency with white; re-encoding does not retain animation or original metadata. Very small targets may not be reached; the warning and actual size make this explicit.

This example explains settings and how to inspect output. Actual size, appearance and scanning depend on the input and browser; verify your processed file.

Image Compressor guide

How to use it

Choose a photo and target size or quality. Compress, compare original and output size, dimensions and appearance, then download.

How it works and what to keep in mind

Target-size mode reduces quality and, if necessary, dimensions. JPEG uses white for transparency. Animation and metadata are not retained.

Your files and input are processed only in this browser.

Use the header buttons to switch languages or light and dark modes instantly. Switching keeps your input, results and running state. Your language and theme choices also apply on later visits and when you navigate to another page.