Find and Replace Text

Replace every occurrence of a word or pattern, with case and regex options.

Text Tools TEXT → EDITED
Loading tool…

Files are processed in your browser. Nothing is uploaded to a server.

Find and replace swaps every instance of one string for another across a whole block of text in a single pass. It is the fastest way to fix a repeated typo, rename a term throughout a document, or clean up messy pasted content.

This tool supports case-sensitive matching and optional regular expressions for advanced patterns.

How to find and replace

  1. Paste your text into the box.
  2. Type the word or phrase to find, and what to replace it with.
  3. Toggle case sensitivity, or enable regex for pattern matching.
  4. Click Replace all and copy the cleaned result.

Option cheat-sheet

Option Effect
Case sensitive Matches “Cat” but not “cat”
Whole word Avoids matching inside other words
Regex Match patterns, e.g. \d+ for numbers

Replace features

  • Replace all matches at once and see how many were changed.
  • Case-sensitive and whole-word options.
  • Optional regular-expression mode for power users.
  • Processes locally — large documents stay private.

Frequently asked questions

What is regex and do I need it?
Regular expressions describe text patterns (like “any digit” or “an email”). You only need it for advanced replacements; plain text find/replace covers most tasks.
Can I remove a word entirely?
Yes — type it in the find field and leave the replace field empty to delete every occurrence.
Will it tell me how many replacements happened?
Yes, the tool reports the number of matches it changed so you can verify the result.