UtilitiesTools

Find and Replace Text

Paste your text, type what to find and what to replace it with, and swap every match at once. Toggle case-sensitive, whole-word, or regex matching, watch the live match count, and copy the result in one tap. Your original text always stays put while the result updates beside it. Nothing ever leaves your browser.

Enter a term to find.

🔒 Searched and replaced in your browser. Nothing is uploaded or stored.

What is Find and Replace Text?

Find and Replace Text is a fast, private way to swap one word, phrase, or pattern for another across an entire block of text. Paste anything — an essay, a code snippet, an exported spreadsheet column, a chat log — type what to find and what to put in its place, and every match is replaced at once. This find and replace tool shows you a live count of how many matches it changed, so you always know the edit did exactly what you expected. Because it runs entirely in your browser, it is well suited to confidential documents where you would rather not paste sensitive text into a server-backed editor.

How to use it

  1. Paste or type your text into the large box at the top.
  2. Type the term you want to find in the Find field.
  3. Type what it should become in the Replace with field — leave it empty to delete every match instead.
  4. Flip on Case sensitive, Whole word, or Regex if you need finer control.
  5. Watch the match count update live, then press Copy result to grab the finished text.

There is no Replace button to hunt for: the preview and the count update as you type, so the whole flow is paste, replace, copy, done.

Plain text, whole-word, and case options

By default the search is case-insensitive and matches anywhere, so typing color changes Color, COLOR, and color alike. Turn on Case sensitive to require an exact match, and Whole word to replace a term only when it stands on its own — searching for cat with whole-word on changes the word cat but leaves category and concatenate untouched.

Regex mode and capture groups

Switch on Regex to treat the Find field as a regular expression. That unlocks pattern matching the plain-text mode cannot do, and it lets the replacement reuse captured pieces of each match with $1, $2, and so on. A few worked examples:

If a regex pattern is incomplete or invalid, the tool simply reports the error and leaves your text alone — it never silently mangles your input.

Examples

Common use cases

Why use this find and replace tool

Many quick replacers only do plain text and never tell you how many matches they changed. This one adds a live replacement count, a highlighted preview so you can see exactly what matched, and full regex with capture-group replacement — without an account, an upload, or a wait. And because the search runs locally, it pairs naturally with the rest of the toolkit: clean the case with the Case Converter, headline it with the Title Case Converter, tidy spacing with the Text Formatter, or flatten it with Remove Line Breaks.

Frequently asked questions

What is the difference between plain-text and regex mode?

Plain-text mode looks for the exact characters you type and replaces them, which is what most people need. Regex mode treats the find field as a regular expression, so you can match patterns (such as digits, repeated spaces, or anything between two markers) and reuse captured groups in the replacement with $1, $2, and so on.

How do capture groups work in the replacement?

Turn on regex mode and wrap part of your pattern in parentheses to capture it. In the replacement field, $1 inserts the first captured group, $2 the second, and so on. For example, finding (\w+)@(\w+) and replacing with $2 swaps the order around an at-sign.

Does whole-word matching change how a search works?

Yes. With whole-word matching on, the tool only replaces the term when it stands on its own, bounded by spaces or punctuation. Searching for cat will then match the word cat but leave category and concatenate untouched.

Is my text uploaded anywhere when I replace it?

No. Every search and replace runs locally in your browser, so the text you paste never leaves your device and nothing is logged on a server. That keeps confidential documents on your own machine.