Find and Replace
Paste your text, set what to find and what to replace it with. See matches highlighted in real time, compare before and after with a diff view, and apply when ready. Supports regex with capture groups.
Enter a search term — matches show as you type.
Your text is processed in your browser and is not uploaded to a server.
How to use this find and replace
- Paste your text into the input box.
- Type what to find and what to replace it with — matches highlight as you type.
- Toggle Regex, Case sensitive or Whole word as needed.
- Switch between Preview (matches inline) and Diff (side-by-side) views.
- Click Apply replacement to commit, or copy / download the result.
Frequently asked questions
Does it support regex with capture groups?
Yes. Turn on Regex, then in the replacement use $1, $2, $3… to insert capture groups, and $& to insert the full match.
What's the difference between Preview and Diff?
Preview shows your text inline with each match highlighted (and the replacement next to it). Diff shows the original and the result side-by-side with changed lines coloured.
How does Whole word work?
It wraps your search in word boundaries so 'cat' won't match 'category'. It works for both literal and regex searches.
Is my text uploaded?
No. All matching and replacement happens entirely in your browser.