Find and Replace Text Online

Enter text below and a search term above
Input
Output

Free Online Find and Replace Tool

Paste text in the input box, type what you want to find and what to replace it with, then click Replace all. The output shows the modified text instantly. Use the options for case-sensitive matching, whole-word only, or full regular expression support. No account needed, no data sent to any server.

How find and replace works

Find and replace scans your text for every occurrence of the search term and substitutes each match with the replacement. By default it is case-insensitive and matches any position within a word. Toggle options to narrow or widen what counts as a match.

Using regular expressions (regex) for advanced replacements

Enable "Use regex" to use JavaScript-compatible regular expressions in the Find field. This unlocks powerful patterns: \d+ matches any number, [aeiou] matches any vowel, and (word1|word2) matches either term. In the Replace field you can reference captured groups with $1, $2, etc. For example, find (\w+) (\w+) and replace with $2 $1 to swap the first two words of every pair.

Common uses for find and replace

Writers use it to fix recurring typos, replace a character's name throughout a document, or standardise terminology. Developers use it to rename variables, update URLs, or reformat data. SEO professionals use it to bulk-update keyword references in content drafts. Data analysts use it to clean column values in exported text.

Frequently asked questions

How do I replace all occurrences of a word?
Paste your text in the input box, type the word in the Find field and the replacement in the Replace with field, then click 'Replace all'. Every occurrence is replaced at once.
What is regex find and replace?
Regex (regular expression) lets you match text patterns rather than exact strings. Enable 'Use regex' and type a JavaScript-compatible pattern in the Find field. For example, \d+ matches any sequence of digits. Capture groups let you rearrange matches using $1, $2 in the replacement.
What does 'whole word' matching do?
Whole word matching uses word boundaries so 'cat' matches only the word 'cat', not 'catch' or 'catalogue'. This is useful when a short word appears as part of longer words you don't want to change.
Can I leave the Replace field empty to delete text?
Yes. Leave the Replace with field empty to delete every occurrence of the search term from your text.
Does the tool save my text?
No. All processing happens in your browser. Your text is never sent to a server or stored anywhere.