July 10, 2026

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

You are filling out an online application β€” a job portal, university admission, visa form or ID card service β€” and at the last step it throws an error: “Photo must be less than 20KB” or “File size exceeds the maximum limit.” Your phone’s camera produces photos of 3–8 MB, which is 150–400 times larger than what most portals accept.

The good news: getting a photo, signature or document under a strict KB limit takes about two minutes once you know the right order of steps. This guide walks you through the whole process using free tools that run entirely in your browser, so your ID photos and documents are never uploaded to anyone’s server.

Common file size requirements for online forms

Every portal is different, but most application systems ask for something close to these limits:

File Typical size limit Typical dimensions Format
Passport-style photo 20KB – 50KB 200 Γ— 230 px (or 3.5 Γ— 4.5 cm) JPG / JPEG
Signature 10KB – 20KB 140 Γ— 60 px JPG / JPEG
Scanned documents 100KB – 500KB A4 scan PDF
Certificates / marksheets 100KB – 300KB per file A4 scan PDF or JPG

Always check the exact requirements printed on your portal’s instructions page β€” dimensions and limits vary between systems, and a file that is the wrong size in pixels can be rejected even when the KB limit is met.

KB vs pixels: the two things that control file size

Two separate properties decide how many kilobytes an image weighs:

The most common mistake is compressing a full-resolution photo again and again and wondering why it will not go below 200KB. Resize first, compress second. That order matters.

Step 1: Resize the photo to the required dimensions

  1. Open the free Image Resizer.
  2. Select your photo (JPG or PNG).
  3. Enter the exact width and height your form asks for β€” for example 200 Γ— 230 pixels for a photo. Turn off the aspect-ratio lock if the portal requires exact dimensions.
  4. Download the resized image.

If your photo has extra background around your face or your signature has empty space around it, crop it first with the Image Cropper so the subject fills the frame before you resize.

Step 2: Compress the image to hit the KB target

  1. Open the Image Compressor.
  2. Add the resized image from Step 1.
  3. Lower the quality slider until the output size shown is under your limit.
  4. Download the compressed file and check its size before uploading it to the portal.

Pro tip: aim a little below the limit β€” around 18KB for a 20KB cap, or 45KB for a 50KB cap. Some portals calculate file size slightly differently, and that small buffer prevents a frustrating rejection at the final step.

A photo that has already been resized to around 200 Γ— 230 pixels compresses to under 20KB very easily and still looks sharp at that size, because the portal only ever displays it small.

Using an iPhone photo? Convert HEIC to JPG first

iPhones save photos in HEIC format by default, which most application portals do not accept. Convert the photo with the HEIC to JPG converter first, then follow Steps 1 and 2 above. The same applies to modern Android phones that save in WebP β€” the WebP to JPG converter fixes that in one click.

How to get a clean signature under 20KB

Signatures have the strictest limits β€” often just 10–20KB β€” but they are also the easiest files to compress, because a signature is mostly white space with dark ink. To get a clean result:

No scanner or paper handy? Draw your signature directly with the Signature Maker and download it as a PNG. If your portal insists on JPG, run it through the PNG to JPG converter, which also gives it the white background most forms expect.

Need a PDF under 100KB?

Document uploads β€” certificates, transcripts, ID scans β€” usually need to be PDFs under 100–500KB. Two things help:

If your “document” is actually a photo of a certificate, compress the image first, then turn it into a PDF with the JPG to PDF converter. Combining several pages? It merges multiple images into one PDF in a single step.

Why privacy matters when compressing ID documents

Think about what you are compressing: your face, your signature, your national ID, your certificates. Most online converters upload those files to a remote server for processing, where copies may be stored for minutes, hours or indefinitely β€” governed by a privacy policy almost nobody reads. In 2025 the FBI even warned about free file converter sites that steal data from uploaded documents or return files laced with malware.

Every tool linked in this guide works differently: the entire process runs locally in your browser using JavaScript, and your files never leave your device. You can even switch off your internet connection after the page loads and the tools keep working. For identity documents, that is the only kind of “online” tool worth trusting.

Quick reference: the full workflow

  1. Wrong format? HEIC to JPG or PNG to JPG
  2. Crop the subject: Image Cropper
  3. Resize to exact pixels: Image Resizer
  4. Compress under the KB limit: Image Compressor
  5. PDFs: Compress PDF or JPG to PDF

Frequently asked questions

Will compressing a photo to 20KB make it blurry?

Not if you resize first. A 200 Γ— 230 pixel photo saved at moderate JPG quality fits comfortably under 20KB and looks perfectly sharp at the size portals display it. Blurriness happens when people skip resizing and force a huge image down to 20KB with extreme compression.

How do I check my photo’s file size in KB?

On Windows, right-click the file and choose Properties. On a phone, open the file details in your gallery or files app. The compressor tool also shows the exact output size before you download.

Why does the portal still reject my file?

Three usual suspects: the dimensions in pixels do not match the requirement, the format is wrong (PNG where JPG is required), or the file is exactly at the limit and the portal measures size differently. Fix the dimensions, convert the format, and keep a 2–5KB buffer below the limit.

Can I enlarge a small photo instead of retaking it?

You can upscale dimensions with an Image Enlarger, but upscaling cannot restore detail that was never captured. For ID photos, retaking the picture always beats enlarging a tiny one.

Is it safe to compress ID photos online?

Only if the tool processes files locally in your browser. If a site uploads your document to its server, you lose control of that copy. All Toologee tools are 100% client-side β€” nothing is ever uploaded.

Ready to get your form accepted on the first try? Start with the free Image Compressor β€” no sign-up, no watermark, no uploads.