Find and Replace Text

Change a word, a name or a phrase everywhere in your text at once. Add several rules, match whole words only, or use regular expressions for advanced patterns.

  • 100% free
  • No sign-up
  • Runs in your browser
How to use

How to use the Find and Replace Text

  1. Paste your text.
  2. Enter what to find and what to replace it with.
  3. Add more rules if you need several replacements.
  4. Choose options such as Match case or Whole words.
  5. Copy the result.

Private by design. Your text is processed in your browser. Nothing you type or paste is sent to a server or stored.

About this tool

Whole words, case and regular expressions

A plain find and replace matches text anywhere, so replacing "art" would also change "start" and "party". Whole words only prevents that by matching complete words. Match case lets you replace "Apple" the company without touching "apple" the fruit.

Regular expressions are patterns for advanced matching, such as every phone number, every date or every double space. With regex enabled, you can also reuse captured groups in the replacement with $1, $2 and so on.

Good to know

Useful patterns

Double spaces

With regex on, find " {2,}" and replace with a single space.

Swap names

Find "(\w+) (\w+)" and replace with "$2, $1" to turn "Ali Khan" into "Khan, Ali".

Remove numbers

Find "\d+" and replace with nothing.

Chain rules

Rules run from top to bottom, so order them carefully.

FAQ

Find and Replace Text FAQs

Can I replace several words at once?

Yes. Click Add another rule for each replacement. They run in order.

What is a regular expression?

A pattern language for matching text, such as \d for any digit or \s for any space.

Can I replace with nothing?

Yes. Leave Replace with empty to delete every match.

Is my text uploaded?

No. Everything runs in your browser.

Need content that ranks and converts?

Our team writes and optimises website content for Google and AI search.