Redact PDF by Pattern
Provide a regex; every match is rasterised over with a black box on each page. Catch SSNs, internal codes, names, anything that follows a stable pattern.
1. Upload your file
How does the Redact PDF by Pattern work?
Extract per-page text positions with pdfjs, run a JavaScript regex over the concatenated text, and draw a black rectangle over each matching text fragment. Default pattern matches US SSNs; provide your own regex to catch internal account numbers, employee IDs, project codenames, or anything that follows a stable shape. Note: this is VISUAL redaction (black rectangles drawn on top of the original text). For TRUE permanent redaction (rasterise + black-out so the underlying text cannot be extracted), pipe the result through Permanent Redaction.
🔒 Security & Privacy
All processing happens on your device. Your files never leave your browser, never touch our servers, and are not stored anywhere. Close the tab and the file is gone.
📱 Use it on any device
Works in any modern browser — Mac, Windows, Linux, iPhone, Android, and tablets. No installation, no app to download. Just open the page and start.
⚡ Quick & easy
Drag, drop, click. Most files process in seconds, not minutes. No watermarks added to your output, no per-day limits, and the tool always shows the result before asking you to download.
🎁 Always free, no signup
Free to use, every time. No account creation, no email required, no “trial” that converts to a paid plan. We make money from ads so you don’t have to pay.
Frequently asked
Related PDF tools
More tools you might like
Hand-picked tools that pair well with this one — same audience, same intent.
Scan a PDF for SSNs, credit-card numbers, email addresses, and phone numbers — report locations with redaction-ready coordinates so you can target a redaction pass.
Scan a PDF for likely PHI (protected health information) — SSNs, dates of birth, phone numbers, email addresses, and MRN-shaped strings — with page numbers and remediation suggestions.
Strip author, title, subject, keywords, creator, producer, creation date, and modification date from a PDF — for sharing externally without leaking who made it or when.
Genuinely remove sensitive content by rasterising the affected pages and burning black rectangles into the bitmap — the underlying text is gone, not just hidden.
Court-grade redaction: matched pages are rasterised, then black bars are drawn over the matches — the original text under the rectangles is permanently gone from the file, not just hidden. Pages with no matches stay as vector.
Find text and cover it with black rectangles — visual redaction. For full text-stream removal, use a paid pro tool.
One-shot cleanup: strip every annotation, form field, and JavaScript script from a PDF. Hand off a clean copy for publishing, archiving, or sharing externally.
Tiles needed = (room area / tile area) × pattern-waste factor. Auto-rounds to whole tiles + box count.