PDF Find and Replace Text
Search a PDF for a word, phrase or regular expression, review every numbered hit on the page, and replace the approved ones in a matching font.
Körs i din webbläsare. Dina filer lämnar aldrig din enhet. Se hur du kontrollerar det
…
Så gör du
- 1Open the PDF
Choose the file; for several files use Process all files at the end.
- 2Type the search
Enter the word or pattern in Find and the new text in Replace with.
- 3Set matching
Tick Match case, Whole words only or Regular expression as needed and limit the pages.
- 4Review the hits
Each hit is outlined and numbered on the page and listed in the table.
- 5Skip hits
Type the numbers of hits that should stay unchanged.
- 6Tune the look
Choose cover colour, font, weight, text colour and the fit rule.
- 7Download
Compare Original and Result, then save the corrected PDF.
Om det här verktyget
A wrong name, an old price or last year's date in a finished PDF usually means going back to the source file, which you may not have. This tool searches the text of the PDF, outlines every match on the page with a number, and replaces the matches you approve. It supports plain words, whole-word matching, case-sensitive search and regular expressions with capture groups, so a rule such as "turn 12/03/2026 into 2026-03-12" fixes every date in one pass. Each replacement covers the old word with a box in the page colour, sampled from the page itself, and writes the new text at the same baseline and size in the closest standard font: sans, serif or monospace. You see the result next to the original before you download.
How the replacement works
A PDF does not store sentences the way a word processor does. Text is placed glyph by glyph with fonts that are often embedded only partly, so typing new letters into the original font is usually impossible. The reliable method, used by most PDF editors for quick fixes, is to cover the old characters and write the new characters on top. This tool does that per hit, with the cover colour taken from the pixels next to the word so it blends with tinted backgrounds.
Approving hits
Every match gets a number on the page and a row in the table with the found text, the replacement and the surrounding words. To keep a hit, type its number in Skip hit numbers. Ranges such as 4-9 work, and the preview updates at once.
Fitting longer text
If the new wording is longer than the old one, the default setting shrinks the font just enough to fit the old width so it does not run into the next word. Choose Keep the size when there is free space after the word.
Regular expressions
Tick Regular expression to use patterns. Groups in brackets can be reused in the replacement with $1, $2 and so on. The presets include a date converter you can adapt.
Limits
The original characters are covered, not deleted, so they can still be selected or extracted by software. This makes the tool suitable for corrections, not for removing sensitive data; use a redaction tool for that, and do not use it to alter documents you are not entitled to change. Text inside images or scans is not searchable until OCR has been run. Words split across two lines are found only when the PDF keeps them in one text run.
Lösta exempel
An events flyer says "Saturday 14 June" on 3 pages. Searching "14 June" finds 3 hits; hit 2 is in a footnote that should stay, so "2" goes into Skip. The download shows "21 June" on pages 1 and 3 in Helvetica at the original 18 pt size.
I korthet
- Kategori: Redigera och signera
- Körs i webbläsaren, ingen registrering, ingen uppladdning.
- Uppgifterna du anger stannar på din enhet.
- Finns på engelska.
- Innehållet granskades senast:
- Officiell källa: ISO 32000-1 (PDF 1.7), section 9 Text
Vanliga frågor
Will the new text look like the old text?
It uses the closest standard font family (sans, serif or monospace) at the same size and position. Brand fonts that are embedded only as subsets cannot be reused for new letters.
Is the old text really gone?
No, it is covered. Readers show the new text, but copy and paste or text extraction may still return the old words. Use a redaction tool when the old words must be removed.
Can I replace text in many PDFs at once?
Yes. Load all the files, set the search and press Process all files; you get a ZIP with one corrected PDF per file.
How do I use capture groups?
Tick Regular expression, put brackets around the parts you want to keep, and refer to them as $1, $2 in the replacement, for example (\d'{2}')/(\d'{2}')/(\d'{4}') to $3-$2-$1.
Why does it find nothing in my scanned PDF?
A scan is a picture of text. Run OCR first so the PDF gets a text layer, then search again.
Can I change the colour of the new text?
Yes. Choose the text colour, the cover colour mode and a regular or bold weight on the left.
