Text Tools

Find and Replace Text

Paste text, set a search and replacement, and swap every match — with case, whole-word and regex options.

The dog sat on the mat. The dog was happy.
2 replaced

How to use it

  1. Paste your text Add the text you want to edit.
  2. Set find and replace Type the search term and its replacement.
  3. Tune the options Case, whole word or full regular expressions.

Examples

cat → dog 2 replaced
regex \d digits swapped

About this tool

Find and replace is one of the most useful text operations there is, and this tool brings the full set of options to your browser: case-sensitive or not, whole words only, and complete regular-expression support for more advanced edits.

Every run reports how many matches it changed, so you can confirm the edit did what you expected. Because it all happens client-side, you can safely paste sensitive text — nothing leaves your device.

Frequently asked questions

Does it support regular expressions?

Yes. Switch on the regex option to use patterns like \d or capture groups. If the pattern is invalid, the tool tells you instead of failing silently.

How does whole-word matching work?

It wraps your term in word boundaries, so "cat" matches the word cat but not the start of "category".

Related tools

Updated June 13, 2026