About find and replace
This find and replace tool swaps every occurrence of a word or phrase in your text for something else. Paste your text, type what to find and what to replace it with, and the result updates instantly — with options for case-sensitive matching, whole words only, and regular expressions. It runs in your browser; nothing is uploaded.
How Find and Replace Text works
The options
- Match case — when on, "Cat" and "cat" are treated as different.
- Whole word only — replaces "cat" but not the "cat" inside "category".
- Use regex — treat the Find box as a regular expression, so patterns like
\d+(any number) or(cat|dog)work.
Worked example
Text "the cat sat on the cat mat", find "cat", replace "dog" → "the dog sat on the dog mat" — 2 replacements made. Leave the Replace box empty to simply delete every match.
Common uses
- Replace a word throughout a document
- Delete a word or phrase everywhere
- Swap names or terms in bulk
- Fix a repeated typo
- Replace text using a regex pattern
- Match whole words only
- Do case-sensitive replacements
- Clean up pasted text
Frequently asked questions
How do I find and replace text?
Paste your text, type the word to find and the replacement, and the result updates instantly.
Can I delete a word instead of replacing it?
Yes — leave the Replace box empty and every match is removed.
Does it support regular expressions?
Yes — tick "Use regex" to match patterns like \d+ or (cat|dog).
Can I match whole words only?
Yes — tick "Whole word only" so "cat" does not match inside "category".
Is my text uploaded?
No — everything runs in your browser.
Is it free?
Yes, completely free with no sign-up.