What is find and replace tool?
Find and replace changes every match of a word or pattern in one step. It saves time when you rename a product across a long document, fix a spelling or update a link in many places.
The tool can match case, limit matches to whole words and accept regular expressions for advanced patterns, and it shows how many replacements were made.
How to use the find and replace tool
- Paste your text.
- Type the word to find and the replacement.
- Choose options, then copy the result.
How the find and replace tool works
Your search text is turned into a pattern. Plain text is escaped so symbols such as dots match literally. Whole word mode wraps the pattern in word boundaries. Every match is replaced and the number of matches is counted.
Worked example
Common uses of the find and replace tool
- Renaming a product or brand across a long text.
- Fixing a repeated typo.
- Updating old links in copied HTML.
- Cleaning data before import.
- Preparing templates with placeholders.
Tips and common mistakes
Turn on whole words to avoid changing parts of longer words.
With regular expressions, test on a small sample first.
Background: what to know before you rely on it
Find and replace is one of the oldest editing features and still one of the most useful. Its power comes from patterns: a plain search treats every character literally, while a regular expression lets you describe a family of strings, such as every number or every word that starts with a capital letter. The risk is an overly broad match that changes more than you meant. Use whole word matching, run a small test and review the match count before you copy the result into an important document.
Private, free and fast
This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all text tools, or browse the full list of tools.
Frequently asked questions
Is it case sensitive?
Only if you tick match case.
Can I use regular expressions?
Yes. Tick use regular expression. The JavaScript flavor is used.
Can I replace with nothing?
Yes. Leave the replace field empty to delete matches.
Is there a size limit?
Only the memory of your device.
Related tools
Remove Line Breaks Tool
Paste text with unwanted line breaks and the tool joins it into clean flowing text. You can keep blank...
Text ToolsText Diff Checker
Paste an original and a changed version. The checker highlights lines that were added or removed so you...
Text ToolsCase Converter
Paste text and the converter shows it in nine styles, from upper and lower case to title case and...
Developer ToolsRegex Tester
Enter a pattern, flags and test text. The tester lists every match with its position and capture groups...
Text ToolsWord Counter
Paste or type your text and the counter shows words, characters, sentences, paragraphs, reading time and...
Text ToolsCharacter Counter
Paste your text to count characters with spaces, without spaces and in bytes, and see how far you are...
Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Always proofread output before you publish.