PDF Guides

How to Find and Replace Text in a PDF Without the Original File

Why replacing words in a PDF is harder than in Word, how cover-and-retype works, using regex for dates and prices, and when to use redaction instead.

Saizul Amin
Saizul Amin28 Oct 2026 · 3 min read
How to Find and Replace Text in a PDF Without the Original File

How to Find and Replace Text in a PDF Without the Original File

You spot the typo after the PDF has gone to print, or the price changes after the brochure is exported, and the designer who made the source file has left. In a word processor you would press Ctrl+H and be done. In a PDF it is harder, and knowing why helps you choose the right method. This guide explains how text sits inside a PDF and how the PDF Find and Replace Text tool makes careful corrections.

Why PDFs resist editing

A PDF is a description of a printed page. Text is stored as instructions that place glyphs from a font at exact positions: "use font F3 at 11 points, move to this point, show these character codes". There are no paragraphs or line breaks to reflow. Fonts are often embedded as subsets, which means only the letters used in the document are inside the file. If your new word needs a letter the subset does not contain, it cannot be typed in that font at all.

That is why many PDF editors handle quick corrections by covering the old word and writing the new one on top, rather than rewriting the original instructions.

How cover and retype works

For each match the tool:

  1. finds the word's position and size from the page's text layer;
  2. samples the colour of the page next to the word, so the cover blends with tinted or coloured backgrounds;
  3. draws a box in that colour over the old characters;
  4. writes the new text at the same baseline and size, in the closest standard font family: sans, serif or monospace.

If the new text is longer, the default rule shrinks it slightly to fit the old width so it does not overlap the next word. When there is space, you can keep the original size.

Reviewing every hit

Blind replacement is risky. "Draft" may also appear in "Draft agreement dated 2019", which should stay. The tool numbers every hit on the page and lists it with its context. Type the numbers of the hits to keep in the skip box and check the result view before downloading.

Whole-word matching avoids partial hits, such as "cat" inside "category". Case-sensitive matching separates "May" the month from "may" the verb.

Using regular expressions

Regular expressions describe patterns rather than fixed words. A few useful ones:

  • (\d{2})/(\d{2})/(\d{4}) with replacement $3-$2-$1 turns UK dates into ISO dates.
  • £\s?(\d+) with £$1.00 adds pence to whole-pound prices.
  • Ref:\s*\w+ finds every reference code so you can review them all.

Groups in brackets are reused in the replacement with $1, $2 and so on. Test a pattern on one page first.

When not to use find and replace

Covering text does not delete it. Software that extracts text, and anyone who copies and pastes, may still get the old words. That is fine for a typo, but not for a name, an account number or anything else that must disappear. For those, use redaction, which removes the characters from the file and usually draws a black box.

Also, do not change documents you are not entitled to change, such as certificates, statements or official letters. Altering them can be illegal even if the change looks harmless.

Scanned PDFs

A scanned page is an image, so there is no text to search. Run OCR first to add a text layer. After OCR the tool can find the words, but the cover box sits over a picture, so check the colour sampling closely.

Batch corrections

When the same wrong phone number is in twenty leaflets, load all of them, set the search once and process them together. You get a ZIP of corrected files and a report per file.

Checklist

  • Search with whole words on first, then widen if needed.
  • Check every numbered hit and skip those that should stay.
  • Compare the original and result on each page with hits.
  • Keep the original file.
  • For sensitive data, redact instead.
Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages