99+ Free Tools
← Back to all tools

Image Compressor

Shrink JPG, PNG and WebP photos by quality or to a target size — with a before/after comparison. Nothing is uploaded or stored.

A camera and printed photos on a desk
Compression is lossy for JPG and WebP. Very small target sizes will visibly degrade quality — the preview lets you judge before downloading.

Choose images

Drop images here, or tap to choose

JPG, PNG or WebP, up to 20 MB each, up to 20 images at once.

    Choose at least one image.

    Lower quality = smaller file. PNG output ignores quality (PNG is lossless).

    Result

    Choose images and press Compress.

    How this tool works

    Before / after. Each result shows the original image next to the compressed one, so you can judge the quality before downloading.

    Local only. Images are read and re-encoded in your browser with the Canvas API. No file is uploaded, stored or shared.

    Quality mode. The image is re-encoded at the quality you choose (JPG and WebP). PNG is lossless, so quality does not change a PNG — only resizing shrinks it.

    Target-size mode. The tool searches for the highest quality that fits under your target size, and shrinks the image dimensions if even the lowest quality is too big. If the target still cannot be reached, the smallest result is shown and labelled honestly.

    Metadata. Re-encoding strips metadata by default. "Keep metadata" copies the EXIF block from a JPEG into a JPEG output; other formats are always stripped.

    Limits. JPG, PNG and WebP only, up to 20 MB per file, up to 20 images at once. A 5 MB image usually processes in under 5 seconds on a mid-range phone.