Find & Replace Text Online
Search for any word, phrase, or regular expression in a block of text and replace all occurrences instantly. Toggle case-sensitive matching and regex mode. See match count before replacing.
How to Use Find & Replace
Paste your text into the main textarea, then type the word or phrase you want to find in the Find field. The preview panel on the right highlights all matches in real time so you can see exactly where they are before committing. Type your replacement into the Replace with field — leave it empty to delete all matches. Click Replace All to apply the substitution instantly, then use Copy Text to take the result.
Plain Text vs Regex Mode
By default the tool operates in plain text mode: every character in the
Find field is treated literally, including dots, parentheses, and
other characters that have special meaning in regular expressions. Enable
Regex mode to unlock the full JavaScript regex engine. In regex
mode the ^ and $ anchors match the start and end of each
line, and you can use capture groups in your replacement string: for example, a
find pattern of (\w+) (\w+) with a replacement of $2 $1
swaps the first two words of every line.
Case Sensitive and Whole Word Matching
Case sensitivity is off by default, so searching for hello also matches Hello and HELLO. Enable Case sensitive to restrict matching to the exact capitalisation typed in the Find field. Enable Whole words to skip matches that appear inside larger words — for example, finding i with Whole words on matches the standalone pronoun but not the i inside ice. Both settings work in plain text and regex modes and can be combined freely.
Why Use a Browser-Based Find & Replace?
Exported database records, legal drafts, API response logs, and source code snippets often contain sensitive data you would not want passing through a third-party server. This tool processes every substitution entirely inside your browser using the JavaScript string engine — nothing is transmitted, logged, or stored anywhere. There is no character limit, so you can paste a full document export and run bulk replacements without any upload step or rate limit.