Processing...
PDF

Compress PDF for DigiLocker Upload — Aadhaar, PAN & Certificate Size Fix

DigiLocker and issuer portals reject oversized PDF scans. Compress identity documents and education certificates without losing readable text.

Published June 1, 2025 · 7 min read

Try it free — no signup

3 uses per day · 200 MB · TLS encrypted · auto-delete

Use free tool →

Compress PDF for DigiLocker — Aadhaar, PAN & certificates

RatPDF Compress PDF shrinks oversized files with Ghostscript — no Adobe install. This guide covers real portal workflows, compression levels, quality traps, and when to merge or split instead.

Pillar: Compress PDF guide · Compare: Smallpdf alternative.

Screenshot placeholder: DigiLocker certificate upload success after compress

DigiLocker and issuer PDF limits

Education certificates and PAN/Aadhaar scans must stay readable — target 500 KB–2 MB per document.

Real example: Class XII marksheet upload

  1. Scan 200 DPI grayscale — not phone photo at wall.
  2. Recommended compress — verify roll number at zoom.
  3. Upload to DigiLocker issuer flow.

DigiLocker document types

PAN, Aadhaar, driving licence pulls from issuer APIs — user uploads are often education certificates, skill certs, or employer letters. Each issuer sets max size — commonly 1–2 MB.

Issuer vs DigiLocker app upload

CBSE marksheet may flow from board — no compress needed. Third-party cert scan — compress required. Read issuer FAQ before batch scanning stack of documents.

Second example: NEET admission counselling

Scorecard + category cert + domicile — three slots 2 MB each. Phone photos 6 MB each — scan at 200 DPI grayscale, Recommended compress, verify roll numbers character by character.

Aadhaar masking

Mask first 8 digits on photocopy before scan for some employers — compression does not replace masking policy. UIDAI guidelines evolve — check current circular.

Linked services

DigiLocker docs pulled into Passport Seva or state schemes — if source PDF in locker still too large, re-compress before share. Passport Seva compress.

Mobile scan apps

Microsoft Lens, Adobe Scan — set DPI before export to PDF. Auto-enhance can inflate noise — sometimes plain camera scan + compress beats over-processed filter.

Shrink your PDF for this workflow Compress PDF now →

Compression levels on RatPDF

Less (Low): minimal image re-encoding — legal scans, signatures, stamps. Recommended (Medium): default for email and most portals. Extreme (High): last resort — verify footnotes and seals after.

When split beats compress

Already-optimised digital PDFs may not shrink enough — split PDF or split for email when portal allows multiple files.

Pre-upload checklist

  1. Check portal cap with PDF size checker
  2. Rotate scans upright before compress
  3. One compression pass after final merge
  4. Keep uncompressed master until upload succeeds
  5. Verify text selects for ATS/legal docs

Email and messaging after compress

Gmail: Gmail compress · Outlook: Outlook · WhatsApp: WhatsApp · Telegram: Telegram.

Visa and immigration variants

Visa application · UKVI · Australia Home Affairs · Canada immigration · Schengen.

Industry-specific compress guides

Accountants closing month-end: accountants. Law firms on ECF deadline: lawyers and e-filing. Students on LMS: LMS uploads.

File naming for portal sanity

Use Lastname_Passport_2026.pdf not scan0003.pdf — officers match documents faster; you track which compress level you applied per filename suffix if needed (_rec.pdf).

Browser and device tips

Chrome and Edge handle large uploads better than some mobile WebViews. If mobile upload fails, retry desktop Wi-Fi. Clear cache if upload stalls at 99% — rare service worker glitch.

Ghostscript compression levels explained

Less: minimal image re-encoding — use for legal scans and signatures. Recommended: default for email and portals. Extreme: last resort when portal still rejects — verify text at 100% zoom.

When compression fails to help

Already-optimised digital PDFs may shrink only 5–15%. If still over cap, split PDF or merge-then-compress workflow — decision guide. Password-protected PDFs must be unlocked before compress shows true size drop.

Size checker workflow

Upload to PDF size checker with preset (Gmail 20 MB, portal 5 MB) before and after compress — avoids guesswork. Log before/after MB in ticket if helping client remotely.

Linearise for web view

Some portals re-render first page preview — very large files may timeout preview while upload succeeds — compress improves preview reliability on slow connections.

Shrink your PDF now Compress PDF →

Scan hygiene before compress

Phone photos at full resolution produce 15–40 MB single-page PDFs. Scan 200–300 DPI grayscale for text proofs — colour only when stamps matter. Rotate before upload. Crop black borders from phone camera edges — empty pixels still add weight after JPEG encode.

Double-compression trap

Compress → merge → compress again softens text twice. Prefer one compression pass after final bundle is assembled. If first pass used Extreme, second pass rarely helps — re-scan or split instead.

ATS and text layer

Job PDFs must stay text-selectable after compress — avoid Extreme on vector resumes. Job application guide · Indeed · Naukri.

Portal size reference (verify live)

