Find & Replace Text

Find and replace text in PDF files online free. Search for words or phrases and replace them across all pages. Case-sensitive option. Browser-based, no signup.

PDF Find & Replace searches for text strings throughout a PDF and replaces them inline — correcting typos, updating dates, swapping names, or redacting terms — all in your browser. The tool uses pdf-lib's text content extraction to locate exact matches (or regex patterns) across all pages, then rewrites the text content stream with the replacement value while preserving the original font, size, and position. Unlike copy-paste editing approaches that break formatting, Find & Replace operates at the PDF text stream level: it modifies only the matched glyph sequences and leaves surrounding content completely untouched. Changes are saved back into a valid PDF that looks identical except for the substituted text.

Most PDF editors require you to click each instance individually. This tool finds and replaces every occurrence across a 500-page document in one pass. The regex mode handles pattern-based replacements like all dates matching DD/MM/YYYY, all instances of a name in any capitalization, or placeholder tokens like {{CLIENT_NAME}} in contract templates.

Features

How to use Find & Replace Text

  1. Open your PDF
  2. Enter the search text (or regex pattern) in the Find field
  3. Enter the replacement text in the Replace field
  4. Preview matches highlighted across pages
  5. Click "Replace All" and download the updated PDF

Frequently asked questions

Does it work on scanned PDFs?

Find & Replace works on PDFs with real text. Scanned PDFs require OCR first — use our OCR PDF tool to make the text layer editable, then run Find & Replace.

Can I use regular expressions?

Yes — enable the Regex toggle to use full JavaScript regex syntax. For example, /d{4}-d{2}-d{2}/g matches all ISO date strings.

Does it change the font or formatting?

No — replacement text inherits the exact font, size, and color of the original matched text. Visual appearance is preserved.

Is there a limit on how many replacements can be made?

No hard limit — the tool has replaced 10,000+ occurrences in large template PDFs in a single pass.

Related tools

All PDF tools