Getting a photo under 20 KB
- Drop the file in. 20 KB is already selected, so there is nothing else to configure.
- Read the dimensions in the result line, not just the percentage. If the pixel size dropped, that is the price of 20 KB rather than a fault.
- If the form only accepts JPG, convert a PNG to JPG first. Anything that is not already JPEG comes out of this tool as WebP, and many government portals refuse that extension.
20 KB is a hard number, and it is worth knowing exactly what it buys. 20 KB is 163,840 bits. A photograph that still reads as a photograph needs roughly one to two bits per pixel, so the entire budget covers somewhere in the region of 100,000 to 160,000 pixels - a frame around 400 by 300. No encoder setting keeps a twelve-megapixel photo at twelve megapixels for 20 KB. The information has to come from somewhere.
That is why the tool does two things rather than one. It first searches for the highest encoder quality that fits; if nothing fits at full resolution, it steps the dimensions down - 80%, 65%, 50%, 40%, 32% - and searches again at each step. So the number to watch in the result is the pixel size, not only the percentage saved.
Where 20 KB actually turns up: visa and passport photo portals, some civil-service and university application forms, a few job boards, and the avatar limits on older forum software. These are hard caps enforced by the receiving server, not style guidance. If the form accepts 50 KB, use 50 KB - the difference in how the photo reads is large, and nothing is awarded for submitting less than the ceiling.
If 20 KB is destroying the image
- Crop before compressing. A 20 KB budget spent entirely on a face reads far better than the same budget spread across a full frame of background. Use the resize tool to crop to the subject first.
- Start from a reasonable source. Feeding a 50 MB scan into a 20 KB target is not a problem the encoder can solve - downscale to roughly 600 px wide first, then compress.
- Check the real requirement. Forms often print 20 KB but accept more, or offer a second field for a higher-resolution copy. Submitting a 400 px photo where 600 px was allowed is a self-inflicted loss.
- Documents survive 20 KB far better than faces do. A scan of a form or a screenshot of text is mostly flat area, which costs almost nothing to encode; a photograph of a person is all high-frequency detail, which is exactly what gets discarded first.
Related tools
Compress to 50 KB
The sweet spot for ID photos and avatars - small enough for a portal, large enough to stay recognisable.
Compress to 100 KB
The safe default for web and email - small enough to send, large enough that nobody notices.
Compress to 200 KB
The target for article hero images - wide enough to fill the slot, light enough to load fast.
Compress to 500 KB
Keep the whole frame at full width - for banners, portfolio work and near-print quality.
Compress to 1 MB
Clear a 1-2 MB upload limit without visibly changing a phone photo.
WebP to JPG
Convert WebP files to JPG instantly in your browser.
GIF to PNG
Convert GIF files to PNG instantly in your browser.