Black Friday: Kinsta 50% off for 3 months · WPX first month $1.80 · InMotion up to 73% off — See the 4 hosting deals →

Compress Image to 20 KB

Upload a photo or scan and get a JPG of 20 KB or less, ready for signatures and small ID photos.

  • Free, no sign-up
  • Files stay on your device
  • Works on phone and desktop
  • 100% private — runs in your browser
Sharjeel Tahir

By Sharjeel Tahir

WordPress & Technical SEO Specialist · Lahore, Pakistan

Choose your photo or scanor drop files here · you can also paste with Ctrl+V

Be the first to rate this tool

Your favourites

Recently used

    The tool searches for the highest JPG quality that keeps your image at or under 20 KB (1 KB = 1,024 bytes), and reduces the dimensions in small steps only if quality alone is not enough. Your file is processed on your device and never uploaded.

    What does this tool do?

    This tool squeezes images down to 20 KB or less — the exact cap many Pakistani portals enforce. Unlike a plain quality slider, it works backwards from the size limit: it re-encodes each photo, lowering quality and, if needed, dimensions, until the file fits. You can drop in dozens of images at once; each is processed locally in your browser, so a whole set of government and university online forms is ready in seconds. A “Download all as ZIP” button collects everything into one file, and transparent PNGs get a background-fill option so they convert cleanly to JPG-style formats.

    For best results start from the highest-quality original you have: every processing step works from those pixels, and a clean source means a clean result whether you are converting, extracting or encoding.

    Using it is simple: the inputs are “Target size (KB)”, “Format” and “Background for transparent images”; the “fmt” control offers “JPG” and “WebP”; “Download all as ZIP” saves it as a file; “Clear list” starts over. Results update live as you work — there is no waiting and nothing to submit.

    How do I use this tool?

    Drop your image onto the tool to begin; adjust the controls with the live preview, then download the finished file.

    1. Click “Choose images” (or drag files onto the box — you can also paste with Ctrl+V) and select one or many images.
    2. Check “Target size (KB)” — the tool re-encodes until each file fits.
    3. Choose the “Format” — WebP is usually smallest for websites.
    4. Click “Download all as ZIP” to download everything at once.

    How does it work?

    The tool encodes each image, checks the byte size, and if it is over 20 KB, lowers the quality setting and tries again — repeating until the file fits or quality would drop unacceptably low, at which point it also reduces dimensions. This binary-search approach lands as close under the cap as possible without destroying the photo. JPEG-style encoding is used for photographic images because it is far more efficient than PNG for photos; PNG is kept for graphics where it is smaller.

    Because the loop runs locally, even 50 images finish in seconds on a mid-range phone.

    Processing uses the browser’s native image codecs — the same decoders that render the web — so format support matches what your browser can display. Pixels are processed at full resolution; nothing is downscaled silently.

    Use cases in Pakistan

    In Pakistan, upload limits are the whole story: passport, CNIC and domicile scans for online applications in Pakistan. Students applying to BISE boards, universities and jobs portals hit “file too large” errors constantly — this tool fixes the photo in seconds without a trip to a studio or net cafe. Freelancers sending CNIC scans to clients and sellers uploading OLX photos also stay under limits effortlessly.

    From admission portals with strict upload limits to family photos worth preserving, images carry both bureaucratic and personal weight in Pakistan — and a private, free, no-install tool for handling them earns its bookmark quickly.

    Limitations

    Compression is lossy: every re-encode discards a little detail, so keep your originals and compress copies. Very small targets (10–20 KB) will visibly soften detailed photos — they suit documents and ID photos, not photography portfolios. Animated images, RAW camera files and CMYK print files are not supported; and extremely large panoramas may strain low-memory phones.

    Browser processing is excellent for everyday images but not a replacement for professional software on demanding work (print production, RAW development). Know where the convenience ends and the craft begins.

    Worked example

    A 500 KB photo squeezed to the 20 KB cap ends up 25 times smaller — 500 ÷ 20 = 25. Since 1 KB is 1,024 bytes, the 20 KB limit is 20 × 1024 = 20,480 bytes, and the tool searches for the highest JPG quality that keeps the file at or under that number before it starts reducing dimensions.

    Frequently asked questions

    What if my photo cannot reach 20 KB?

    The tool lowers quality and then dimensions until the file fits. For most photos this works fine; if a very detailed image still will not fit 20 KB without looking bad, consider whether the portal truly needs that exact photo — a simpler crop or scan usually compresses far better.

    How many images can I process at once?

    There is no fixed limit — drop in a whole folder. Everything is processed locally in your browser, so batch size is limited only by your device’s memory. The ZIP download collects all results into one file.

    Are my photos uploaded to a server?

    No. Your images never leave your device. All compression, conversion and resizing happens with JavaScript in your browser — files are not uploaded to any server, which also means the tools work on slow connections and your private photos stay private.

    Why 20 KB specifically?

    Many Pakistani portals — government and university online forms — reject uploads above a fixed KB cap. This page targets that exact limit so you do not have to guess quality settings by trial and error.

    Why is my PNG still large after compressing?

    PNG is lossless, so photographic PNGs compress poorly compared to JPG/WebP. For photos, switch the output format to JPG or WebP — the same picture becomes dramatically smaller. PNG is the right choice only for graphics, text and transparency.

    Can I use this on my phone?

    Yes. The tools run in any modern mobile browser — Chrome on Android or Safari on iPhone — and the drop zone accepts files from your gallery or camera roll.

    Do I need to sign up or create an account?

    No. Every tool on this page is free to use without an account, an email address or a download.

    Will a 20 KB photo still look good?

    For a document or ID photo, usually yes; for a detailed photograph, not always. The tool lowers quality first and then dimensions until the file fits, but very small targets of 10–20 KB visibly soften detailed photos — they suit documents and ID photos, not photography portfolios. If the result looks bad, try a simpler crop or scan of the same photo, which usually compresses far better.

    Updated 2026-11-21 · Built and tested by Sharjeel Tahir · How our tools are tested