Find & Replace

Find and replace every matching phrase in a block of text. Toggle case sensitivity, whole-word matching, or regular expressions for precise bulk edits, with a match count before copying.

Browser-local No signup required Text

Find and replace text with optional case matching, whole-word matching, and regular expressions. The tool counts all matches first, then replaces them in the browser and lets you copy the transformed result.

How to find and replace text

  1. Paste or type the source text.
  2. Enter the text or regular expression to find and the replacement text.
  3. Choose Match case, Whole word, or Regex when needed.
  4. Run the replacement and review the match count and output.
  5. Copy the transformed text if the result is correct.

Matching rules and replacement behavior

Without Regex enabled, the find text is escaped so punctuation such as dots, brackets, and plus signs is treated literally. Whole-word mode adds Unicode-aware letter, number, and underscore boundaries, while Match case controls whether matching is case-sensitive.

Regex mode uses the supplied pattern directly with global Unicode matching. Replacement text can use JavaScript replacement tokens in regex mode, while literal mode inserts the replacement exactly as written. An empty find value or an invalid regular expression is rejected.

Privacy and limitations

All matching and replacement happens locally in the browser and the text is not intentionally uploaded for processing. Regular expressions use the JavaScript RegExp engine, so supported syntax and behavior follow the browser. Whole-word boundaries are based on Unicode letters, numbers, and underscores rather than every language-specific linguistic rule.

Frequently asked questions

Can I replace every match at once?

Yes. Matching is global, so every match is replaced in one run.

Is matching case-sensitive by default?

No. Enable Match case when uppercase and lowercase must be treated differently.

Does Whole word work with non-English text?

It uses Unicode letter and number classes, which improves multilingual handling, but it is still a character-boundary rule rather than a language-specific tokenizer.

Can I use capture groups in replacements?

Yes in Regex mode, because replacement uses JavaScript string replacement semantics.

What happens if the find field is empty?

The tool rejects the operation instead of inserting text between every character.