Compress Image to 20KB

Shrink any JPG or PNG to 20KB or less for exam forms and portal uploads. Instant, because nothing is uploaded and your photo never leaves your device.

Compress to 20KB

Leave the box empty to just compress without a size limit. 1KB is 1024 bytes, the same number your file manager and upload form show.

OUTPUT FORMAT

Useful when a form also caps the dimensions. The aspect ratio is kept and images are never enlarged.

Your image is never uploaded. Every resize and every encode happens inside this browser tab, so nothing is sent to a server, nothing is stored, and nothing is shared. Free, unlimited, no signup, no watermark.

Compress an image to 20KB, in your browser

A 20KB limit is about as tight as online uploads get, and it nearly always comes from an exam or recruitment form asking for a passport-style photograph or a scanned signature. Twenty kilobytes is roughly the size of a single page of plain text, so the picture has to be small in pixels as well as heavily compressed.

Drop your photo above, set the target to 20KB, and the tool searches for the highest JPEG quality that still lands under the cap, reducing the pixel dimensions only when quality alone cannot get there. The file is processed by your own browser, so the photo is never uploaded anywhere and the result comes back in about a second rather than after a round trip to somebody else's server.

Free, unlimited, no signup, no watermark.

What actually fits in 20KB

  • A passport-style headshot at 200 by 230 pixels, the size most Indian exam boards specify, fits in 20KB with room to spare and often lands nearer 12KB.
  • A square profile crop of up to roughly 400 by 400 pixels still looks clean at 20KB.
  • A signature written in dark ink on white paper compresses extremely well, so a 140 by 60 pixel scan usually finishes under 10KB.
  • A full-frame 12 megapixel phone photo forced to 20KB at its original dimensions turns into visible blocks. Crop to the face and let the tool resize before you judge the result.

Where a 20KB limit comes from

  • SSC, UPSC, state public service commissions, and IBPS bank exams commonly ask for a photo of 20KB to 50KB and a signature of 10KB to 20KB.
  • School and university examination portals often copy the same 20KB photograph rule word for word.
  • Many of these forms also set a minimum, such as a photo between 4KB and 20KB, so aim just under the cap rather than as small as possible.
  • Most of them specify pixel dimensions too (200 by 230 for the photo, 140 by 60 for the signature). Check both numbers before uploading.

Rules change between recruitment cycles, so treat these as the usual pattern and read the instructions on your own form. Check the pixel dimensions as well as the KB cap: they are validated separately.

Quality you can expect at 20KB

At 20KB, expect softness rather than damage, provided you crop and resize first. Skin tones smooth over, individual strands of hair merge, and fabric texture disappears. For a face on a plain background that is entirely acceptable, because the person checking the form only needs to recognise you.

What 20KB cannot do is carry text. Any lettering in the frame, a name badge, a document held up to camera, or a scanned certificate, becomes mushy at this size. If your upload contains words that must stay readable, a 20KB limit almost certainly applies to a photograph and not to that document.

Getting under 20KB without wrecking the image

  • Crop tightly to head and shoulders before compressing. Every pixel of background wall is bytes you are spending on nothing.
  • Shoot or scan against a plain light background. Busy backgrounds are expensive in JPEG and are usually against the form rules anyway.
  • For a signature, convert to grayscale first. Removing the colour channels alone can halve the file size.
  • Keep the original photo. If the form is rejected for dimensions, you will want to start again from the full-quality file.

One rule covers most cases: crop and resize before you compress. Compressing at full camera resolution spends the whole byte budget on detail nobody will look at, which is what makes an over-compressed photo look blocky rather than merely soft.

Compress JPG to 20KB

JPG is the only realistic choice at this size. A JPEG headshot cropped to 200 by 230 pixels lands under 20KB with room to spare, and .jpg is the extension exam portals whitelist. Drop the photo above, leave the format on JPEG, and the tool finds the highest quality that still fits.

Compress PNG to 20KB

A photograph cannot reach 20KB as a PNG at any useful size, because PNG is lossless and cannot trade quality for bytes; the tool would have to shrink it to a thumbnail. If your source file is a PNG, keep the 20KB target and let the tool convert it to JPEG. The one image that does fit is a small dark-ink signature scan, which is mostly flat white.

Compress WebP to 20KB

WebP reaches 20KB at noticeably better quality than JPEG, but almost no exam or government portal accepts a .webp upload, so read the form's accepted-types line before picking it. When the form says JPG or JPEG only, which is the norm at this size, convert to JPEG instead.

Nothing is uploaded

The compression runs inside your browser with the canvas API. Your photo, your signature, and your documents stay on your device, and no request carries them anywhere. The other compressors ranking for 20KB all send your file to a server first, which is worth knowing when that file is an identity document. Re-encoding also strips EXIF metadata, so location and camera details do not travel with the upload.

20KB compression, frequently asked questions

How do I compress an image to 20KB?
Drop the image into the tool at the top of this page, confirm the target is set to 20KB, and download the result. The compression runs in your browser: it re-encodes the image as JPEG, measures the bytes, and repeats until the file lands just under 20KB.
What size image fits in 20KB?
A 200 by 230 pixel passport photo fits comfortably, and a portrait crop up to about 400 by 400 pixels still looks clean. Anything larger has to lose pixel dimensions to reach 20KB.
Is my photo uploaded to a server?
No. The image is processed by your own browser using the canvas API, so it never leaves your device. Every other 20KB compressor in these search results uploads your file to their servers first.
How good will the image look at 20KB?
A cropped headshot looks slightly soft but perfectly usable. Fine hair detail and fabric texture are lost, and any text in the frame becomes unreadable.
My form says the photo must be between a minimum and 20KB. What should I do?
Aim for just under 20KB rather than as small as possible. Many exam forms enforce a minimum as well as a maximum, and a file that is too small is rejected exactly like one that is too large.
Should I upload JPG or PNG for a 20KB limit?
JPG, and at 20KB it is not a close call. A PNG of a photograph is several times larger than the JPEG of the same picture, so reaching 20KB in PNG would mean shrinking the photo to a thumbnail. Save as .jpg, which is also the only extension many exam portals will take.
Can I compress a signature to 20KB?
Easily. A signature in dark ink on white paper is mostly flat white, which JPEG compresses very efficiently, so a 140 by 60 pixel scan often ends up under 10KB.
What if my image will not go under 20KB?
At 20KB the pixel count is almost always the problem rather than the quality setting. Crop to head and shoulders first, then let the tool reduce the dimensions: a full 12 megapixel photo has to come down to roughly 300 to 400 pixels on the long edge. If the upload is a signature, rescan it in grayscale on plain white paper and it will fall under 10KB on its own.
Does 20KB mean 1024 bytes per KB?
Yes. The tool treats 1KB as 1024 bytes, which matches Windows and almost every upload validator. A file that fits under that reading also fits a portal that counts 1000 bytes to the kilobyte, so you are covered either way.
Is it free, and is there a limit on how many images I can do?
It is free with no signup, no watermark, and no daily cap. There is no server cost behind it, because the compression happens on your own device, so there is nothing to meter.

Other image tools

  • Background Remover , cut the background out of a photo and get a transparent PNG, also without uploading.
  • Image Upscaler , enlarge a small or blurry photo when a form asks for bigger dimensions.

Popular target sizes