Skip to content
ToolSuite

Find and Replace Text

Replace every occurrence of a word or pattern, with optional whole-word matching, case sensitivity and full regular expressions.

Enables groups and back-references such as $1 in the replacement.

Processed in your browser

Your result will appear here as soon as you add some input.

How to use it

  1. 1Paste your text into the input box, or type it directly.
  2. 2Adjust the options if you need something other than the defaults.
  3. 3The result updates as you type - there is no button to press.
  4. 4Copy the result to your clipboard or download it as a file.

About the Find and Replace Text

With regular expressions turned off, everything you type is matched literally - dots, brackets and slashes included - so you never have to escape anything.

With them turned on you get capture groups: search for `(\w+)@(\w+)` and replace with `$2 - $1` to reorder matched parts. An invalid pattern is reported in plain English rather than swallowed.

Whole-word matching wraps the search in word boundaries, so replacing "cat" will not touch "category".

Questions people ask

Is your text uploaded to a server?

No. This tool runs entirely in your browser using standard web APIs, so your text never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.

Is it free, and do I need an account?

Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.