Skip to content
cliplimeClipLime

Compress an image to 20 KB

For forms that only take tiny files: passport photos, signatures and ID pictures.

Runs on your device, nothing is uploaded

or drop files here

JPG, PNG, WebP and AVIF (HEIC, TIFF, BMP and GIF too) · add as many as you like · nothing is uploaded

At a glance

What it does
Brings a picture under 20 KB: the limit of many passport photo, signature and ID upload forms.
How it gets there
It lowers the quality first, down to a floor where pictures start to look rough, and only then makes the picture smaller in pixels.
What to expect
20 KB is very little. In our tests, two real photos ended up about 445 to 455 pixels wide, and a signature scan fitted at its full size and a high quality.
Best effort
The result stays at or under 20 KB, counted as 20,000 bytes, so it is under the limit however a form counts. The list shows how close each file got. If a picture cannot reach the limit without becoming very small, you get the smallest result and a note on that picture.
Tip
Crop away the background first: less picture means more detail in the same 20 KB.
Privacy
Pictures are compressed in your browser and never uploaded. Free, with no sign-up and no watermark.

How to do it

  1. 1

    Add the picture

    Choose your photo or signature scan. The size 20 KB is already selected.

  2. 2

    Check the result

    Compress and look at the size and pixel dimensions in the list. The note says if the picture was made smaller in pixels.

  3. 3

    Compare

    Open the compare view to make sure a face or a signature is still clear.

  4. 4

    Download

    Download the file and upload it where it is needed.

What fits in 20 KB

Twenty kilobytes is about the size of ten pages of plain text. A photo from a phone is a hundred times bigger or more. To fit, the picture has to lose detail in two ways: stronger compression, and fewer pixels. A face photo that is a few hundred pixels across and compressed well still shows features clearly, which is enough for most identity forms. A signature on a white background compresses extremely well because there is so little in it.

The tool works in a fixed order. It first tries the level you chose, and uses it if it fits. Then it tries qualities from high to low and keeps the best one that fits. If the whole picture fits at the lowest acceptable quality it keeps every pixel. Only if even that is too big does it shrink the picture in steps and try again at a better quality. That order matters: lowering the quality a little is nearly free in looks, while losing pixels is not.

Getting a better result at 20 KB

  • Crop first. With the Crop Image tool, cut away everything that is not needed. Plain backgrounds compress well, but cropping removes the bits altogether.
  • Start from a sharp picture. Blur and noise are expensive: a clean photo compresses to a better result than a grainy one.
  • Check the form's size rules. Some forms also set pixel dimensions or a ratio. Set the longest side in this tool, or use Resize Image first.
  • Do not compress twice. Start from the original, not from a version that was already compressed.

Preparing a passport style photo for a 20 KB limit

Forms that ask for a tiny photo usually care about three things: the file type (almost always JPG), the pixel size or proportions, and the maximum size in kilobytes. Doing the steps in the right order gives the best picture for the space.

  • Start from the original. Use the sharpest, evenly lit photo you have, not one that was already shrunk or passed through a messaging app. Compressing a compressed picture adds loss on top of loss.
  • Crop first. With Crop Image, choose the shape the form wants so the face fills the frame. Every pixel of empty wall costs bytes.
  • Set the pixel size if the form gives one. Resize Image can set exact dimensions. Do this before compressing: this tool only ever makes a picture smaller, so resizing afterwards would re-encode it and could push it over the limit.
  • Choose JPG. If your picture is a PNG or a HEIC photo and the form wants JPG, pick JPG under Format. A photo is many times smaller as JPG than as PNG.
  • Compress to 20 KB, then compare. Open the compare view and look at the eyes and the outline of the face at 100 percent.

Signatures and handwriting at 20 KB

A signature is the easy case. Dark ink on plain paper has almost no detail to keep, so it compresses extremely well. In our test, a scan of a signature 1,200 pixels wide that started at 96 KB came out at about 8.6 KB at the Balanced level, so a 20 KB limit was met without making the scan any smaller in pixels.

To get a clean result, sign with a dark pen on white paper, scan or photograph it in even light without shadows, crop away the margin, and compress. A grey or coloured background is what uses up the space, not the ink.

When a form also has a minimum size

Some forms set a range, such as between 10 and 20 KB. This tool stays at or under the limit, and a very simple picture can come out well below it because there is nothing more to store. A file cannot be made bigger in kilobytes without adding pixels, so if a form rejects a file for being too small, start again from a larger original, or use a larger limit and check what the form accepts.

Questions people ask

Why does my picture become so small in pixels?

Because 20 KB cannot hold a large picture. The tool lowers the quality first and makes the picture smaller only when it has to. The note on the result tells you the final size.

Can a signature be made 20 KB?

Yes, easily. A signature on a plain background compresses extremely well and usually fits without losing clarity.

Why is the file a little under 20 KB, not exactly 20?

The limit is a ceiling. The tool picks the highest quality that fits, which usually lands within a few percent below it, and the list shows how much of the limit each file used.

Does it work for PNG and WebP too?

Yes. A PNG reduces its colours step by step and, if needed, its pixels. For photos, JPG or WebP reach 20 KB with far better quality than PNG.

Is the picture uploaded to get compressed?

No. It is compressed in your browser and nothing is sent anywhere.

Which format should a 20 KB photo be?

JPG, unless the form says otherwise. A photo is many times smaller as JPG than as PNG, and upload forms accept it. WebP and AVIF are smaller still, but many forms reject them.

Will the form accept the compressed photo?

That depends on the form's other rules too: pixel size, background colour, proportions and file type. The tool takes care of the kilobytes. Check the form's other requirements before you upload.

Guides that help

All Images guides →