Pixel Path PDF
PlansDashboard
Guide · 2026-11-08

How to redact a PDF properly

Before you share a bank statement with a landlord, a salary slip with a loan agent or a legal document with a colleague, you often need to hide some details: account numbers, Aadhaar and PAN numbers, phone numbers, addresses or other people's names. It is easy to do this badly, and the consequences of a bad redaction are serious.

Why a black rectangle often hides nothing

In a PDF, the text and the drawings on top of it are separate layers. If you draw a black box over an account number in an annotation tool, or set a black highlight, the number is still in the file underneath. Anyone can select the area and copy, use a PDF reader's search, or remove the box in an editor and read everything. Several published court filings and government reports have leaked information exactly this way.

What proper redaction does

Real redaction removes the information, not just covers it. Redact PDF searches the document's text for the words, numbers or phrases you type, covers every match with a solid black box and rebuilds each page that contains a match as an image. The original text layer of those pages is not kept, so there is nothing left to copy or search. Pages without matches are copied unchanged, with their text intact.

Step by step

  1. Open Redact PDF and add your document. Unlock it first with PDF Unlock if it has a password.
  2. Type everything to hide, separated by commas: for example the full account number, the last four digits, the PAN, a phone number and a name.
  3. Download the redacted copy and check every page. Then try to search the redacted copy for the hidden words: nothing should be found.

Things to watch for

  • Different spellings and spacing. Numbers are often printed with spaces ("1234 5678 9012") or masked differently on different pages. Search for each form you see, or for a distinctive part such as the last six digits.
  • Scanned pages. A scan has no text to search. Run OCR first so the words can be found, then redact the OCR result.
  • Hidden places. Information can also sit in the file's properties (author, title) and in comments. Clear them with Edit metadata and Flatten PDF.
  • File size. Pages rebuilt as images are larger; compress the result if needed.

Masked Aadhaar: the easy alternative

For Aadhaar specifically, UIDAI lets you download a masked Aadhaar that shows only the last four digits. It is accepted by most organisations that do not legally need the full number, and is a safer copy to share than a redacted one.

Redaction happens in your browser, so the document you are trying to protect is never uploaded anywhere in the process.

More guides

How to Digitally Sign a PDF with a DSC (USB Token or .pfx)Sign GST, MCA, ITR and tender PDFs with your Digital Signature Certificate: what a DSC signature is, token vs .pfx, and how to check it in Adobe Reader.Convert a Bank Statement PDF to Excel (Step by Step)Turn a password-protected bank statement PDF into an Excel sheet with dates, descriptions and amounts in proper columns, for budgeting, GST or loan papers.Why Is My PDF So Big? How to Make It Smaller Without Losing QualityWhat really makes PDF files large (scans, photos, fonts, duplicated pages) and how to shrink each kind without blurry text, for email, WhatsApp and portals.Scan Documents with Your Phone for Online Applications: A ChecklistGet clear, straight, small PDFs of marksheets, certificates and ID proofs with your phone camera, ready for exam, job and government portals.Password-Protected PDFs from Banks and e-Aadhaar: How to Open and Unlock ThemWhy bank statements, salary slips and e-Aadhaar PDFs are locked, where to find the password, and how to save an unlocked copy safely.How to Compress a PDF to 100 KB for Government FormsA step-by-step guide to getting any PDF under 100 KB for SSC, UPSC, scholarship and state portals without making it unreadable.Photo & Signature Size Guide for SSC, IBPS, UPSC and NEETCommon photo and signature sizes for SSC, IBPS, UPSC and NEET forms, and how to resize yours in under a minute.How to Print Aadhaar Card Front and Back on One PagePrint both sides of your Aadhaar or PAN card on a single A4 sheet at real card size, from photos or the e-Aadhaar PDF.

All guides → · Video guides →