Resize an image to a size in KB

Set the limit, pick a photo, and get the best-looking JPEG under it.

Choose a photo to start. The result is a JPEG.

Common limits

Other tools

Questions

Is a KB 1,000 or 1,024 bytes?

Forms differ, so this page aims under the smaller one: a 20 KB limit means at most 20,000 bytes, which also passes a limit counted as 20 × 1,024 = 20,480 bytes. The exact byte count is shown with the result.

How does it choose the size?

It first keeps every pixel and finds the highest JPEG quality that fits. If even a low quality is too big, it makes the picture smaller, keeping its shape, and tries again. With a minimum set, it can enlarge a small picture up to three times to reach it.

Does my photo get uploaded?

No. The browser does the work on your device, so it also works offline once the page has loaded.

What about location and camera details?

They are left out: the new JPEG is drawn from the pixels only. To clean a photo without recompressing it, use remove EXIF data.

Your files stay on your device: everything runs in this browser tab and nothing is uploaded.