Compress Image to 20 KB

20 KB is one of the strictest upload limits — common for exam forms, signatures and small ID photos. Drop your photo below: Fileziv finds the largest pixel size and best quality that still fits under 20 KB, then shows the exact byte count.

Size rule
Target size
Dimensions

Drop images here

or

JPG, PNG, WebP, GIF, BMP or AVIF · up to 50 MB each

You can also paste an image (Ctrl/⌘ + V).

Private: images never leave your device

    How to use it

    1. 20 KB is already selected. If the form also sets a minimum (for example 10–20 KB), switch to “Between”.
    2. If the form demands exact pixel dimensions, resize to them first and untick “Allow smaller dimensions”.
    3. Drop your photo or signature in. Fileziv lowers quality first and, if needed, the pixel size.
    4. Check the size line and the preview — at 20 KB make sure faces and text are still clear — then download.

    Why 20 KB is hard

    A JPG file needs roughly a fixed amount of data for every block of detail it stores. A modern phone photo has 12 million pixels or more; 20 KB is 160,000 bits, about one bit for every 75 pixels. At that budget even the lowest quality setting is usually not enough, so for 20 KB the pixel size almost always has to drop. Fileziv does this in a controlled way: it never goes below 50 % quality while it can still shrink the picture instead, and it only shrinks as far as needed.

    What we measured

    We ran Fileziv’s own engine (the same code that runs on this page) in Chrome on four synthetic test images that we generate in code: a detailed landscape “phone photo” with fine texture and sensor-like noise, a head-and-shoulders portrait on a plain background, a full A4 page of small text scanned at 300 dpi, and a signature photographed on slightly shaded paper. All originals were saved as high-quality JPGs first. Your own photo will give different numbers — these are a guide, not a promise.

    Test image (original)Result under 20 KBJPG qualityExact size
    Landscape photo, 3000×2000 px (2.9 MB)583×389 px50 %19,465 bytes
    Portrait, 1200×1600 px (694 KB)707×943 px50 %19,876 bytes
    A4 text page, 2480×3508 px (3.6 MB)295×417 px58 %19,398 bytes
    Signature on shaded paper, 1200×450 px1114×418 px50 %19,853 bytes
    Same signature, paper cleaned to white1200×450 px (full size)54 %19,983 bytes

    Two lessons stand out. A whole text page in 20 KB ends up around 300 px wide — far too small to read — so if a 20 KB limit applies to a document, crop it to the part that matters first. And for signatures, the paper matters more than the ink: once the grey, shaded paper was turned pure white, the signature fitted at full size.

    Fixed pixel size: how much quality is left?

    If the form fixes the pixel size, only quality can move. The same portrait, forced to these sizes (“Allow smaller dimensions” off):

    Pixel sizeJPG quality that fits 20 KBWhat to expect
    300×400 px92 % (16,942 bytes)Fits without any visible loss
    450×600 px82 %Still clean
    600×800 px64 %Fine on screen; zoom in to check edges
    900×1200 px30 %Blocky artefacts likely — use a smaller size if the form allows

    Greyscale: when it helps

    JPG stores colour separately from brightness, so removing colour frees some room. In our test the colourful landscape photo fitted at 676×451 px in greyscale instead of 583×389 px (about 34 % more pixels). The portrait gained only about 1 % (713×950 px instead of 707×943 px) because its colours were already muted, and the blue-ink signature about 8 %. Greyscale is worth trying for colourful pictures — but only if the form accepts black-and-white images.

    Tips for a 20 KB upload

    • Crop first. Every pixel of background you remove is room for the face or the text. Use Crop Image before compressing.
    • Signatures: use the Signature Resizer — it whitens the paper, darkens the ink and fits a pixel size and a KB range together.
    • Exam or application photos: check the form’s own instructions for pixel size, background and minimum size; for passport and visa photos see the Passport Photo Resizer.
    • Not 20 KB? The general target-size tool handles any limit, and we have guides for 50 KB and 100 KB.

    Frequently asked questions

    Why did my photo get smaller in pixels, not just in KB?

    Because 20 KB is too little for a full-size phone photo at any usable quality. On our 3000×2000 test photo, even the lowest quality we allow before shrinking (50 %) was far over 20 KB, so Fileziv reduced it to 583×389 px. Fewer pixels at decent quality look much better than full size at a quality so low that it turns into blocks.

    What pixel size fits in 20 KB?

    It depends on how much detail the picture has. In our tests a detailed landscape photo fitted at about 580×390 px, a head-and-shoulders portrait at about 700×940 px and a clean signature at its full 1200×450 px. A plain image fits bigger; a noisy, low-light photo fits smaller.

    Does making it black and white help?

    Sometimes. On our colourful test photo, greyscale allowed about a third more pixels (676×451 instead of 583×389). On the portrait, whose colours were already muted, the gain was only about 1 %. Only switch to black and white if the form allows it.

    The form says the file must be between 10 and 20 KB. What now?

    Choose “Between (min–max)” and enter 10 and 20. Fileziv keeps the result inside both limits. If a small image cannot reach 10 KB even at maximum quality, you get a clear message — we do not enlarge the picture or pad the file with junk data to fake the size.

    The form wants an exact size like 200×230 px and under 20 KB.

    Resize to the exact dimensions with the Image Resizer first (or crop with Crop Image), then come back, untick “Allow smaller dimensions” and Fileziv will only adjust quality. For signatures, the Signature Resizer does crop, clean-up, pixel size and KB range in one step.

    Photo ko 20 KB me kaise kare?

    Upar 20 KB pehle se chuna hua hai. Apni photo daaliye, Fileziv quality aur zaroorat ho to pixel size kam karke file ko 20 KB se chhota karta hai, phir exact bytes dikhata hai. Photo aapke phone ya computer se bahar nahi jaati.

    Related tools

    • Signature Resizer

      Crop a signature photo, clean the background and fit it to the form’s pixel and KB limits.

      Passport Photo & Signature Tools  Works with JPG, PNG, WebP, HEIC

    • Compress Image to 50 KB

      Bring a photo under 50 KB for application forms while keeping the face sharp.

      Image Tools  Works with JPG, PNG, WebP, GIF, BMP, AVIF

    • Resize Image to Target File Size

      Get a photo under 20 KB, 50 KB, 100 KB or any limit — we check the result for you.

      Image Tools  Works with JPG, PNG, WebP, GIF, BMP, AVIF

    • Image Size Checker

      See an image’s exact size in KB and MB, its pixels, aspect ratio, DPI and print size — and whether it fits your form.

      Image Tools  Works with JPG, PNG, WebP, GIF, BMP, HEIC, AVIF, any file