Some online forms, job portals and ID upload pages accept photos and signatures only up to a few tens of kilobytes. A modern phone photo is several megabytes, so a 20 KB limit means the file has to become more than a hundred times smaller. The form will not accept a file that is even slightly over.

This guide shows how to get an image to 20 KB with the free Resize tool, what to do when the target will not fit, and how to prepare a photo and a signature separately. Always follow the exact numbers on your own form, because they differ between organizations.

Key Takeaway: For a target as small as 20 KB, the pixel size matters more than the quality setting. Make the picture smaller first, then let the Max file size box pick the JPG quality that fits.

How Big Is 20 KB?

The tool counts 1 KB as 1,024 bytes, so 20 KB is 20,480 bytes. Windows shows file sizes in units of 1,024 bytes too, but macOS counts 1,000 bytes per KB, so the same file can show a slightly different number. Aim a little under your limit, for example 18 or 19 KB, instead of landing exactly on 20.

Step by Step: Compress an Image to 20KB

The Resize tool runs in your browser, so your photo or signature is not uploaded. It also works in a phone browser.

  1. Open the Resize tool and upload your image.
  2. Set the width to a small size. For a face photo, 300 to 400 pixels wide is a good place to start. Keep the aspect ratio locked unless the form asks for exact dimensions.
  3. In the Output box, choose JPG as the format.
  4. Type 20 in the Max file size (KB, optional) box. The tool tries different quality levels until the file fits and shows the estimated size.
  5. If it says it could not reach 20 KB, lower the width and height a little and check again.
  6. Click Download, then check the size in your file manager before you upload it to the form.

Tip: Crop away empty background first with the Crop tool. Fewer pixels of wall or sky means fewer bytes, and the face stays larger in the frame.

Starting Sizes to Try

These are starting points, not guarantees. A sharp, detailed photo needs more bytes than a plain one, so you may have to go smaller.

ImageStart at (width)Notes
Face or ID-style photo300 to 400 pxPlain, evenly lit backgrounds compress best.
Signature on white paper200 to 300 pxMostly white space, so it usually shrinks easily.
Scan or screenshot with textAs large as the text stays readableSmall text blurs first. Do not shrink beyond readable.

Photo vs Signature: What Changes

The full workflow for exam and job forms, including the order of the steps, is in how to resize a photo and signature for exam forms.

If the Tool Says It Could Not Reach 20 KB

What you seeWhyWhat to do
"Could not reach 20 KB"The picture still has too many pixels for 20 KB, even at low quality.Reduce the width and height, then try again.
"PNG is lossless, so the file size limit is not applied"PNG does not use a quality setting, so the KB box has no effect.Change the format to JPG or WebP.
File is under 20 KB but looks blockyQuality was pushed very low.Crop tighter, or use a simpler background, so fewer pixels carry the face.
Form still rejects the fileThe form may count a different size, require exact pixels or want a specific extension.Re-read the instructions and check size, pixels and extension.

Why JPG Reaches 20 KB and PNG Does Not

A browser can only vary the quality of lossy formats such as JPG and WebP. PNG is lossless, so it has no quality dial for the tool to turn, which is why the KB limit is ignored for PNG. Most forms accept JPG anyway. Do not just rename a PNG to .jpg, because renaming changes the extension but not the file. Convert it with the tool instead. You can read more in lossy vs lossless compression.

Check the File Before You Upload

Other Sizes: 10 KB, 30 KB, 50 KB and More

The same steps work for any target. For 10 KB, go smaller in pixels. For 30 KB to 50 KB you have more room. For 50 KB, 100 KB and 200 KB targets, see the 50KB, 100KB and 200KB guide. If you only need to cut a large photo for email, read how to compress images for email.

Frequently Asked Questions

How do I compress an image to 20KB?

Open the Resize tool, upload the image, set the format to JPG, make the width small (for a face photo, start at 300 to 400 pixels), type 20 in the Max file size (KB) box and download the result. If it says it could not reach 20 KB, reduce the pixel size and try again.

Why will my PNG not go down to 20KB?

PNG is lossless and has no quality setting, so the Max file size box is ignored for PNG files. Change the format to JPG or WebP. Renaming the file to .jpg does not convert it.

Can I compress a 5MB photo to 20KB?

Usually yes, if you also reduce the pixel dimensions. A 5 MB photo has millions of pixels, so shrinking it to a few hundred pixels wide is what makes the target possible. The picture will be small and softer, which is normal for a 20 KB file.

Will the quality be bad at 20KB?

A 20 KB file has very little room for detail, so a small, softer image is expected. A plain background, a tight crop and good lighting give the best result at this size.

How do I compress a signature to 20KB?

Sign with dark ink on plain white paper, photograph it straight on in even light, crop tightly and resize it to a few hundred pixels wide. Signatures are mostly white space, so they usually reach the limit easily.

Is it safe to compress my photo or signature online?

With the Resize tool, yes: the image is processed in your browser and is not uploaded to a server. That matters for ID photos and signatures. Check the privacy claims of any other tool before you use it.

What if my form says 20KB but the file still gets rejected?

Check the exact limit on the form, including any minimum size, the required pixel dimensions and the file extension. Aim a little below the limit, for example 18 or 19 KB, because some systems count kilobytes differently.

Summary: To get an image to 20 KB, make the pixel size small first, choose JPG, type 20 in the Max file size box of the free Resize tool and check the result before you upload. PNG ignores the KB limit, so convert it to JPG.

Sources

Compress your photo or signature to an exact KB size

Free, no signup, and your image stays in your browser.

Open the Resize Tool →

Related Articles

How to Compress an Image to 50KB, 100KB or 200KB Resize Photo and Signature for Online Forms How to Resize an Image Without Losing Quality Lossy vs Lossless Compression
Back to Blog