Guide

How to convert Aadhaar, PAN or a photo to a PDF under 1 MB

Photograph the card clearly, turn the photos into one PDF, shrink it if needed, and check every detail is still readable before you upload it.

Published · Facts checked on · By the Docshar team

हिन्दी में पढ़ें

To turn a photo of your Aadhaar card, PAN card or another ID into a PDF under 1 MB: take a clear, flat, well-lit photo of each side, crop it to the edges of the card, add the photos to JPG to PDF with the front first, and click Convert to PDF. If the PDF is over the limit, run it through Compress with a target such as 950 KB. Then open the file and check that the name, number, photo and any QR code are still clear.

Identity documents are sensitive, so this guide also covers where your file goes and how to clean up afterwards. Docshar's PDF tools process files in your browser; your card images are not uploaded to Docshar's servers (see the privacy policy, section 3.1).

Size and format rules differ between portals. Some ask for a PDF under 1 MB, others for 200 KB or less, a JPG instead of a PDF, or both sides on one page. Read the current instructions of the portal or office that asked for the document before you start.

Make the PDF

  1. Take a clear photo of each side. Lay the card flat on a plain, dark surface in even daylight, hold the phone directly above it and avoid flash glare. Take one photo of the front and, if the portal wants it, one of the back.
  2. Crop each photo to the card. Use your phone's gallery editor to crop to the edges of the card and straighten it. Less background means a sharper card on the page and a smaller file.
  3. Open JPG to PDF and add the photos. Go to JPG to PDF, click Choose files and select the photos. JPG, PNG, WEBP and GIF images are accepted. Use Add more files to add another one.
  4. Put the front first. Each image becomes one page. Drag the images, or use the up and down arrows next to each one, so the front comes before the back.
  5. Choose the page layout. For a normal document page choose Page size A4, Orientation Auto and Margin Small. Choose Same as image if you want each page to be exactly the size of the photo.
  6. Convert and download. Click Convert to PDF, then Download. Check the file size in the file list or your file manager.
  7. Compress if it is over the limit. Open Compress, add the PDF and type a target a little below the limit, for example 950 KB for 1 MB or 190 KB for 200 KB. Click Compress PDF and download the result.

Taking a photo that stays readable

The photo you start with matters more than any setting. A small file of a clear photo is readable; a small file of a blurry photo is not.

Photos already saved on your phone are often several megabytes each, which is why the PDF can be well over 1 MB before compressing. If your phone's scanner or camera app offers a document mode, it can crop and flatten the card for you.

Front and back: one PDF, in the right order

JPG to PDF puts each image on its own page, in the order shown in the file list, so a front and a back photo give a two-page PDF. Most portals that want both sides are fine with this, but check: some ask for both sides on a single page, or for separate uploads. If you need both sides on one page, the N-up tool can place two pages side by side on one sheet; check the result is still readable at that size.

Photos keep their correct rotation from the phone when converted. If a page still comes out sideways, turn it with Rotate, which does not change the image quality.

Getting the PDF under 1 MB (or less)

JPG to PDF keeps your photos at high quality, so the PDF is roughly the size of the photos combined. A 1 MB limit is usually easy to reach with Compress, because a two-page photo PDF consists almost entirely of images that can be re-compressed. Smaller limits such as 200 KB or 100 KB are often possible too, at some cost in sharpness.

More detail, including what to do when the file will not shrink, is in how to compress a PDF to 200 KB, 100 KB or 50 KB.

Check the PDF before you upload it

Open the final PDF in a normal viewer and zoom in. Check that you can read:

Also check the page count and order, and the final size in your file manager. If anything is unclear, go back to the original photos and compress to a larger target.

e-Aadhaar: you may already have a PDF

If you downloaded e-Aadhaar from UIDAI, it is already a PDF. UIDAI describes e-Aadhaar as a password-protected electronic copy of Aadhaar, digitally signed by UIDAI (UIDAI, Aadhaar online services FAQ). Two things to know:

UIDAI also offers a masked Aadhaar, in which the first 8 digits of the Aadhaar number are masked and only the last 4 are visible; according to UIDAI it is available only in e-Aadhaar (same FAQ). Whether a masked copy is acceptable depends on who is asking, so check their instructions.

Privacy: handling ID documents safely

An Aadhaar or PAN card links your name, photograph, date of birth and an identity number. Treat copies of it with care, whichever tool you use.

What happens to your file in Docshar

JPG to PDF and Compress run in your browser. The images and the PDF are read into your browser's memory, processed there and offered back as a download; Docshar's servers do not receive the file or its contents. When you are signed in, Docshar records that a tool was used, with the number, size and page count of the files, to apply plan limits, but not file names or contents. You can check this yourself: open your browser's developer tools, go to the Network tab and run the tool; you will not see your file being uploaded. Details are in the privacy policy.

Before you use any online service with an ID

Clean up afterwards

Troubleshooting

Tips

Frequently asked questions

How do I put the front and back of my Aadhaar card in one PDF?

Add both photos to Docshar JPG to PDF, put the front first using the arrows or by dragging, and click Convert to PDF. Each photo becomes one page, so you get a two-page PDF. If the portal wants both sides on one page, the N-up tool can place two pages on one sheet.

How do I get the PDF under 1 MB?

Open Docshar Compress, add the PDF and type a target slightly below the limit, such as 950 KB, then click Compress PDF. A PDF made from two phone photos usually shrinks well because it consists almost entirely of images. Check the result is still readable before uploading.

Is my Aadhaar or PAN card uploaded to Docshar?

No. JPG to PDF and Compress process the files in your browser, and Docshar's servers do not receive the file or its contents. You can confirm this in your browser's developer tools (Network tab). Still delete copies from shared devices afterwards.

What is masked Aadhaar?

According to UIDAI, in a masked Aadhaar the first 8 digits of the Aadhaar number are masked and only the last 4 are visible, and it is available only in e-Aadhaar. Whether a masked copy is accepted depends on the organisation asking for it.

Why does the portal reject my file?

Portals can have rules about size, format, page count and layout. Check the current instructions for the exact limit (and whether it means PDF or JPG), make sure the file is a little below the limit, and confirm every detail on the card is readable.

Sources