Find and replace text

Paste your text, type what to find and what to replace it with. Every match is replaced at once and highlighted, with options for case, whole words and regular expressions.

  • No sign-up
  • Text never leaves your device
  • Instant, unlimited
  • Works offline
0 characters
OptionsYour choices are remembered

How to use it

  1. Paste your text into the left box.
  2. Under Options, type the word or phrase to find and its replacement.
  3. Check the highlighted matches, then copy the result.

Options

  • Case-sensitive: “Apple” and “apple” are treated as different words.
  • Whole words only: replacing “cat” leaves “concat” and “category” alone. Works for all alphabets.
  • Regular expression: use JavaScript regex syntax. Groups are available as $1, $2 in the replacement, and \n inserts a line break.

Handy examples

  • Swap British for American spelling: find colour, replace with color.
  • Reformat dates: regex (\d{4})-(\d{2})-(\d{2}) → $3.$2.$1.
  • Put every sentence on its own line: regex ([.!?]) → $1\n.

Leave the replacement empty to delete every match. For special cases there are dedicated tools: Em Dash Remover, Hidden Characters and Straight Quotes.

Private by design

Everything happens on your device in your browser. Your text is not uploaded, logged or stored, and the page keeps working if you go offline after it has loaded. Only your option choices are saved, in your own browser.

Frequently asked questions

Are my search terms saved?

No. Your choices for case, whole words and regex are remembered in your browser, but the find and replace text is never stored.

Can I delete a word everywhere?

Yes. Leave “Replace with” empty and every match is removed.

Which regex syntax is supported?

JavaScript regular expressions with Unicode support, including lookarounds, \d, \s, \p{L} and capture groups.

Is there a limit?

No fixed limit. Large documents work, limited only by your device.

Guides

More free text tools