Squish

Compress images to any file size

Set a target in KB and we'll compress your image to exactly that. Free, private, auto-downloaded instantly.

Auto-downloadNo watermarksNo registrationBatch compress

Click to upload or drag & drop

PNG, JPEG, WebP, GIF, BMP, TIFF · Max 50 MB

Upload images above to get started.

How to compress an image to a specific file size

  1. 1

    Upload your image

    Drag and drop or click to select PNG, JPEG, WebP, GIF, BMP, or TIFF files. Max 50 MB each.

  2. 2

    Set a target size

    Type a KB value or pick a preset like 50 KB, 100 KB, or 500 KB.

  3. 3

    Click Compress

    Our algorithm finds the ideal quality to hit your target precisely.

  4. 4

    Auto-downloaded

    Your compressed file downloads automatically. No waiting, no separate download step.

Frequently asked questions

How does Squish compress images to an exact file size?

Squish uses a binary search algorithm over JPEG/WebP quality settings (or PNG compression levels) to find the exact setting that produces a file at or just below your target size. If the image is too large even at minimum quality, it progressively resizes the dimensions.

Are my images private and secure?

Yes. Images are uploaded over HTTPS, compressed entirely in server memory, and returned directly to your browser. We never write your file to disk or store it anywhere.

Why does the file download automatically?

As soon as compression finishes, your file is sent directly from the server to your browser and auto-downloaded. This is faster and more private than storing a file and making you click a separate link.

What image formats are supported?

PNG, JPEG, WebP, GIF, BMP, and TIFF as input. Output can be JPEG, PNG, or WebP.

Is there a file size limit?

Each file must be under 50 MB. No limit on how many images you compress in a session.

Does compressing reduce image quality?

Compression always involves some trade-off. Squish finds the highest quality that fits the target. A warning is shown when significant quality loss is expected.