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.

🔒 100% private — nothing is uploaded
No matches yet

How find & replace works

Everything updates the moment you type — enter what to find, what to replace it with, and read the result instantly.

1

Paste your text

Drop in code, a document, a CSV or any block of text you want to edit in bulk.

2

Set find & replace

Type the term to find and its replacement. Toggle case-sensitivity, replace-all, or switch on regex for pattern matching.

3

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?
Keep Replace all switched on and every match is swapped in one go. Turn it off to replace only the first match.
Does it support regular expressions?
Yes. Switch on Regex mode to search with a pattern — for example \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?
Turn on Case sensitive so that "Cat" and "cat" are treated as different. Leave it off to match regardless of case.
Do I need to escape special characters in plain mode?
No. With regex mode off, characters like . or * are matched exactly as typed, so there's nothing to escape.
What happens if my pattern is invalid?
Your text is left untouched and you'll see a clear message explaining the problem, instead of a broken result.
Is my text uploaded anywhere?
No. All searching and replacing happens in your browser on your own device — nothing is uploaded or stored.