Find and Replace Tools

Text Replacer

Find and replace text, with optional regular expressions.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 lines · 0 replaced

A simple replacer is fine until you need pattern matching, like changing every number or whitespace run.

Text Replacer does a single find and replace and can switch on regular expressions for pattern-based changes.

How to use Text Replacer

  1. Paste or type the text you want to transform into the input box.
  2. Enter the find and replacement, and turn on Regex to treat the find field as a regular expression.
  3. Copy the replaced text from the result panel.

Use cases

Good to know

Text Replacer performs a literal replacement by default and, when Regex is on, treats the find field as a regular expression so you can match patterns and use capture groups in the replacement. Invalid patterns are reported instead of changing the text, and regex mode uses a stricter size threshold before requiring Run replacement.

Frequently asked questions

When should I turn on Regex?

Turn it on when you need to match a pattern, such as any digit run, rather than a fixed piece of text.

What happens if my regular expression is invalid?

The tool shows an error message and leaves your text unchanged until the pattern is valid.

Why does regex mode guard at a smaller size?

Pattern matching can be heavier than literal replacement, so regex mode asks for a Run click at a lower character count.

Related Find and Replace Tools