Find and Replace Text
Find and replace text across multiple lines instantly. Supports case-sensitive matching and whole-word mode. Free, private, runs in your browser.
Runs in your browser · Free, no sign-up · Nothing is stored
About this tool
Find and Replace Text does exactly what its name promises: paste text, type what to find and what to replace it with, and click Replace All. Two checkboxes refine the match — Case sensitive for exact-capitalization matching, and Whole word so that "cat" does not match inside "concatenate". The tool counts every substitution and reports it, for example "✅ Replaced 14 occurrence(s)". When you are done, copy the result with the 📋 Copy button or save it as a file with the ⬇ Download link (replaced.txt). Matching is literal text, not regular expressions — special characters are treated as plain characters. Everything runs locally in your browser.
How to use it
What is Text Replacer?
Text Replacer is a find-and-replace utility for any pasted text. You supply the search term in the Find box and the substitute in the Replace with box, then run the replacement across the whole document at once. It is useful for renaming a term through a document, fixing a repeated typo, or swapping placeholders before publishing.
Two options control matching. Case sensitive (off by default) limits matches to identical capitalization. Whole word (off by default) wraps the term in word boundaries so short words do not match inside longer ones. The search term is treated as literal text — regex metacharacters like dots or brackets match themselves, not patterns.
After running, the tool shows how many substitutions were made and offers the result for copying or downloading.
How to use it
- Paste your text into the large box labeled Paste your text here....
- Type the term to find in the Find... box and its replacement in the Replace with... box.
- Tick Case sensitive and/or Whole word if you need stricter matching.
- Click Replace All, check the ✅ Replaced N occurrence(s) count, then use 📋 Copy or ⬇ Download to take the result.
Why use this over alternatives
Word processors bury find-and-replace in menus and rewrite your formatting; online versions often want an upload first. This page keeps the text, the two fields, and the options in one view with an explicit replacement count. The tool runs locally in your browser using client-side JavaScript.
Questions
- Does the Find box accept regular expressions?
- No. The tool escapes regex metacharacters before matching, so the search term is always treated as literal text. A dot matches a literal dot, not "any character". Use Whole word and Case sensitive to refine matches instead.
- What does the Whole word option do?
- It wraps your search term in word boundaries, so it only matches standalone words. With Whole word on, searching for "cat" matches "the cat sat" but not "concatenate" or "cats", because the characters around the match must be word boundaries.
- How do I save the replaced text?
- Two ways: click the **📋 Copy** button to put the result on your clipboard, or click the **⬇ Download** link to save it as a plain-text file named replaced.txt.
- Is my pasted text uploaded anywhere?
- No. It runs locally in your browser using client-side JavaScript.
Related tools
All text & writing tools- Readability Score CheckerCheck how easy your text is to read with the Flesch Reading Ease score
- Markdown PreviewWrite GitHub Flavored Markdown on the left, see live HTML preview on the right
- Base64 Encoder DecoderEncode text to Base64 or decode Base64 strings back to UTF-8 plain text instantly
- URL Slug GeneratorConvert any text into SEO-friendly URL slugs instantly