Find and Replace Text Online
Paste a block of text, tell this tool what to look for, and what to put there instead — every occurrence gets swapped in a single click. It saves the tedium of manually scanning a document for one recurring word or phrase and fixing each instance by hand.
As you type into the Find field, every match in your text gets highlighted right away, so you can confirm you're about to change the right thing before you click "Replace Text."
How does the find and replace tool work?
Paste your text into the box above, then type the word or phrase you're searching for into the Find field. Matches light up immediately. Type what you want in its place into the Replace field, and click "Replace Text" to swap every occurrence at once. The updated text stays right there in the box, ready to copy or download. Matching is case-sensitive, so searching for "cat" will not touch "Cat" or "CAT."
Can I search for a pattern, not just plain text?
Yes — the Find field understands regular expressions, so patterns like \d+ to
match any run of digits, or capture groups referenced in the Replace field with
$1, $2, and so on, both work. If you're not sure your pattern is
valid, an invalid expression simply won't match anything rather than breaking the page. For
building and testing more complex patterns before you use them here, the
regex tester tool gives you a dedicated space to
experiment.
Can I use this for bulk edits across a long document?
Definitely. Whether you're correcting a recurring typo across a manuscript, updating a product name throughout a catalog listing, or swapping placeholder values in a template, one click handles every occurrence in the pasted text — there's no practical limit on how much you paste in. If what you need is the opposite of finding text — generating a block of repeated placeholder text for a template — the repeat text generator can help.
Why didn't all my matches get replaced?
Matching is case-sensitive by design, so double-check that the casing in the Find field matches what's actually in your text. If you're using a regular expression, an unescaped special character (like a bare parenthesis or bracket) can make the pattern invalid, in which case it simply won't match anything until it's corrected.
Related tools
- Regex Tester Tool — build and test a regular expression before using it here.
- Duplicate Word Finder — spot words you're overusing before deciding what to replace.
- Remove Underscores — a focused version of find-and-replace for one specific character.
- Repeat Text Generator — generate repeated placeholder text for templates.
Last reviewed: August 2026