PixFoundryDigital workshop
中文

Compress Image to 20 KB

Drop images here

Choose files

HEIC, JPG, PNG, WebP, AVIF, GIF, BMP · up to 50 megapixels each · you can also paste

Processing settings
KB

Browsers can't save HEIC, so HEIC photos are saved as JPG.

Operating manual

Reduce a photo or signature scan to under 20 KB for online application forms. Automatic quality and size adjustment in your browser, no upload.

Your files are processed in your browser and never uploaded.

How to use

  1. The target is already set to 20 KB. Add your photo or signature scan.
  2. The tool finds the best quality that fits and shrinks the dimensions only if necessary.
  3. Check the result size in the list (a successful result is at or below 20 KB) and download it.

Features

Size limit
A successful output does not exceed the target size; if the image cannot fit, you are told instead of getting a broken file.
Smart downscaling
When quality alone is not enough, dimensions are reduced step by step, keeping the aspect ratio.
Works with phone photos
HEIC, JPG, PNG and WebP inputs are accepted. Automatic output can be JPG or WebP; choose JPG explicitly if the form requires it.
Private
Signatures and ID photos are sensitive, so the work is done entirely in your browser.

For strict forms, check the finished signature or photo’s dimensions and format as well as its size. The tool counts 20 KB as 20,480 bytes; if the form means 20,000 bytes, use a 19 KB target.

Why 20 KB is a tough target

Twenty kilobytes is about 20,000 bytes. An uncompressed 12-megapixel photo would need 36 million bytes, so getting under 20 KB requires shrinking the data by a factor of nearly 2,000. A large source may need both fewer pixels and lower quality. This tool does both automatically: it first searches for the highest JPG quality that fits at the current size, and only if the lowest acceptable quality is still too big does it scale the image down, repeating for a limited number of attempts; if it still cannot fit, it reports an error.

Signatures

Signature scans compress very well because they are mostly white with thin dark lines. For best results:

  • Crop tightly around the signature with the crop tool so there is little empty paper.
  • Use dark ink on white paper and scan or photograph in good, even light.
  • Aim for about 400 × 150 pixels, which is legible and easily fits under 20 KB.

Small photos

For a face photo, a size around 300 × 400 pixels fits comfortably within 20 KB at decent quality. Plain, light backgrounds use fewer bytes than busy ones, and a well-lit photo compresses better than a dark, noisy one taken indoors at night.

Checking the result

After compression, the results list shows the final file size and pixel dimensions. Compare these with the form’s requirements. Many systems state both a maximum size (for example 20 KB) and a minimum size (for example 10 KB); if your file is unexpectedly tiny, raise the target slightly so it does not fall below the minimum.

PNG and HEIC inputs

Signature scans are often PNG and phone photos are HEIC. Neither can be compressed to a size target directly, so in automatic mode the tool normally converts them to JPG, or to WebP if a PNG has a transparent background. A smaller PNG already within the target may be retained. Most forms with a 20 KB limit expect JPG anyway; check the accepted file types listed on the form.

Other common limits

If your form allows more, use a larger target for better quality: 50 KB for photos and 100 KB for documents are common alternatives.

Frequently asked questions

What kind of images need to be under 20 KB?

Very small limits like this are typical for signature scans and thumbnail photos on online application systems, such as exam registrations, job portals and some government forms, which store many thousands of uploads.

Will my photo still be readable at 20 KB?

Yes, if it is sized sensibly. A 20 KB JPG comfortably holds a clear signature at around 400 × 150 pixels or a passport-style face photo at roughly 300 × 400 pixels.

Why did the tool reduce my image's dimensions?

A 12-megapixel phone photo cannot fit into 20 KB even at the lowest acceptable quality. The tool may therefore shrink it to fit. Check the final dimensions against the form’s requirements.

The form also requires specific pixel dimensions. What should I do?

Resize first with the Resize Image tool to the requested width and height, then compress here. Compression can shrink it again, so check the final dimensions; if they no longer meet the requirement, try a different source or an allowed larger size limit.

Compress to a file size

Related tools