Compress PNG to 20 KB

Turn a PNG screenshot, graphic or photo into a file of 20 KB or less. The tool converts it to JPG or WebP and searches for the highest quality that fits, reducing the dimensions only 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 a PNG to 20 KB

  1. Add your image

    Drop one or more PNG 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.

Getting a PNG down to 20 KB

PNG is lossless: it stores every pixel exactly. That is ideal for screenshots and graphics but makes photos huge, so a PNG almost never reaches a small limit without changing format.

The tool converts to JPG by default (transparent areas become white) or to WebP, which can keep transparency. Most forms that accept images take JPG, so it is the safe choice unless the form asks for something else.

Screenshots and diagrams with flat colours and text compress very differently from photos – see the measured table below. Sharp text can show faint halos in JPG at low budgets; if that happens, give the image fewer pixels rather than lower quality.

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

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

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
Screenshot / graphic≈ 553 × 415 px
Photo≈ 441 × 331 px
Scanned text page≈ 314 × 236 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.

What happens to PNG transparency when I compress to 20 KB?

PNG is a lossless format, so it can rarely get down to 20 KB on its own. The tool converts the image to JPG (transparent areas become white) or to WebP, which can keep transparency. Choose the output format above the result.

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)