find and replace text
Replace every occurrence of a word or phrase in one go. Power users: regex with capture groups is built in.
How to use it
- Paste your text.
- Type what to find and what to replace it with.
- Toggle match case, whole word or regex — copy the result.
Plain find and replace
By default the search is plain text: whatever you type is matched literally, symbols included, and the replacement is inserted exactly as typed. “Match case” makes Apple and apple different. “Whole word” only matches complete words, so replacing “cat” won't touch “category”. The result shows how many replacements were made.
Leave the replacement box empty to delete every occurrence — a quick way to strip a repeated word, a tracking parameter or a signature line.
Regular expressions
Turn on regex to use JavaScript regular expressions. Examples: \d+ matches any number; ^\s+ matches spaces at the start of lines; (\w+)@(\w+) captures two parts you can reuse as $1 and $2 in the replacement. $& inserts the whole match and $$ inserts a literal dollar sign. Invalid patterns show a clear error instead of breaking anything.
Regex runs on your own device, so you can test patterns on real data — logs, customer lists, exported CSVs — without pasting it into a website that uploads it.
Handy recipes
Swap “first last” to “last, first” on every line: regex (\S+) (\S+) → $2, $1. Remove everything in brackets: regex \s*\([^)]*\) → (empty). Turn a list into comma-separated values: regex \n → “, ”. Wrap each line in quotes: regex ^(.+)$ with replacement "$1" (^ and $ match the start and end of every line). Mask phone numbers: regex \d(?=\d{4}) → *.
Check the replacement count before copying — if it's zero, the pattern didn't match anything; if it's far higher than expected, turn on whole word or make the pattern more specific.
Private by design
Your text is processed by your own browser and never sent to a server — there's no upload, no account and nothing saved after you close the tab. That makes it safe for drafts, school work, client documents and lists containing personal data.
Frequently asked questions
How do I delete a word everywhere?
Type the word in “find”, leave “replace with” empty, and turn on whole word so parts of other words aren't removed.
Can I use capture groups?
Yes, in regex mode. Use $1, $2… or named groups with $<name> in the replacement.
Does find and replace work with Hindi or emoji?
Yes. Matching is Unicode-aware, and whole-word mode understands letters in any script.
Is this tool free?
Yes — completely free with no sign-up, no word limit and no watermark. It works on phones, tablets and computers.
Does it work offline?
Once the page has loaded, yes. All the processing is done by JavaScript in your browser, so you can even switch off your internet and keep working.