SiliphBlog
How to compress PDF before uploading to DigiLocker when file size fails
📄 PDF GuideIndia

How to compress PDF before uploading to DigiLocker when file size fails

7 min read · 1,368 words

How does DigiLocker PDF compress work?

How to compress PDF before uploading to DigiLocker when file size fails

Learn how to compress PDF before uploading to DigiLocker when file size fails. Step-by-step guide to reduce files below 2MB for digilocker.gov.in.

Sourced from this article · Siliph Editorial
AP

Anupam Pradhan

Founding Editor

Updated July 24, 2026

If your document upload is failing because the file exceeds the 2MB limit, you can use the free Siliph DigiLocker PDF compress tool to [compress PDF for DigiLocker](/compress-pdf-digilocker-upload) online and complete your upload on digilocker.gov.in immediately.

Who needs this guide

Every day, thousands of Indian citizens face frustrating upload errors on digilocker.gov.in. Whether you are a farmer uploading land mutation records (Jamabandi or Patta) to secure agricultural subsidies, a driver saving a scanned copy of your driving license, or a candidate uploading educational certificates for central and state government jobs, document size issues are incredibly common.

When you scan documents at a local cyber cafe, CSC (Common Service Centre), or even with a smartphone scanner app, the default settings often capture the image at a very high resolution. This results in files that are 5MB, 10MB, or even larger. When you try to upload these files to your personal DigiLocker account, the portal immediately rejects the file or hangs indefinitely, showing an "upload failed" or "file size exceeds limit" error.

This practical step-by-step guide is designed to help you prepare your files correctly. By following these instructions, you can bypass system errors and successfully secure your important records on the DigiLocker platform without paying high fees at a cyber cafe.

digilocker.gov.in upload requirements

DigiLocker has strict system guidelines to ensure that its storage infrastructure remains fast and responsive for over 100 million users. The portal allows citizens to manually upload scanned copies of physical documents to their "Drive" storage area. However, these documents must comply with precise system limits.

While the platform supports formats such as PDF, JPEG, and PNG, the PDF format is highly recommended. It allows you to combine multiple pages—such as multi-semester marksheets, multi-page property deeds, or front-and-back scans of identity certificates—into a single file.

Below is a reference table detailing the typical limits and optimization tips for common documents on DigiLocker:

DocumentTypical limitTip
Aadhaar Card Scan2MBMerge front and back pages into a single PDF before compressing.
educational Marksheets2MBFor multi-page certificates, merge all semesters into one optimized PDF.
Vehicle RC & Insurance2MBCompress the file to under 1MB so that it loads quickly on your mobile app during police checks.
Income/Caste Certificate2MBScan at 150 DPI to ensure government digital signatures and barcodes remain clear.
Land Records (Jamabandi)2MBMulti-page deeds must be compressed carefully to keep historical handwriting legible.

Step-by-step: compress PDF for DigiLocker

Whether you are using a desktop computer or your mobile phone, reducing your document size with Siliph is quick and secure. Follow these six simple steps to compress your file:

Step 1: Open the Siliph Tool

On your smartphone or computer browser, work through directly to the DigiLocker PDF Compressor. You do not need to install any apps or create an account, which keeps your personal documents secure.

Step 2: Upload Your File

Click on the "Select PDF File" button or drag and drop your large PDF into the designated upload area. Siliph processes files directly in your web browser, ensuring that sensitive documents like Aadhaar cards or certificates are handled with complete privacy.

Step 3: Choose Your Compression Level

Select the standard compression setting. This option is specially optimized for official government documents, balancing file size reduction with visual clarity. It strips away hidden system metadata and overly dense color layers while preserving the actual letters and numbers on the page.

Step 4: Verify the Preview Size

Once compression is complete, the tool will display the new file size. Ensure that the compressed file is under the 2MB limit. A target size of 500KB to 1.5MB is ideal, as smaller files upload much faster on slower mobile networks.

Step 5: Download the Compressed PDF

