Find and Replace Text

Find and Replace Text

Find a word or phrase in your text and swap it for another one, in one click. The live match count updates as you type.

Type a word to find to see how many matches there are.

Share this tool

Find and Replace Text Guide

Find and replace is the fastest way to fix a repeated mistake in a long piece of writing. When a name is spelled wrong in 20 places, or a product name has changed, or a date needs to move from 2025 to 2026, you do not want to hunt through the text line by line. You type the old word once, type the new word once, and the tool swaps every copy for you. It saves time, and it also stops the small slips that creep in when you edit by hand, like fixing 19 copies and missing the last one.

Writers use it on drafts, students use it on essays, and editors use it on posts that are almost ready to publish. It also helps when a client asks for a wording change, or when a term needs to match a style guide. A blog that called a feature "quick start" in one place and "QuickStart" in another can be made consistent in seconds. A list that still says "Mr Smith" after a name change can be fixed in one pass. The key is to check the match count first, because that number tells you what will change before you commit to it.

How to use find and replace step by step

First, paste your text into the top box. Next, type the word or phrase you want to find, and type the replacement in the box below it. The live match count updates as you type, so you can see how many copies exist before you replace anything. If you only want exact capital letters to match, turn on the case sensitive toggle. If you only want whole words to match, turn on the whole words only toggle, so "cat" does not change inside "catalog". Then click Replace All, read the result in the bottom box, and click Copy Result when you are happy. The Clear button resets every box for your next job.

Try a short test first on a copy of your text, not on the only copy you have. That habit protects you when a find word appears in a place you did not expect. For example, replacing "art" in a long essay will also hit "start", "part", and "heart" unless whole words only is on. A quick test shows those extra hits in the match count, and you can fix the setting before you replace the full text.

Input vs output examples

Example one. Input text: "The shop opens at 9 am. The shop sells fresh bread. The shop is on Main Street." Find: "shop", replace with: "bakery". Output: "The bakery opens at 9 am. The bakery sells fresh bread. The bakery is on Main Street." Three replacements are made, and the match count shows 3 before you click.

Example two. Input text: "Please send the file to Ana. Ana will check it. Thanks, Ana." Find: "Ana", replace with: "Sara", with case sensitive on. Output: "Please send the file to Sara. Sara will check it. Thanks, Sara." Three replacements are made, and a lowercase "ana" elsewhere in the text would be left alone.

Example three. Input text: "I love cats. My cat is called Milo. The catalog is on the shelf." Find: "cat", replace with: "dog", with whole words only on. Output: "I love dogs. My dog is called Milo. The catalog is on the shelf." Only two replacements are made, and "catalog" stays untouched, which is exactly what whole words only is for.

Privacy

All processing happens locally in your browser. Your text is never stored on a server, never sent anywhere, and never shared with anyone. Close the page and your text is gone. That makes this tool safe for drafts, client work, and private notes.

Frequently asked questions

What does the match count do?

It counts how many times your find word appears before you replace anything. Use it to check that the number looks right, and to spot a setting problem, like a word matching inside other words.

When should I turn on case sensitive?

Turn it on when capital letters matter, such as a name, a brand, or the start of a sentence. Leave it off when you want every copy changed, no matter how it is capitalised.

What does whole words only do?

It matches "cat" on its own, but not "cat" inside "catalog" or "scatter". Turn it on when your find word is short and could hide inside longer words.

Can I replace a phrase, not just one word?

Yes. Type the full phrase in the Find box, such as "quick start guide", and type the new phrase in the Replace box. The tool replaces every full copy of that phrase.

Can I undo a replacement?

There is no undo button, so keep your original text in the top box until you are happy with the result. The top box is not changed, so you can change the settings and click Replace All again.