Find and Replace
Find any word or phrase in your text and replace every match in one click.
Find and Replace Text Online — Replace Any Word in Seconds
The Find and Replace tool searches your text for any word, phrase or character and replaces every match in a single click. It works like the find-and-replace function in Word or Google Docs, but right in your browser — no document to open, no software to install, and no limit on how much text you can paste.
Writers use it to fix a name spelled two ways through a long article. Developers use it to rename variables across a block of code. Marketers use it to swap prices, dates and product names in templates, and students use it to clean up copied text before submitting an assignment. If a word appears fifty times, you fix it once here instead of fifty times by hand.
Find and Replace Features
- Replace all matches at once — one click updates the whole text
- Case sensitive option, so "Apple" and "apple" can be treated separately
- Whole words only option, so replacing "cat" never touches "category"
- Live replacement count, so you know exactly how many changes were made
- Works on text of any length — articles, code, lists, CSV data and more
- Runs 100% in your browser: your text is never uploaded or stored
How do I replace a word in a long document without editing it by hand?
Paste the whole document into the box above, type the old word in Find and the new word in Replace with, then click Replace All. The tool counts the matches and shows the fully updated text in the result box, ready to copy back. For names and technical terms, tick Case sensitive so only the exact form changes; for short words that appear inside other words, tick Whole words only.
How to use
- Paste your text into the box labelled "Your text". It can be an article, a block of code, a list or CSV-style data — the tool treats everything as plain text.
- In the Find field, type the exact word, phrase or character you want to change. Type it exactly as it appears, including any punctuation that is part of the match.
- In Replace with, type the new text. Leave this field empty if your goal is to delete every match rather than swap it for something else.
- Decide on Case sensitive. Tick it when forms like "Apple" and "apple" must be treated separately — for names, product terms and most code — and leave it unticked for a broad, case-insensitive sweep.
- Decide on Whole words only. Tick it when a short word could hide inside a longer one, so that replacing "cat" never touches "category". Leave it unticked if you deliberately want partial matches changed too.
- Click Replace All. Every match in the whole text is updated in one pass, rather than one at a time.
- Read the replacement count shown and scan the text in the Result box. The count tells you exactly how many changes were made, so an unexpectedly high or low number is a warning to re-check your Find text or options.
- Copy the updated text from the Result box back into your document or editor. If the count looks wrong, adjust the options and run Replace All again on your original text rather than editing the result by hand.
Tips
- Test on a short sample first when a change is risky. Paste two or three paragraphs, run it, and only use the whole document once the count and result look right.
- For names and technical terms, use both options together: Case sensitive plus Whole words only gives the narrowest, safest match.
- Keep an untouched copy of the original text in another tab or note until you are happy. Replace All is instant and thorough, which is exactly why a backup is useful.
Frequently asked questions
What does the Find and Replace tool do?
It searches your text for a word or phrase and replaces every match with new text in one click. You can match exact case, match whole words only, or leave the replacement empty to delete the matches. It works like the find-and-replace function in a word processor, but in your browser, with a count of how many replacements were made.
How do I use the Find and Replace tool?
Paste your text into the text box, enter the word or phrase to find and what to replace it with, and tick Case sensitive or Whole words only if you need them. Then click Replace All. The tool shows how many replacements were made and puts the updated text in the result box, ready to copy back into your document.
Can I use find and replace to delete words from text?
Yes. Leave the Replace with box empty and click Replace All, and every match is removed from the text. This is handy for stripping out filler words, repeated labels or placeholder text that appears many times. Check the replacement count and read the result afterwards, because deleting a word can leave double spaces or awkward gaps in a sentence.
Does this tool work on code and HTML?
Yes. The tool treats your input as plain text, so it works on HTML, CSS, JavaScript, JSON and any other code or markup you paste. Just be careful with Case sensitive switched off, because code is usually case-sensitive and a broad replacement can change a name you meant to keep. Using Whole words only also helps protect longer variable names.
Is the Find and Replace free to use?
Yes. The Find and Replace tool is completely free, like every tool on SEO Tools by MetaCalculator. There is no sign-up, no watermark and no hidden limits stated on the page. You can paste text of any length described on the page, run Replace All, copy the result and repeat the process as often as you need.
Is my data private when I use the Find and Replace?
Yes. This tool runs entirely in your browser, so your input never leaves your device. Nothing is uploaded, stored or shared while the replacements are made. That makes it suitable for unpublished drafts and code snippets, although you should still follow your own workplace rules about pasting confidential material into any web page, however private it says it is.
What does Case sensitive mean in find and replace?
With Case sensitive ticked, only text that matches your Find entry exactly, including capital letters, is replaced — so "Apple" changes but "apple" does not. With it unticked, every capitalisation is treated as the same word. Use the ticked setting for names, brands, technical terms and code, where a capital letter can change what the word actually means.
What does Whole words only mean?
Whole words only restricts the match to complete words, so the letters you search for are not changed when they appear inside a longer word. The page gives the classic example: replacing "cat" will never touch "category". Tick it for short, common words. Leave it unticked when you deliberately want to change a prefix, suffix or a fragment inside other words.
How do I know how many replacements were made?
The tool shows a replacement count after you click Replace All, so you know exactly how many changes were made across the whole text. Compare that number with what you expected before copying the result. If the count is zero, check spelling, spacing and the Case sensitive setting. If it is far higher than expected, try Whole words only.
Can I replace a word throughout a long document?
Yes. Paste the whole document into the box, type the old word in Find and the new word in Replace with, then click Replace All. The tool counts the matches and shows the fully updated text in the result box, ready to copy back. For names and technical terms, tick Case sensitive; for short words inside other words, tick Whole words only.