Guide
Bulk find and replace in a PDF
Rebranding a document, swapping a name everywhere, or fixing the same typo on every page? You can apply many replacements to a PDF in one pass.
Many rules at once
On pdfblah.com you can add as many rows as you need, each with its own find and replace text. Or upload a rules file, one rule per line:
Old Company Name | New Company Name | all
CONFIDENTIAL DRAFT | FINAL | ci
Jane Doe | John Smith | all word
Total | Sum | 2
Control each rule
- Scope: replace the first match, every match (
all), or the Nth match (a number). - Ignore case (
ci): INVOICE matches invoice. - Whole word (
word): "cat" will not match "category". - Page: limit a rule to one page (
p2). - Leave the replacement empty to delete the text.
Alignment is detected for you, so right-aligned numbers stay flush after the change.
Automate it from the command line
For repeatable jobs, the same engine is open source and free to run locally:
pipx install pdfblah
pdfblah in.pdf out.pdf --rules rules.txt
It returns a report of which rules landed and which were skipped. See the pdfblah CLI on GitHub.