Compress JPG to 20 KB

Re-save a JPG at 20 KB or less with the highest quality that fits. If your JPG already meets the limit, it is kept as it is – only the metadata is removed.

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 JPG to 20 KB

  1. Add your image

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

Compressing an existing JPG to 20 KB

A JPG has already been compressed once, and every new save loses a little more detail. The tool therefore decodes your JPG once and encodes it once with MozJPEG, an encoder tuned to give smaller files than typical camera or phone apps at the same visual quality.

If your JPG is already 20 KB or less and needs no resizing, the tool keeps the original image data unchanged and only removes the metadata – no quality is lost.

Quality numbers are not comparable between apps: "quality 80" in one program can be a different file size from "80" in another. Judge by the result and the exact byte count shown next to it.

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.

Why is my JPG bigger than 20 KB even though it looks small?

File size depends on detail and pixel count, not on how big the picture looks on screen. A 4000 × 3000 phone photo has 12 million pixels; to reach 20 KB the tool lowers the JPG quality and, if needed, the dimensions. Start from the original photo rather than an already compressed copy when you can – it keeps more real detail.

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)