Compress Image to 20 KB

Many online forms reject files over 20 KB. This tool searches for the highest quality that keeps your image at or below 20 KB, and only reduces the dimensions if quality alone isn't enough.

Target size
More options: exact dimensions, format, EXIF
Exact dimensions (optional)

Leave empty to keep the original shape. Width only or height only keeps the aspect ratio.

Output format

How to compress an image to 20 KB

  1. Add your image

    Drop one or more image files on the box, or tap to choose them from your device.

  2. Check the settings

    The target is already set to 20 KB. Optionally enter exact dimensions or switch the format to WebP.

  3. Download

    Each file is saved at or below 20 KB with "_20kb" added to its name. Download one by one or all as a ZIP.

Tips for the best result

  • Crop away empty background first — every pixel costs bytes at this size.
  • For signatures, sign with a dark pen on plain white paper and crop tightly.
  • If the form gives exact pixel dimensions, enter them; otherwise let the tool pick the size.

Getting a photo or signature under 20 KB

20 KB is a common upper limit for signature uploads and small application photos. Twice the budget of 10 KB makes a visible difference: a passport-style crop of a few hundred pixels can keep decent quality.

Signatures usually fit easily – the challenge is the opposite: a very simple scan can end up far below a required minimum. If a form asks for, say, 10–20 KB, the tool raises quality first and, for JPG, adds blank padding inside the file so it still meets the minimum without changing the picture.

For photos, a plain light background and an evenly lit face leave more of the 20 KB for the face itself.

Choosing the output for 20 KB

You can mix JPG, PNG and WebP files in one batch; each is compressed separately to the same target. The output is JPG by default – the most widely accepted format – or WebP, which is smaller at the same quality but not accepted by every form.

Phone photos are rotated correctly using their EXIF orientation, and the EXIF data itself (camera, date, GPS location) is removed by default.

Official requirements with a 20 KB limit

Each page cites the official notice it was checked against.

Highest JPG quality that fits 20 KB at common dimensions

DimensionsPhotoScanned text pageScreenshot / graphic
200 × 230 px (exam photo)full qualityquality 90full quality
413 × 531 px (35 × 45 mm at 300 DPI)quality 68quality 20 (low)quality 82
600 × 600 pxquality 52quality 10 (low)quality 76
800 × 600 pxquality 40does not fitquality 66
1280 × 960 pxquality 16 (low)does not fitquality 48
1920 × 1440 pxdoes not fitdoes not fitquality 14 (low)

Measured with the same MozJPEG encoder the tool uses, on our own test images (a detailed photo-like scene, a scanned text page and a flat screenshot) – not on your file. Real images vary; the tool always finds the best fit for yours. Measured 2026-11-18.

Largest 4:3 image that fits 20 KB at quality 75

Image typeLargest size
Photo≈ 441 × 331 px
Scanned text page≈ 314 × 236 px
Screenshot / graphic≈ 553 × 415 px

Quality 75 is a common "good quality" setting. If you let the tool choose the dimensions, it keeps more pixels when quality alone is enough.

Output details

Maximum file size20 KB (20,000 bytes)
Output formatJPG (default) or WebP
Largest photo at quality 75*≈ 441 × 331 px
MetadataEXIF removed by default (optional: keep)
ProcessingIn your browser – no upload

* Measured on our detailed test photo (see the tables above). Simple images fit at larger sizes, very detailed ones at smaller.

Frequently asked questions

Will my file be exactly 20 KB?

It is never over 20 KB and usually within a few percent of it (very simple or very small images can end up smaller). The tool tries several quality levels and keeps the largest result that fits. 20 KB is treated as 20,000 bytes, which is also below 20,480 bytes, so the file passes whichever definition a website uses.

Are my images uploaded to a server?

No. Compression runs entirely in your browser using WebAssembly. Your files never leave your device, and once you have used it, most browsers can run the tool offline too.

How big can the image be at 20 KB?

On our detailed test photo, about 441 × 331 px fits at quality 75. Simple images (plain backgrounds, signatures, screenshots) can be much larger; very detailed ones smaller. The tables above show measured results for photos, scans and screenshots. If you set exact dimensions that cannot fit, quality is lowered (with a warning) or you get a clear message.

Which image formats can I use?

You can add JPG, PNG and WebP images (several at once). The result is a JPG by default, or WebP if you choose it.

How do I check the file size on my device?

On Windows, right-click the file → Properties (Explorer counts 1 KB as 1,024 bytes). On a Mac, select it and press Cmd+I. On a phone, open the file details in your Files or Gallery app. The tool also shows the exact size in bytes next to every result.

Other sizes

All sizes: compress image by size · Official limits: exam & form sizes

Send us an email

Choose how to send it. The message is filled in for you and you can edit it before sending.

Or write to

Powered by InventStarts (opens in a new tab)