Back to Blog
    Tutorial
    7 min read
    Compressnfly Team

    How to Get a Photo Under 20 KB, 50 KB or 100 KB for Online Forms

    "Photo must be JPG, maximum 50 KB." Job portals, university admissions, scholarship applications and government services all have rules like this, and a photo straight from your phone is usually 3–4 MB. That's 70 to 80 times over the limit.

    Getting under the limit is easy. Getting under it with a photo that still looks good takes a bit of know-how. This guide shows what each common size actually gives you (we tested real phone photos), the steps that keep small photos sharp, and fixes for the errors forms throw at you.

    The short answer

    1. Crop the photo to just what's needed (usually your head and shoulders).
    2. Make sure it's a JPG. Convert HEIC, PNG or WebP first.
    3. Compress to an exact size about 10% below the limit, e.g. 45 KB for a 50 KB form.

    What 20 KB, 50 KB and 100 KB actually look like

    We compressed 12-megapixel photos from three phones (Pixel 2, iPhone 6 Plus, Galaxy S7 Edge) to each common target with Compressnfly's exact-size mode. All three landed on almost the same dimensions, so this works as a general guide:

    TargetDimensions (full photo)Verdict
    20 KB277×370 pxClean and recognisable at form-preview size. Fine detail is gone.
    50 KB438×584 pxSharp at normal viewing size. The most common form limit, and comfortable.
    100 KB620×826 pxLooks like a normal photo on a laptop screen.
    200 KB876×1168 pxMore than any form photo needs.

    Each one took under a second. The tool lowers both the pixel dimensions and the JPG quality, balancing the two so the photo doesn't turn blocky. The result card shows the final size and dimensions, so you can check them against the form's rules before uploading.

    These numbers are for the whole photo. That's why cropping matters so much.

    Step 1: Crop first

    Most form photos only need your face and shoulders, but a phone photo also includes the wall behind you, the ceiling and your surroundings. All of that eats into your byte budget.

    Crop before you compress, using the edit button in your phone's gallery app. If you crop the photo down to a third of the frame, the same 50 KB is spent on a much smaller area, so your face comes out far sharper than in the uncropped version.

    If the form asks for a specific shape, like a square or a passport-style rectangle, use your phone's crop ratio presets to match it.

    Step 2: Make sure it's a JPG

    Most forms want JPG (sometimes written JPEG; they're the same thing). Fix the format before compressing:

    Step 3: Compress to an exact size

    1. Open the page for your limit: 20 KB, 30 KB, 50 KB, 100 KB or 200 KB. For any other number, use reduce image size in KB and type it in.
    2. Drop in your cropped JPG. It's processed on your device, not uploaded.
    3. Check the result: it shows the final size, the dimensions and a ✓ when it's under your target.
    4. Download and upload to the form.

    Why 10% under? Some forms count a kilobyte as 1,000 bytes, others as 1,024. A 50,500-byte file is 49.3 KB one way and 50.5 KB the other, so it can pass on your computer and fail on the form. Typing 45 instead of 50 avoids that and costs nothing visible.

    Signatures

    Many forms want a scanned signature at 10–50 KB. To get a clean one:

    • Sign with a dark pen on plain white paper. Thin ballpoint lines can disappear when compressed.
    • Photograph it in daylight, straight-on, with no shadow from your phone.
    • Crop tightly around the signature. The blank paper around it is wasted bytes.
    • Compress to the limit. A tightly cropped signature on a white background usually fits in 10–20 KB without trouble.

    Document scans (ID cards, certificates, transcripts)

    When a form wants documents as one PDF under 200 KB or 500 KB:

    1. Photograph or scan each page.
    2. Combine them with JPG to PDF (or merge PDFs if you already have PDFs).
    3. Compress to the limit with PDF to 200 KB, 500 KB or 1 MB.

    In our tests, scanned pages stayed clearly readable at about 40 KB per page, and got fuzzy at around 20 KB per page. So a 4-page document under 200 KB will look fine, while 10 pages under 200 KB will be hard to read. Our PDF compression test has the full numbers.

    For Pakistani passport applications, see compress documents for passport applications. For job portals, see compress a photo for a job application.

    Common upload errors and fixes

    ErrorLikely causeFix
    "File size exceeds limit" when it looks under1,000 vs 1,024 byte kilobytesCompress to 10% below the limit
    "Invalid file type"HEIC, PNG or WebP, or a .jpeg/.jpg mismatchConvert to JPG; if it still fails, check the extension the form lists
    "Image dimensions too small"The form sets a minimum pixel sizeCrop tighter instead of compressing harder, or use the next size up if allowed
    Upload works, but the photo is rejected laterToo blurry, or face too small in the frameCrop to head and shoulders, use good light, and use more of the size limit
    Upload fails with no clear messageSpecial characters or spaces in the file nameRename to something simple like photo.jpg

    FAQ

    Can I set exact pixel dimensions, like 200×230?

    Compressnfly chooses the dimensions automatically to hit the file size. If a form demands exact pixel dimensions, crop and resize to those in your phone's editor or a desktop editor first, then compress to the size limit and check the dimensions on the result.

    Will a 20 KB photo be accepted?

    If the form's limit is 20 KB, it's designed for photos that size, and the images in our test were perfectly recognisable. Cropping first makes a visible difference at this size.

    Is it safe to compress ID documents online?

    On Compressnfly, yes: files are processed in your browser and never uploaded to a server. Be cautious with sites that upload your documents for processing.