Skip to content
Convertto

Find and Replace Text

Replace text across a whole document with plain matching or full regular expressions.

To find and replace text, paste your document above, enter what to search for and what to replace it with. Enable regular expressions for pattern matching with capture groups referenced as $1 and $2, or leave it off for literal matching where special characters are escaped automatically.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

When should I use regex rather than plain text?

When the thing you are matching varies — any number, any date, any word ending in a suffix. For a fixed string, plain replacement is faster and cannot surprise you with an unintended match.

What do $1 and $2 mean in the replacement?

They insert whatever the corresponding capture group matched. If the pattern is (\w+)@(\w+), then "$2 at $1" swaps the two halves around. It is how you rearrange text rather than just substituting it.

How to use the find and replace text

  1. 1Enter or paste your text.
  2. 2Enter or paste your find.
  3. 3Enter or paste your replace with.
  4. 4Turn "Regular expression" on or off as needed.
  5. 5Turn "Case sensitive" on or off as needed.
  6. 6The result appears immediately — copy or download it.

Embed this tool

Put the working find and replace text on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More text tools