Find and Replace Text
Free find and replace text tool. Replace words or patterns in bulk text with case-insensitive, whole-word and regex options, and see the replacement count — in your browser.
🔒 All find and replace happens in your browser — your text is never uploaded.
Free Find and Replace Text Tool
This free find and replace online tool lets you search any text and swap one word, phrase or pattern for another in seconds. Paste your text on the left, type what to find and what to replace with, and the cleaned-up result appears instantly on the right with a live count of how many replacements were made. It is free, needs no sign-up and runs entirely in your browser.
How to use
- Paste your text into the input box on the left (or click Load sample).
- Type the word or phrase to look for in the Find field.
- Type what it should become in the Replace with field.
- Tick any options you need: Case-insensitive, Use regex, Whole word only or Replace all.
- The result updates live — click Copy result to grab it.
When is find and replace useful, plus regex basics
Find and replace is one of the most-used editing tricks for a reason. It is perfect for renaming a variable across a block of code, cleaning placeholder names out of a template, fixing a misspelling that appears dozens of times, swapping British spellings for American ones, or standardising a long list. Doing the same edits by hand is slow and easy to get wrong — this tool does every match in one pass and tells you exactly how many it changed.
The options give you fine control. Case-insensitive matches Cat, cat
and CAT alike. Whole word only stops cat from matching inside
category by wrapping your search in word boundaries. Replace all changes every match,
while turning it off changes only the first. With normal mode, special characters such as . or
* are treated literally. Switch on Use regex to unlock full regular expressions:
\d+ matches numbers, \s matches spaces, and you can reference captured groups in your
replacement with $1, $2 and so on. If your pattern is invalid you get a friendly red
message instead of a broken result.
Frequently asked questions
Is this find and replace tool free and private?
How do I replace only the first match instead of all of them?
What does the Whole word only option do?
cat matches the
standalone word but not cat inside category or scatter.Can I use regular expressions?
$1 in the
replacement. If the pattern is invalid, a clear error message is shown.