Why is 20KB so hard to hit?
Twenty kilobytes is roughly a hundredth of what a modern phone camera produces. At that size JPEG has to discard so much that the algorithm starts grouping pixels into visible 8×8 blocks, particularly around hair, fabric texture and any gradient background.
The way through is dimensions, not quality. A 300×400 photo at 70% quality looks far better at 20KB than a 1500×2000 photo crushed to 15% quality, because the first one is not being asked to describe as much.
Plain backgrounds compress dramatically better than busy ones. A passport-style headshot against a white wall reaches 20KB with detail to spare; the same face in front of a bookshelf will not.
Which forms still ask for 20KB?
Mostly older government portals — voter ID uploads, some state department forms, and legacy applications built when connections were slower. Newer portals have largely moved to 50KB or 100KB.
If your form offers a range over a hard ceiling, aim for the upper end. A file at 19KB and a file at 20KB both pass, and the larger one is visibly better.
Keep the original. Compression is one-way — at 20KB the discarded detail is genuinely gone, so never overwrite the photo you might need for a printed application later.
How do you tell a photo has been pushed too far?
Look at the edges first, not the middle. JPEG describes an image in eight-by-eight pixel blocks, and when it runs out of room it stops describing the difference between neighbouring blocks. The result shows up as faint square seams along any boundary where a light area meets a dark one — the line of a jaw against a wall, the edge of a sleeve, the parting in someone’s hair.
The second place to look is anywhere the image should be smooth. A plain wall behind a subject should be one continuous tone; at 20KB it often becomes a series of slightly different patches, sometimes called banding. Once you have noticed it on one photo you will see it on every over-compressed image afterwards.
Zoom to the size the form will actually display, not to full screen. A photo destined for a 200-pixel-wide box on a government portal can carry damage that looks alarming at full magnification and is completely invisible where it matters. Judging at the wrong zoom level is how sellers end up fighting for quality nobody will ever see.
If the artefacts are visible at the display size, the answer is almost never more compression settings. It is fewer pixels going in.
What if 20KB simply cannot be reached?
Some photographs will not get there while remaining recognisable, and it is worth knowing which ones before you spend an evening on it. Anything with fine repeating detail is the hard case: a patterned fabric, a crowd, foliage behind a subject, or a document with small text. The encoder has to spend its entire budget describing detail that repeats, and it runs out.
The fix is compositional rather than technical. Crop tighter so the subject fills more of the frame and the busy background is simply not in the file. A tightly cropped face against a wall carries a fraction of the information of the same face standing in a room, and the difference at 20KB is the difference between passing and failing.
If the source is a scan rather than a photograph, check whether the portal will accept it in a different format. Line art, signatures and typed documents compress far better as PNG at small sizes than as JPEG, because PNG describes flat areas of identical colour almost for free while JPEG treats them as something to approximate.
And check the instruction again before assuming the number. A surprising share of forms that appear to demand 20KB are quoting a recommendation, with the actual rejection threshold set higher in the upload validation.
Related free seller tools
Frequently Asked Questions
How do I compress a photo to 20KB without it looking terrible?
Reduce the pixel dimensions first, then compress. A 300x400 image at reasonable quality beats a full-resolution photo crushed to fit, because 20KB simply cannot describe two million pixels. Plain backgrounds also compress far better than busy ones.
Why does my 20KB photo look blocky?
That is JPEG blocking. Below roughly 30KB the algorithm starts grouping pixels into visible 8x8 squares, most noticeably in hair, fabric texture and gradient backgrounds. Shrinking the dimensions first is the only real fix.
Which portals require 20KB?
Mostly older government systems — voter ID uploads and some state department forms built when connections were slower. Most newer Indian portals have moved to 50KB or 100KB limits.
Is 20KB enough for a passport photo?
For a plain-background headshot, usually yes. Faces against white walls compress efficiently because there is little fine detail to preserve. The same photo taken in a busy room will struggle.
Can I get the quality back afterwards?
No. JPEG compression is one-way — the discarded detail is gone, not hidden. Always compress a copy and keep the full-size original for anything you might print or re-crop.
Why does the background look patchy after compressing to 20KB?
That is banding. A smooth wall should be one continuous tone, but at 20KB the encoder has no room to describe the small differences between neighbouring areas, so it renders them as flat patches. Cropping tighter so there is less background in the frame is the most reliable fix.
Should I use PNG instead of JPEG at 20KB?
For signatures, typed documents and line art, yes — PNG describes flat areas of identical colour very cheaply, where JPEG treats them as something to approximate. For photographs, JPEG is still the right choice at this size.
Free, no watermark, no signup. Need the pixel dimensions changed instead? Use the photo resizer.