Compress an image to 20 KB or 50 KB
Set the exact kilobyte target the form demands, keep the longest edge near 600 pixels for a portrait, and check the face is still recognisable before submitting. A 20 KB photo is small by design, not broken.
Open the Compress to Size tool
A 20 KB limit is not a compression challenge, it is an arithmetic one. A modern phone photo is three to six megabytes. Getting to 20 KB means discarding about 99% of the data, and the only question is which 1% to keep.
Start by resizing, not by squeezing
Most people attack size with a quality slider and end up with a 4000-pixel-wide image that looks like a watercolour. That is backwards. A photograph is defined by its pixel dimensions first and its compression second.
- A passport-style portrait at 600 × 600 pixels is plenty for any online form.
- A signature scan needs maybe 800 pixels on the long edge.
- A document photo for OCR wants more, around 1600 pixels, because text needs pixels to be legible.
Resizing to a sensible dimension first means the compressor has far less to throw away, so the result stays clean at the same byte count.
The targets you will actually meet
| Limit | Where it shows up | What to expect |
|---|---|---|
| 20 KB | Exam registrations, some visa portals | Fine for a head-and-shoulders photo at 600 px. Not enough for a signature with fine strokes. |
| 50 KB | Most job and university forms | Comfortable. A 800 × 800 portrait looks normal. |
| 100 KB | ID uploads, insurance claims | Good quality, plenty of room for detail. |
| 200 KB | Scanned documents, certificates | Treat it as the ceiling, not the target. |
Three steps to an exact size
- Resize first. Set the longest edge to roughly 600 pixels for a portrait, 1600 for text you need to read.
- Set the byte target. Enter the form's number, minus a small margin. If the cap is 20 KB, ask for 19 KB.
- Inspect the face, then the text. Zoom to 100% and confirm eyes, signature strokes and stamp edges are still distinct. If they are not, the answer is a smaller resize, not a harder squeeze.
JPEG or PNG?
JPEG is the right choice for photographs, and it is the only format that reliably reaches 20 KB. PNG is lossless, which sounds better until you notice a photograph saved as PNG is often five to ten times larger. Use PNG only for flat graphics, logos and screenshots with text, and even then check the limit first.
Two things that get uploads rejected
The first is the wrong dimensions. Many forms state a pixel size (for example 200 × 230) and a byte limit together; meeting one and missing the other still fails. The second is a renamed file. Changing photo.png to photo.jpg does not convert anything, and some validators read the header bytes and reject the mismatch.
Both problems disappear if you resize and convert in one pass, which is what the compressor does: it sets dimensions, changes format and hits the byte target in a single step.
Questions
Why does my 20 KB photo look terrible?
Because 20 KB is roughly a thumbnail's worth of data. The fix is to reduce pixel dimensions to what the form actually needs, then compress. A smaller image at the same byte budget looks far better than a large one.
Can I compress a PNG to 20 KB?
You can, but a photograph saved as PNG rarely reaches 20 KB without visible damage. Converting to JPEG first is the practical route. Keep PNG for logos and screenshots.
Does compressing remove the photo's location data?
Not necessarily. Compression rewrites pixel data but may keep metadata. If you do not want GPS coordinates in the file, strip the metadata as a separate step.
Is the image uploaded anywhere?
No. The resizing and encoding happen inside the browser tab, so the file stays on your device.
Updated 2026-11-16 · written for this site, no trackers, no account.