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
For heavier PDF workflows
Amazon affiliateAs an Amazon Associate we may earn from qualifying purchases. This does not add cost for you.
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.
Related guides
Long-form editorial covering the topics behind our tools.
- Best Free Online PDF Tools in 2026Comparing SMT to Smallpdf, iLovePDF, PDF2Go on price, privacy, and speed.
- Free Adobe Acrobat Alternatives (2026)What Acrobat does, what you actually need, and which free tools cover 90% of it.
- How to merge PDF files for free in 2026Client-side merging without upload, size limit, or signup.
- How to compress PDF files for free in 2026Size reduction techniques and when quality vs size matters.