How to Compress an Image to 20KB

Learn how to compress any image to exactly 20KB for portals and forms — what fits in 20KB, JPEG vs WebP, and a free one-click tool.

20KB is the magic number of the internet's upload forms. Job portals, exam applications, scholarship sites and government services across the world ask for photos "not exceeding 20KB" — and a phone photo straight from the camera is usually 2–5MB, over a hundred times too big. This guide explains what actually fits in 20KB, which format to pick, and how to hit the target in one click.

What actually fits in 20KB

Be honest with yourself about expectations: 20KB is tiny. A 20KB JPEG photo typically holds an image around 500–700 pixels wide at moderate quality — perfectly crisp as a thumbnail, avatar, ID preview or portal upload, because it is displayed small. Stretch the same file full-screen and it will look soft. That is not a flaw in the tool; it is arithmetic.

Screenshots and graphics with flat colors are the exception — a PNG of a simple UI screen can stay sharp at 20KB because flat areas compress extremely well. Photos of faces and scenery are the hardest case.

Compress to 20KB in 4 steps

1

Open the tool

Go to our compress image to 20KB tool — no sign-up, everything runs in your browser.

2

Drop your photo

Drag & drop or tap to pick the image from your phone or computer.

3

Hit compress

The target is already set to 20KB. The tool searches for the highest quality that fits.

4

Download

Check the preview, then download. Your file is now at or under 20KB.

JPEG or WebP at 20KB?

WebP usually looks cleaner at tiny sizes — at the same file size it keeps edges and faces noticeably sharper than JPEG. But there is a catch: many portals explicitly require JPG/JPEG and will reject a WebP file even if the size is right. Rule of thumb: check the portal's accepted formats first. If it says JPG, use JPEG; if it accepts anything, use WebP.

When it won't go below 20KB

Lowering quality alone sometimes isn't enough for a detailed photo. Our tool then shrinks the image dimensions in small steps until it fits, and tells you when it does. You can help it: crop tightly around the face first for ID photos — fewer background pixels means more quality for the face at the same 20KB.

Frequently asked questions

Will a 20KB image look blurry?

At the sizes 20KB images are meant for — thumbnails, avatars, portal previews — no, it looks crisp. It will look soft only if you enlarge it far beyond its pixel dimensions.

Why is my PNG screenshot bigger than my photo at the same size?

It shouldn't be after compression — but before compression, PNGs of photos are often larger than JPEGs because PNG is lossless. Convert to JPEG or WebP first, then compress.

Can I compress to 20KB on my phone?

Yes. The tool runs entirely in your mobile browser — pick the photo from your gallery, compress, and download. Nothing is uploaded anywhere.

What dimensions should I use for a 20KB photo?

For ID-style uploads, 400–600 pixels on the longer side is a good starting point. The tool adjusts dimensions automatically if quality reduction alone can't reach 20KB.

Is it safe to compress ID photos online?

With EzySize, yes — processing happens 100% in your browser. Your photo never leaves your device, so there is nothing to leak, store or delete later.