sqwart
All posts

How to Reduce Photo Size to 20 KB or 50 KB for Online Forms

Your phone takes photos of 2–5 MB. The exam or government form you are filling wants a JPG of 20 KB, or somewhere between 20 and 50 KB. That is a file roughly a hundred times smaller, and the portal rejects anything outside the window without telling you why. Here is how to get it right the first time, on a phone or a computer.

Quick answer: open Compress image to 20 KB, choose your photo, press Compress and download the JPG. For any other limit, type the number into Resize image in KB. If your form also fixes the pixel size (IBPS, PAN, passport), use the exam photo and signature resizer, which sets pixels, KB and DPI together. All three run in your browser; nothing is uploaded.

First, read three numbers in your form’s notice

Every upload rule is made of up to three numbers. Find them before you touch the photo, because they decide which tool to use:

  • File size in KB, often as a range such as 20–50 KB for a photo and 10–20 KB for a signature. Files below the minimum are rejected just like files above the maximum.
  • Pixel size or printed size, such as 200 × 230 pixels, or 3.5 × 4.5 cm. Some forms give none.
  • Format, almost always JPG/JPEG. Some forms also name a DPI, such as 200.

A few real examples from official notices, as of November 2026: IBPS asks for a 200 × 230 pixel photo of 20–50 KB and a 140 × 60 pixel signature of 10–20 KB. The PAN card form through Protean asks for a photo of up to 20 KB at 2.5 × 3.5 cm and 200 DPI, and a signature of up to 10 KB. NTA’s JEE Main and NEET photos can be 10–200 KB with no fixed pixel size. Rules change between cycles, so always check the notice for your own exam.

If the form gives only a KB limit

This is the easy case. Use Compress image to 20 KB (there is also a 50 KB version), or Resize image in KB for any other number:

  1. Open the tool and choose your photo. JPG, PNG, WEBP and iPhone HEIC all work.
  2. Check the target. Type the maximum from your notice, or a little under it.
  3. Press Compress. The tool tries several JPEG quality levels, keeps the best one that fits, and only shrinks the pixel size if quality alone cannot get there.
  4. Compare the before and after, then download the JPG and upload it.

The file always comes out at or just under your target, never over. If your form has a minimum and the result is below it, raise it with Increase image size in KB.

If the form also fixes the pixel size or DPI

Bank, PAN and passport forms check dimensions too. Compressing alone gives the right KB but the wrong shape, and the portal still refuses it. The exam photo and signature resizer handles all of it in one pass:

  1. Pick your form from the list (IBPS, UPSC, SSC, PAN, Passport Seva, NEET, JEE, CUET), or choose Custom and type the width, height, KB range and DPI from your notice.
  2. Choose the photo or signature and drag the crop box, which is locked to the form’s shape, so your face sits in the middle.
  3. Press Make JPG. It sets the exact pixels and DPI and finds a quality that lands inside the KB window.
  4. Read the checker’s pass marks for format, pixels, KB and DPI, then download.

If your notice gives centimeters, the conversion is cm ÷ 2.54 × DPI. A 3.5 cm side at 200 DPI is 276 pixels. The Custom option does that math for you.

On a phone

You do not need an app. Open the tool page in Chrome on Android or Safari on iPhone, tap the upload box and pick the photo from your gallery or Files. The download lands in your Downloads folder (Android) or Files app (iPhone), and the form’s upload button can pick it from there.

Two phone-specific tips. On iPhone, the Photos picker sometimes hands the browser a HEIC file; the Sqwart tools read HEIC and output JPG, so that is fine. On Android, some gallery apps “share” a lower-resolution copy; choose the file through the Files option for the original.

On a computer, with what is already installed

Built-in tools can get you close, though none of them aim at a KB number directly:

  • Windows 11 Photos: open the photo, use the menu’s Resize image option, choose a custom size and a lower quality, and save. Check the size in File Explorer and repeat if it is still too big.
  • Windows Paint: Resize by pixels, then Save as JPEG. Paint gives no quality control, so small targets like 20 KB often need a second try.
  • Mac Preview: Tools → Adjust Size for pixels, then File → Export as JPEG. The quality slider shows the resulting file size as you drag, which makes a KB target workable.

These work, but you are guessing quality and checking by hand. A tool that searches for the size does in a second what takes several rounds of trial and error, and it does not miss the minimum.

Getting a good-looking photo at 20 KB

  • Crop before you compress. Empty wall and background use up bytes. A tight crop on your head and shoulders leaves more of the 20 KB for your face.
  • Shoot in daylight against a plain light wall. Dim photos are full of noise, and noise is expensive to store. A clean, evenly lit photo compresses far better.
  • Do not compress twice. Start from the original photo each time. Re-compressing an already tiny JPG stacks the damage.
  • Signatures: sign in black ink on white paper and use the signature resizer, which trims the empty paper, whitens the background and darkens the ink before sizing.

Why the portal still says “invalid file”

If a file looks right but is refused, check these in order:

  1. Over the limit by a hair. Windows counts 1 KB as 1024 bytes; macOS counts 1000, so a Mac shows a slightly bigger number for the same file. Aim a few KB under the maximum.
  2. Under the minimum. A small signature can come out at 6 KB. Raise it with the increase tool; the form resizer does this for you by padding the file without changing the picture.
  3. Wrong format. A file renamed from .png to .jpg is still a PNG inside. Export a real JPG.
  4. Wrong pixel size. If the notice names pixels, the portal may check them. Use the form resizer.

FAQ

How do I reduce a photo to 20 KB without losing quality?

Crop away empty background first, then resize to the pixel size your form asks for, and only then compress. A 200 × 230 pixel photo fits under 20 KB at a good JPEG quality; a full 12-megapixel phone photo does not, so it has to lose detail.

My form says the photo must be between 20 KB and 50 KB. Which size should I aim for?

Aim for the middle of the window, around 30–40 KB. That leaves room for the two ways portals count a kilobyte (1000 or 1024 bytes) and still looks sharp. If the file comes out below the minimum, use the increase image size in KB tool.

Can I compress a photo to 20 KB on my phone?

Yes. Open Sqwart’s compress image to 20 KB tool in Chrome or Safari, choose the photo from your gallery, and download the JPG. It runs in the browser, so you do not need to install an app.

Why does the portal say my file is the wrong format?

Most Indian government and exam portals accept only JPG or JPEG. iPhone photos are often HEIC and screenshots are often PNG. Every Sqwart photo tool outputs JPG, so the format problem goes away when you compress.

Is it safe to compress ID photos online?

With Sqwart’s tools the photo never leaves your device: it is decoded and compressed inside your browser, and nothing is uploaded. You can switch off your internet after the page loads and the tool still works.