Getting an image down to 20KB feels impossible when your phone photos are 5MB — that's a 250× reduction. The good news: with the right approach the result still looks perfectly acceptable, especially for the passport-style ID photos that usually need this size. The mistake most people make is lowering JPG quality on a full-resolution image, which produces ugly blocky artefacts. The fix is to reduce *dimensions* first.
Why 20KB is hard
File size is driven by two things: the number of pixels (dimensions) and how aggressively those pixels are compressed. To reach 20KB you almost always need to reduce both. A 12-megapixel photo has 12 million pixels to store; shrink it to roughly 0.5 megapixels and you've already removed most of the weight before compression even starts.
What dimensions fit 20KB?
| Longest edge | Realistic size at good quality | Good for |
|---|---|---|
| 1200 px | ≈ 120–250 KB | Web images |
| 800 px | ≈ 40–90 KB | Most form uploads |
| 600 px | ≈ 20–45 KB | Passport / ID photos |
| 400 px | ≈ 10–20 KB | Strict 20KB limits |
The reliable method
- Crop the photo to just what you need (e.g. head and shoulders).
- Resize the longest edge to around 600 px with Reduce Image Size.
- Export as JPG and let a target-size tool fine-tune the compression to fit 20KB.
Our Compress Image to 20KB tool automates the last two steps — it intelligently downsizes and runs a quality search until your image fits under 20KB, in seconds, entirely in your browser.
Frequently asked questions
- How do I reduce an image to 20KB without losing quality?
- Crop tightly, resize the longest edge to about 600px, then compress as JPG with a target-size tool. Resizing before compressing avoids the blocky artefacts you get from lowering quality alone.
- Why does my image look blocky after compressing to 20KB?
- Because the dimensions are too large for the target, forcing the compressor to use very low quality. Reduce the pixel dimensions first, then compress.
- Is 20KB enough for a passport photo?
- Yes — passport-style head-and-shoulders photos are simple enough to look fine at 20KB, especially around 600px. For detailed images, prefer a larger limit if allowed.