Find and Replace Text
Swap every occurrence of a word or pattern in seconds β privately, right here in your browser.
π How it works & FAQWhat this tool does
Find and Replace Text scans whatever you paste and swaps every match of your search term for a replacement β all at once. It is the same idea as the find-and-replace box in a word processor, but stripped down, instant, and completely private. Your text never leaves your browser: there is no upload, no server, and nothing is stored. Close the tab and it is gone.
Three switches let you tighten or loosen how matching works. Case-insensitive treats "Fox", "fox", and "FOX" as the same word. Whole word only stops "cat" from matching inside "category" or "scatter". And Regular expression unlocks full pattern power β use \d+ to catch any run of digits, \s+ to collapse whitespace, or capture groups referenced as $1 in your replacement.
How to use it
- Paste or type your text into the first box.
- Type the word or phrase you want to find in the Find field.
- Type what it should become in the Replace with field (leave it blank to delete matches).
- Optionally tick Case-insensitive, Whole word only, or Regular expression.
- Read the count of how many occurrences were replaced, then click Copy result to grab the output.
FAQ
- Does it replace every match or just the first?
- Every match in the text is replaced in a single pass, and the tally below the buttons tells you exactly how many were changed.
- Can I use regular expressions?
- Yes. Tick Regular expression and your Find field is read as a regex pattern. You can reference capture groups like
$1in the replacement. Invalid patterns show a friendly error instead of breaking. - Is my text uploaded anywhere?
- No. Everything runs in your browser with JavaScript. Nothing is sent over the network, logged, or saved.
- Why did "cat" not match inside "category"?
- You likely have Whole word only enabled, which requires a word boundary on both sides. Untick it to match anywhere, including inside longer words.