Skip to content
RightYantra
Image tools

Compress Image to 20 KB

Shrink any photo, signature or scan to 20 KB or less, entirely in your browser. The target is preset — drop the file in, and the tool finds the best quality that fits, resizing automatically if the image is too large for the cap. Nothing is uploaded anywhere.

Processed entirely on your device — nothing is uploaded

How to use the compress image to 20 kb

  1. 1Drop the photo or signature in — this page has 20 KB preset as the target.
  2. 2Keep JPG as the output format for portal uploads; choose WebP only for your own site.
  3. 3The tool searches quality (and dimensions when needed) until the file fits 20 KB.
  4. 4Read the size and dimensions on the result line, then download.

What actually fits in 20 KB

Start with arithmetic, because it explains everything else on this page. A JPEG photograph at moderate quality costs about 1.8 bits per pixel, so 20 KB buys a budget of roughly 93,000 pixels — roughly 350 × 260 pixels of photograph — noticeably more if the image is a signature or drawing on a plain background. Around 350 × 260 is the honest shape of that budget for a 4:3 photo.

Printed, 20 KB stretches to about three centimetres before the softness shows. It is enough for an on-form thumbnail and nothing more.

Those figures assume photographic content. Plain-background material — a signature, a form, a diagram — beats the 350 × 260 estimate handily at 20 KB, while dense textures like foliage or fabric undershoot it.

Where the 20 KB limit comes from

This page exists because upload forms reject files, and they reject them at round numbers. The situations that bring people here: a passport-style photo for an exam application, a signature scan that a portal caps at 20 KB, or a profile image for a bandwidth-starved service.

The 20 KB cap is the classic exam-form limit: photo and signature uploads on many recruitment and admission portals sit at or near this number.

However the 20 KB cap reached you, the problem has one shape: the file is bigger than the form will take, the error message is unhelpful, and guessing at export settings burns a submission attempt per guess. Naming 20 KB as a target and letting the tool search for it is the mechanism the job actually calls for.

How this tool reaches 20 KB exactly

Under the hood this page runs a binary search for 20 KB: the image is encoded at a mid quality, the result is measured, and the search range halves each round. Eight rounds pin the best fitting quality to within a point, at well under a second per image, all in local memory.

Quality alone rarely gets a camera image under 20 KB: a 4,000 × 3,000 phone photo overshoots the 93,000-pixel budget even at the quality floor, so the tool rescales it — to roughly 352 × 264 in that case, estimated from how far over the attempt landed — and searches again. The result line shows the final dimensions, so the trade is never silent.

Leave the output format on JPG if a portal set the 20 KB cap: forms that check size usually check type too, and they expect JPEG. WebP would fit 20 KB at visibly better quality, but only choose it when the destination is a site you control.

Because files at 20 KB caps are so often signatures, ID photos and documents: nothing here leaves your device. Decoding, rescaling, the quality search and the final encode all run inside this browser tab — there is no upload and no server-side copy.

Getting the best result at 20 KB

The most valuable 20 KB trick is done before this page: crop hard. Wasting the 93,000-pixel budget on the empty paper around a signature or the wall behind a face is what makes tiny targets look bad; a tight crop redirects every byte to the subject.

Light and contrast beat megapixels at this size. Dark pen on plain white paper, photographed in daylight without shadows, compresses dramatically better than faint pencil on ruled paper — if a portal rejects your 20 KB file on legibility rather than size, re-shoot the original instead of fighting the encoder.

Portals that cap size at 20 KB often cap dimensions too. When yours does, resize to the demanded width and height first, then compress here — in that order the encoder is not fighting excess pixels, and more of the 20 KB goes to quality.

Because photo and signature usually travel together on the same form, do them in one visit: compress the photo here, then open the 10 KB page linked below for the signature. The two caps differ for a reason — a signature is line art and needs far fewer bytes than a face.

Frequently asked questions

How do I compress an image to exactly 20 KB?

Drop the image above — the target is preset to 20 KB on this page. The tool searches out the highest quality that fits under the cap, shrinking dimensions automatically if it must, and reports the final size before you download. No upload, no watermark, no sign-up.

Will my image still look good at 20 KB?

Good enough for its purpose is the honest answer. 20 KB cannot hold fine photographic detail, so expect softness on faces; signatures and line art fare far better. A tight crop beforehand is the biggest quality lever you have.

Why did the dimensions of my image change?

The pixel count exceeded what 20 KB can hold — about 93,000 pixels of ordinary photo. Below that point no quality slider helps, so the tool shrank the dimensions by its estimate and re-ran the search. Nothing changes silently: the output line shows the new size and dimensions.

Is my photo or signature uploaded anywhere?

No — there is no server in the loop. Everything from decode to the final 20 KB encode happens on your own device, which is the point when the image is a signature or an identity document.

The portal wants specific pixel dimensions as well as 20 KB. What order do I do that in?

Resize to the required dimensions first (the Image Resizer linked below does that), then compress the resized file to 20 KB here. In that order the compressor is not fighting excess pixels, so more of the budget goes to quality.

Does this work with PNG and WebP files too?

Yes — PNG, WebP and AVIF are all accepted and re-encoded toward 20 KB. PNGs convert to JPG by default, since lossless PNG cannot hit small byte targets on photographs, and JPG is what upload portals expect anyway.

Related tools