How to Check a Redacted PDF
A redacted PDF is only safe if nothing redacted can be pulled back out — and black boxes alone prove nothing. Three quick tests catch the usual leaks: try to select and copy the blacked-out text, search the file for every redacted word, and check for leftover metadata and attachments. The free checker tool on this page runs all of them at once: it renders the file, looks for text hidden under solid boxes, invisible text, unapplied redaction comments, annotations, attachments, JavaScript and metadata, and reports what it found.
At a glance
- Never share a redacted PDF you have not checked. The check takes a minute; a leak takes seconds to exploit.
- The three tests: select-and-copy the blacked-out text, search for every redacted word, and inspect metadata and attachments.
- A file that fails any test is not redacted. Redact it again properly instead of sharing it.
Steps
- Open the finished PDF and try to select and copy the blacked-out text.
- Search the file for every redacted word and number; with poppler, run pdftotext and grep for each one.
- Check the file properties for metadata and look for attachments, JavaScript and form data.
- Or open the file in the checker tool above and read its report.
- If anything fails, redact again and re-check. Do not share a file that fails.
Test 1: select and copy
Open the finished PDF, drag over a blacked-out passage, and try to copy it. If any text lands on the clipboard, the words are still in the file and the redaction failed. Also try selecting all (Ctrl/Cmd+A) and copying — hidden text outside the visible boxes shows up this way.
Test 2: search for every redacted word
Use the reader's find function for each redacted name, number and word. Then, on a computer with poppler installed, run pdftotext finished.pdf - | grep -i "<word>" for each one — it should print nothing. In our check of the redaction tool, a sample with six sensitive strings (SSN, email, phone, card number, codename, salary) returned 0 hits after redaction, while unmarked sentences stayed searchable.
Test 3: metadata, attachments and scripts
Open the file properties and look for author, title and other metadata. Check for embedded files (in most readers: the attachments panel) and for JavaScript or form data. A file can have perfectly blacked-out pages and still leak through an attachment — during development of our own redaction tool, a raw scan caught exactly that: an attachment kept alive through the document catalog.
Use the checker tool
The redaction checker on this page runs the tests for you: open the PDF and it renders every page, then checks for text covered by solid boxes that can still be copied, invisible text, redaction comments that were never applied, annotations, attachments, JavaScript and metadata. It reports each finding so you know what to fix.
Frequently asked questions
How do I know a PDF is properly redacted?
Run the three tests: nothing blacked-out can be selected or copied, no redacted word is searchable or extractable, and there is no leftover metadata, attachment, script or form data. The checker tool above runs all of them.
Can text hide under a black box and still be copied?
Yes — that is the most common redaction failure. A drawn rectangle covers the text visually but leaves it in the file. If you can select or copy it, the file is not redacted.
Do I need to check scanned PDFs differently?
Scanned pages are images, so there is no text to search. Check them visually: open the image, zoom in, and confirm the marked area is fully erased. The checker flags covered-but-copyable text, which does not apply to pure scans.
What should I do if a check fails?
Do not share the file. Redact it again with a tool that really deletes the content and verifies the result, then check it again.
Related guides: How to redact a PDF · How to redact a PDF without Acrobat · How to fill a PDF form · All guides · Tool: PDF Probe