Simple swap
Find "cat", replace with "dog" in "The cat sat with another cat." to get "The dog sat with another dog.", with 2 matches replaced.
Find and replace text online with whole-word and regex support — free and instant.
About
Finds every occurrence of a word or pattern in your text and replaces it, with optional whole-word and regex matching.
Writers use it to swap a name or term throughout a whole document in one pass, while developers use the regex option for pattern-based cleanup of code or data. Among Toolapt's collection of free text tools, this one included, there's no account to set up and no restriction on repeat use.
Examples
3 worked examples
Find "cat", replace with "dog" in "The cat sat with another cat." to get "The dog sat with another dog.", with 2 matches replaced.
With Whole words only turned on, find "cat", replace with "dog" in "The cat sat in the category." to get "The dog sat in the category." — only 1 match replaced, since "category" isn't a whole-word match.
With regex mode on, find \d+, replace with "#" in "Order 12 shipped, Order 45 delivered." to get "Order # shipped, Order # delivered.", with 2 numeric matches replaced.
FAQ
Quick answers to common questions about the Find and Replace.
It searches your text for a word or pattern and replaces every match (or just the first one) with replacement text you choose.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. Your text is processed entirely on your own device — nothing is sent to a server.
It only matches the search term when it appears as a complete word, so searching for "cat" won't also match the "cat" inside "category".
It lets you use regular-expression syntax in the Find field for pattern-based matching instead of a plain literal search term.
The tool shows a message telling you the expression couldn't be parsed, so you can fix it before trying again.
Yes. Turn off "Replace every match" to replace only the first occurrence.
It's built for everyday text; extremely long input or very complex regular expressions may take a moment longer to process.
Did Find and Replace work for you?