Find & Replace Text
Search your text with plain words or a regular expression, replace every match at once, and copy or download the result — no signup, no upload.
Regex mode: Find is a JavaScript pattern (e.g. \d+) and
Replace with supports groups like $1. Invalid patterns are flagged below.
How find & replace works
Everything updates the moment you type — enter what to find, what to replace it with, and read the result instantly.
Paste your text
Drop in code, a document, a CSV or any block of text you want to edit in bulk.
Set find & replace
Type the term to find and its replacement. Toggle case-sensitivity, replace-all, or switch on regex for pattern matching.
Copy or download
See the live match count, then copy the result to your clipboard or download it as a .txt file.
Plain text vs. regex
In plain mode, the tool looks for your search term exactly as typed — special
characters like . or * are matched literally, so there is nothing to escape.
Case sensitive makes "Cat" and "cat" distinct, and Replace all
swaps every occurrence rather than just the first.
Switch on Regex mode to search with a JavaScript regular expression. Use patterns
like \s+ to collapse whitespace or (\w+)@(\w+) to capture groups, then
reference them in the replacement with $1, $2, and so on. If the pattern
is invalid, you'll get a clear message instead of a broken result.
It's ideal for cleaning up exported data, renaming variables across a snippet, stripping formatting, or making the same edit hundreds of times without touching each one by hand.
Private by design. Your text never leaves your device. All searching and replacing happens right here in your browser — nothing is uploaded or stored.
Frequently Asked Questions
How do I replace every occurrence at once? ▼
Does it support regular expressions? ▼
\d+ to match numbers — and reference captured groups in your replacement with $1, $2, and so on.How do I match upper and lower case exactly? ▼
Do I need to escape special characters in plain mode? ▼
. or * are matched exactly as typed, so there's nothing to escape.