Skip to content
Mookat
Image & Privacy

Image Compressor

Compress an image toward a target file size with WebP or JPEG output and an optional maximum width.

Images are decoded and re-encoded locally on a canvas. Nothing is uploaded.

Image and target

PNG, JPG, or WebP. The image stays in this tab.

Result

Choose an image and compress it to see the result.

Original
—
Compressed
—
Saved
—
Quality
—

Quality is reduced until the file fits the target. If the target is impossible at the lowest quality, the smallest result found is offered.

How target compression works

The image is redrawn at its chosen size, then encoded several times with different quality values. The closest result at or below the target is kept. WebP usually beats JPEG at the same quality; JPEG remains the most compatible.