Find and Replace
Swap a word or phrase everywhere it appears — with case-insensitive, whole-word and full regular-expression options.
Enter text to find
Bulk-edit text in seconds
Renaming a term across a document, fixing a repeated typo, swapping placeholders, or reformatting data — find and replace handles it in one pass. Type your search term and its replacement and the result updates live, with a running count of how many matches were changed.
Options that matter
- Ignore case: match "Hello", "HELLO" and "hello" alike.
- Whole word: avoid changing substrings inside larger words.
- Regex: match by pattern and reuse captured groups with $1, $2.
Regex examples
With Regex enabled, try \s+ → a single space to collapse
whitespace, or (\d4)-(\d2)-(\d2) →
$3/$2/$1 to reformat ISO dates. If a pattern is invalid,
the tool tells you and leaves your text untouched until you fix it.
Frequently asked questions
How do I replace all occurrences?
Type what to find and what to replace it with — every match is replaced automatically and the count is shown. There's no separate 'Replace all' button; it always replaces every match.
Does it support regular expressions?
Yes. Turn on 'Regex' and your Find field is treated as a JavaScript regular expression. You can use capture groups in the replacement with $1, $2, and so on. Invalid patterns show an error instead of changing your text.
What is 'Whole word' matching?
It only replaces the search term when it stands alone as a word, so replacing 'cat' won't touch 'category'. This option is disabled in regex mode, where you can use \b yourself.
Is my text safe?
Yes. Everything runs in your browser — your text is never uploaded or stored.