Compress Passports, Photos & PDFs Under 50 KB or 200 KB Locally

Government, exam, and visa portals reject oversized phone scans. Hit strict 20 KB, 50 KB, and 200 KB caps locally without uploading private IDs.

PDF & Docs · Kapil Pidhwani · 4 min read
Toolity Fox mascot holding PDF and document tools

Common Portal Upload Limits and Safe Settings

A 12-megapixel phone camera captures roughly 4000 by 3000 pixels per shot. On an A4 document scan, that frame exceeds 300 DPI and saves a 3 MB to 8 MB file.

Dropping JPEG quality to 10% on a full-resolution photo leaves all 12 million pixels intact. The encoder smears fine stamps, dates, and small ID numbers into blocky artifacts while still missing a 50 KB or 200 KB cap.

Scaling pixel dimensions or page DPI first removes 80% to 90% of redundant pixels. A 300 DPI A4 page holds 8.7 million pixels, whereas a 110 DPI page holds 1.2 million pixels. With fewer pixels to store, JPEG quality 70 keeps text, faces, and barcodes sharp inside strict portal limits.

Tier 1: 300+ DPI Phone Scan 2480 x 3508 px · Unresized camera frame ~3.4 MB · Rejected by portals Tier 2: 110 to 150 DPI + Quality 70 910 x 1285 px · Sweet spot for A4 IDs ~145 KB · Crisp text & passes 200 KB cap Tier 3: Low Quality Without Resizing 2480 x 3508 px · Dropped to Quality 10 Blurry stamps & still oversize
Resizing an A4 scan to 110 or 150 DPI at JPEG quality 70 keeps small ID text legible under a 200 KB portal cap.

Match your compression settings to the document type and upload slot before saving:

Upload Slot & Limit Recommended Local Settings Why It Works
Scanned Signature (10 - 20 KB) Crop tight + 800 px max + Target 18 KB JPG Trims white paper so ink strokes stay dark and clean
Passport / Exam Photo (20 - 50 KB) Crop to ratio + Target 45 KB JPG (keep PNG-to-WebP unchecked if portal requires .jpg) Hits exact byte caps in legacy JPEG format
Single-Page ID PDF (100 - 200 KB) Maximum mode at 110 DPI, JPEG quality 70 Shrinks megabyte phone scans ~85% with clear ID text
Digital Text Resume / Form (< 300 KB) Keep text · lossless mode Strips PDF overhead so text stays selectable

Digital exports from Word or Google Docs store font vectors, so lossless cleanup shrinks them cleanly. Camera scans store full-page photos and require Maximum mode to re-encode those images.

Hit Exact 50 KB Photo and 200 KB PDF Caps Locally

Follow these four steps in your browser to pass strict portal upload checks on the first attempt:

  • Crop empty desk borders first. Trim background margins before compressing so every byte goes toward the document or face.
  • Set an exact KB target on photos. Open Image Compressor Settings and uncheck Convert PNG to WebP if the portal demands JPG. Type 48 or 195 into Target size (KB).
  • Re-render heavy scanned PDFs. Open PDF Compressor Settings and switch Mode from Keep text to Maximum. Pick 110 DPI (or 150 DPI) at quality 70.
  • Check legibility at full zoom. Zoom the preview to verify ID numbers and signatures remain legible before downloading.
Multi-page scan tip: Convert a color scan with Grayscale PDF before compression to cut another 30% to 45% on multi-page forms.

Frequently Asked Questions

Why did Keep text mode barely shrink my scanned PDF?

Scanned PDFs store each page as a full-page photo rather than text characters. Switch Mode to Maximum at 110 DPI and quality 70 to shrink those embedded page images.

How does the Target size (KB) box hit 50 KB automatically?

Image Compressor runs a fast binary search across quality levels in your browser until the output fits under your KB limit. If minimum quality stays too large, it scales pixel dimensions down automatically.

Why did a government portal reject my compressed WebP photo?

Many exam and visa portals only accept .jpg or .png uploads and block .webp files. Uncheck Convert PNG to WebP to keep PNG format, or convert screenshots to JPG in Image Converter first.

Are my passport or KYC files uploaded to Toolity?

No. HTML Canvas, PDF.js, and pdf-lib process every image and PDF locally inside your browser RAM. Your identity documents never leave your device.

Toolity Fox mascot winking Kapil Pidhwani Kapil builds Toolity.in, a privacy-first suite of free utilities that run locally in your browser. LinkedIn · About Toolity
Copied to clipboard