Find and Replace Text
Replace every match of a word or phrase.
Try it
Settings
Output
The result appears here.
About Find and Replace Text
A find and replace tool searches a block of text for a word or phrase and swaps each match for new text. It saves time when a product name has changed, a date needs updating across a document, or a term must be corrected everywhere it appears.
Enter the text to find, the text to replace it with, and run the replacement. The result shows the changed text, so you can check the edit before using the new version.
How to use Find and Replace Text
- Paste the text you want to change into the input box.
- Enter the word or phrase to find.
- Enter the replacement text.
- Run the replacement and read the result in the output panel.
- Check a few replaced passages in context before copying the text out.
Being precise about matches
A plain search finds every occurrence of the characters you type, including matches inside other words. Searching for 'cat' also finds 'category' and 'catalogue', so a replacement can change words you did not mean to touch. Use a whole word or a more specific phrase when a term is common.
Capital letters matter in some searches and not in others. Decide before replacing whether 'Apple' the company and 'apple' the fruit should both change. A case-sensitive replacement keeps them apart, while a case-insensitive one changes both.
Checking before you copy
Read the changed passages, not just the total. A count of replacements tells you how many matches were changed, but not whether each one reads correctly. Pay particular attention to plurals and possessives, because the replacement may need a different form.
Keep the original text until the result is checked. If something went wrong, start again from the source and try a more careful search, rather than trying to undo a large change by hand.
When a term appears in headings, links and image captions as well as in the body, check each place. A replacement that updates the body but misses a heading leaves the document inconsistent, and readers notice.
Frequently asked questions
Can I replace one occurrence at a time?
Replacing one at a time suits careful edits. Use a more specific phrase so that only the match you want is changed.
Does it replace inside other words?
A plain search does. Use a whole-word phrase, or include the spaces around the word, to avoid partial matches.
What if I want to undo a change?
Keep the original text. Replacement results are not saved, so the original is the only way back.
Is my text stored?
No. The replacement happens on the page, and the text is cleared when you leave.
Related tools
Tools that pair well with this one.