Text Tools
Find & Replace Text
Find and replace text with optional regex, case-insensitive and whole-word matching.
Free foreverRuns in your browserNo sign-up
About the Find & Replace Text
This find and replace tool swaps every match of a word or pattern with your replacement text in one step.
Turn on regex to use regular expressions, including capture groups in the replacement, or keep it off to match plain text exactly.
Optional case-insensitive and whole-word modes give you precise control, and the tool reports how many replacements were made.
Key features
- Replace all matches at once
- Optional regular expression mode
- Case-insensitive and whole-word matching
- Shows the number of replacements
How to use
- 1Paste your text and enter what to find and what to replace it with.
- 2Toggle regex, ignore case or whole word as needed.
- 3Click Replace all and copy the result.
Frequently asked questions
- Can I use capture groups like $1?
- Yes. In regex mode you can reference capture groups such as $1 in the replacement field to reuse matched parts.
- What does whole word do?
- Whole word only matches your text when it stands alone, so replacing cat will not affect the word category.
- Is my text uploaded anywhere?
- No. Replacement happens entirely in your browser, so your text never leaves your device.