DestinationTypical capNotes
Gmail attachment25 MB messageBase64 overhead ~33%
Schengen VFS2–5 MBMerge then compress
India govt portals500 KB–5 MBPer slot, not merged
CM/ECF courts35 MB filingExhibits may be lower
Common App~10 MBPer document

Always confirm on the live upload widget — caps change without notice.

Ghostscript internals (plain English)

Compression re-encodes embedded raster images, removes duplicate font subsets, and strips unused objects. Vector text paths are not rasterised unless you flatten the PDF elsewhere first. That is why a 200-page text-only annual report may compress 8% while a 10-page photo brochure drops 70%.

Upgrade prompt

High daily volume: compare plans · Compare: Smallpdf alternative · iLovePDF alternative.

Mobile compress on iOS/Android

Safari/Chrome compress without app install — save to Files, attach to portal. iPhone workflow · Android: upload from Downloads after compress, not ephemeral chat attachment.

Post-compress QA checklist

  1. Page count unchanged
  2. Text still selects (ATS/legal)
  3. Signatures/stamps legible at 150% zoom
  4. Hyperlinks work if present
  5. File size under portal preset
  6. PDF opens without password unless intended
  7. File extension .pdf not .pdf.pdf from browser quirk

Bandwidth and retry logic

Rural upload on 3 Mbps: 8 MB file needs ~30 seconds — do not refresh mid-upload. If portal times out, compress further or split — error rarely means server down; usually size.

Closing summary

Compress is reversible only if you kept the original — never delete masters until upload succeeds. Chain tools: merge → OCR → compress as workflow demands. Main guide: full compress PDF guide.

Industry cross-links

Lawyers: compress for lawyers · Realtors: realtors · Healthcare: healthcare · Accountants: accountants.

Merge and OCR chain

OCR'd scans are larger — OCR PDF then compress. Multi-file: merge then compress decision.

Related guides & cluster links

Research: PDF compression benchmark · Attachment size limits

Portal rejection messages decoded

"File size exceeds maximum" — compress or split. "Invalid PDF" — re-export from source, not just compress corrupted file. "Password protected" — unlock first. "Scan not readable" — re-scan at 200 DPI, do not only compress blurry source.

Batch compress for accountants

Month-end: 40 vendor invoices over Gmail cap — batch compress with Recommended, verify GSTIN on each, attach individually not one zip (many portals block zip).

Encryption and compress order

Compress before password-protecting final delivery — encrypted PDFs compress poorly. Client portal wants encrypted upload? Ask if they accept compress-then-encrypt workflow.

Colour vs grayscale for government

Passport stamps in colour — grayscale may lose red ink visibility. Test one page before batch converting colour scans.

Compare tools honestly

Smallpdf · iLovePDF · Adobe — RatPDF uses Ghostscript server-side; no desktop install.

Freelancer archive hygiene

Five years of contracts at 2 MB each = 10 GB — compress archive copies, keep originals for active disputes only.

Re-scan vs re-compress decision

If clerk says "illegible" not "too large" — higher DPI re-scan beats Extreme on blurry source. Compression cannot invent detail that was never captured.

Seasonal and deadline workflows

Tax season, college application deadlines, and court filing cutoffs create traffic spikes on compress tools. Prepare files the day before: scan at correct DPI, name files by portal slot, run compress with headroom under cap. Last-minute Extreme compression on illegible source wastes one rejection cycle you cannot afford on deadline night.

Corporate IT policy angle

Some enterprises block consumer PDF SaaS — RatPDF runs in browser without install; still verify DLP policy allows upload of client matter. Compress copies for external portal while privileged master stays on firm DMS. Log which derivative left the organisation.

Accessibility after compress

Tagged accessible PDFs remain tagged through Ghostscript compress in most cases — verify heading navigation after compress if publishing for public sector. WCAG 2.2 PDF guide.

Split and merge decision recap

One slot: merge then compress. Many slots: compress each. Too large after Less: split. Password blocked: unlock first. Image-only scan needing search: OCR then compress.

Support escalation data to collect

If upload still fails after compress: exact portal error text, cap in MB/KB, original size, compressed size, compression level used, screenshot of upload widget. Support resolves faster with that bundle than "it does not work."

Preserve evidence chain

Immigration and insurance claims sometimes audit whether PDF was altered — keep original scan plus compressed submit copy with dated filename. Hash both if organisation policy requires integrity proofs.

More guides

Compression guides link to our compress PDF guide. Compliance guides cover GST, e-invoice, redaction, and accessibility.

Compress PDF free · Upgrade plans

Ready to try it?

3 uses per day · 200 MB · TLS encrypted · auto-delete

Use free tool →

Frequently asked questions

Why does DigiLocker reject my PDF upload?

File exceeds the portal's per-document size cap — common with phone camera scans at full resolution.

How do I reduce PDF size for DigiLocker?

Compress with Recommended; aim for under 1 MB on tight slots using the PDF size checker.

Should I merge documents before uploading to DigiLocker?

Upload one document per slot unless the issuer explicitly allows a combined PDF.

Sources & references

Primary references used when researching and fact-checking this guide. See our editorial methodology.

  1. — Artifex Software
    Compression level behavior and PDF output settings.