Click the "Download" button to save the newly optimized file. If you are on an Android or iOS device, the file will be saved directly to your device's "Downloads" folder or "Files" app. Double-check the file name to ensure it is easy to find.

Step 6: Re-upload to the DigiLocker Portal

Log in to your account at digilocker.gov.in or open the official DigiLocker mobile app. Work through to the "Drive" section, tap "Upload File", select your newly compressed PDF, and confirm the upload. Your document will now save successfully to your cloud storage.

Fix common portal errors

If you still run into issues while uploading your files, consult these proven solutions for common DigiLocker errors:

File too large

If your file still exceeds 2MB after compression, it is likely because the original scan was saved at an extremely high resolution (e.g., 600 DPI). To fix this, run the file through Siliph again using the high compression setting, or re-scan the document at a lower resolution of 150 DPI to 200 DPI before compressing it.

Blurry scan rejected

If DigiLocker rejects your document or you cannot read the text after compression, the image quality has dropped too low. This usually happens when the original scan was poor. Re-scan your document in a well-lit area, make sure the camera is flat over the paper, and then compress it using standard compression instead of high compression.

Wrong format

DigiLocker only accepts files ending with.pdf,.jpeg, or.png. If your file is a Word document (.docx) or an internet link, it will be rejected. Do not simply change the file extension manually (e.g., renaming "file.docx" to "file.pdf"), as this will corrupt the document. Use a trusted converter first, then compress the resulting PDF.

Upload timeout

If you have a slow internet connection (especially common on rural mobile data networks), uploads can fail even if your file is under 2MB. To resolve this, compress your PDF to a very small size—such as 500KB or lower—which requires less bandwidth and will complete uploading before the server connection times out.

FAQ

What is the maximum file size for uploading documents to DigiLocker?

The maximum size limit is 2MB (2048 KB) per file for any document uploaded manually to the DigiLocker Drive. Files larger than this limit will fail to upload and display system errors on digilocker.gov.in.

Can I upload password-protected PDFs to DigiLocker?

No, DigiLocker cannot index or display password-protected PDFs. If you are uploading a password-secured file like an e-Aadhaar or a bank statement, you must remove the password security before compressing and uploading the document.

Why does my PDF upload fail even if it is under 2MB?

This issue is usually caused by special characters in the filename (such as @, #, $, or spaces) or an unstable internet connection. Rename your PDF to a simple, single-word name like "marksheet.pdf" and try uploading it again.

Will compressing my PDF make the text unreadable for government verifications?

No, the Siliph compression tool is designed specifically to maintain the readability of text and official stamps. It reduces file size by removing unneeded background data while keeping barcodes, signatures, and texts crisp and clear.

How do I upload documents to my DigiLocker Drive from a mobile phone?

Open the DigiLocker mobile app or go to digilocker.gov.in on your phone's browser. Log in, go to the "Drive" tab, select the upload folder, click the upload icon, select your compressed PDF from your local storage, and tap upload.

Compress now on Siliph

Do not let file size issues delay your important government applications. Prepare your files quickly by using the DigiLocker PDF Compressor online tool. If you have standard PDFs that need general optimization, you can also use our main PDF Compressor tool to reduce file sizes for any official portal instantly.

[DigiLocker PDF Compress](/compress-pdf-digilocker-upload) — free, browser-based, built for DigiLocker Document Upload uploads. No signup required on the free plan.

More free tools on Siliph:

  • DigiLocker PDF Compress
  • PDF to Word Converter Free
  • Convert PDF to Word Free
  • Sign PDF Online Free
  • eSign PDF Online
  • SSC Photo Resizer
  • Browse all tools at /tools or exam compressors at /exam-tools.

    AP

    Anupam Pradhan

    Founding Editor

    Founder of Siliph. 14+ years covering fintech, document workflows, and digital banking across India and global markets.

    More from this author →

    Discussion0

    Community Guidelines

    Loading discussion...

    More From Siliph Blog