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 add as many Replace steps as you need. From the command line, a rules file holds 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.
Three ways to run this
Same engine, same result. Pick one:
- Online at pdfblah.com, nothing to install and free while we're testing.
- Local app, the same tool on your own machine in your browser, free and private (your PDF never leaves your computer):
pipx install pdfblahthenpdfblah gui. - Command line, best for repeatable and bulk jobs:
pipx install pdfblah
pdfblah in.pdf out.pdf --rules rules.txt
The CLI returns a report of which rules landed and which were skipped. The local app and CLI are open source and free. See the pdfblah project on GitHub or the guide to running it locally.