Home › Compress image

Compress Image to a Specific Size

Type the maximum size in KB and we find the best quality that fits. Nothing is uploaded.

🔒 Processed entirely in your browser. Your images are never uploaded to any server.

Popular target sizes

How it works

Instead of guessing a quality setting, ImgToSize runs a fast search over JPEG quality levels to find the highest one that stays under your limit. If even the lowest reasonable quality is too big, it gently reduces the pixel dimensions and tries again. The result is the sharpest possible image that still passes the upload check.

Frequently asked questions

What is the smallest size I can compress to?

Any size down to about 5 KB. Very small targets require reducing the image dimensions, which the tool does automatically.

Does it work on phones?

Yes, on any modern browser — iPhone, Android, Mac, Windows and Chromebook.