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
- 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.
- 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.
- 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.
- 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.
- 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.
- Convert and download. Click Convert to PDF, then Download. Check the file size in the file list or your file manager.
- 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.
- Light: soft daylight near a window works best. Direct sun and flash cause glare on laminated or glossy cards, which can hide digits.
- Flat and square: hold the phone parallel to the card. A tilted shot makes text at one end smaller and harder to read.
- Focus: tap the card on the screen to focus, and keep the phone steady. Check the photo zoomed in before moving on.
- Whole card: keep all four corners in the frame and do not cover any part with your fingers.
- Background: a plain surface that contrasts with the card makes cropping easier.
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.
- Type a target slightly below the limit, because Docshar counts 1 KB as 1,024 bytes and some portals count it as 1,000.
- Use the largest size the portal allows; it gives the clearest result.
- For very small limits, tick Allow turning pages into images to reach the size. For a photo of a card this changes nothing you would notice, because the page is already an image.
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:
- the name, date of birth and every digit of the number, without guessing;
- the photograph on the card, clearly enough to recognise the person;
- the signature on a PAN card, and any hologram or text that the portal may need;
- the QR code, if the card has one: it should be sharp, with clean edges and no glare. Heavy compression can blur a QR code before the text becomes hard to 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:
- Docshar's tools cannot open a protected PDF until it is unlocked with its password. See how to remove a password from a PDF you own.
- Unlocking, compressing or otherwise changing a digitally signed PDF in any tool can make the signature show as invalid. If a portal asks for the e-Aadhaar file itself, upload it as downloaded and check whether the portal expects it password-protected.
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
- Read how the service handles files: whether they are uploaded, how long they are stored, and who can access them.
- Upload ID documents only to the organisation that asked for them, through its official website or app.
- Never send your documents to Docshar by email or chat. The tools work on your own device, so there is never a reason to send us an ID.
Clean up afterwards
- Delete the photos and PDFs from the Downloads folder, gallery and any "recently deleted" folder on shared or public computers and phones, such as at a cyber café or office.
- Close the browser tab when you are done, and sign out of portals on shared devices.
- Be careful with auto-backup: photos of your card may also be copied to a cloud gallery.
- Keep one good original in a safe place, so you do not have to photograph the card again next time.
Troubleshooting
- "Is not supported here": JPG to PDF accepts JPG, PNG, WEBP and GIF files. Some phones save photos as HEIC. Save or share the photo as JPG instead (on iPhone, the camera setting Formats > Most Compatible takes JPG photos), then try again. "Could not be decoded as an image" means the file is damaged or not really an image.
- The PDF is still over the limit after compressing: tick the option to turn pages into images, remove extra pages, or re-take the photos with tighter cropping.
- The text is blurry after compressing: compress the original PDF again to a larger target, or start from a sharper photo.
- The portal rejects the file even though it is small enough: check the required format (PDF or JPG), page count, and whether both sides must be on one page.
- A file is too large to add: without an account, each file can be up to 10 MB. Very large photos can be resized or re-taken at a lower resolution in the camera settings.
Tips
- Need a JPG rather than a PDF for the upload? Convert a PDF page back to an image with PDF to JPG.
- If the portal wants several documents (for example ID and address proof) in one file, combine them with Merge, which accepts PDFs and images together, and compress the merged file once.
- For a closer look at the JPG to PDF settings, see how to convert JPG images to a PDF.
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.
Ready to turn your card photos into a PDF?
Add the photos, put them in order and choose the page size. The PDF is made in your browser and ready to download, then compress it if the portal needs a smaller file.
Sources
- UIDAI: Aadhaar online services (FAQ on e-Aadhaar and masked Aadhaar) – Checked 2026-10-24.