Text Replacer
Free online find and replace tool. Supports plain text and regex patterns with case-sensitive, whole-word, and batch replace options. 100% browser-based, no upload.
How does find and replace work?
Enter the text to find and the replacement text, then click replace. All matching occurrences will be replaced instantly. You can use plain text mode for simple string matching or regex mode for advanced pattern matching.
What is regex (regular expression) mode?
Regex mode allows you to use regular expressions for pattern matching. For example, \d+ matches any number, [a-z] matches any lowercase letter, and .+ matches any character sequence. This enables powerful and flexible search patterns beyond simple text matching.
What is case-sensitive matching?
When case-sensitive is enabled, uppercase and lowercase letters are treated as different characters. For example, searching for \'Hello\' will match \'Hello\' but not \'hello\' or \'HELLO\'. Disable it for case-insensitive matching.
What is whole-word matching?
When whole-word is enabled, only complete word matches are replaced. For example, searching for \'cat\' will match the word \'cat\' but not \'catalog\', \'education\', or \'scatter\'. This prevents unintended partial matches.
Can I replace multiple different texts at once?
Yes. Use the batch replace feature to define multiple find-and-replace pairs. Each pair is processed sequentially, allowing you to perform complex text transformations in one operation.
Is my data safe and private?
Absolutely. All text processing happens entirely in your browser using JavaScript. No data is uploaded to any server, and nothing is stored or tracked. Your text remains 100% private on your device.
Can this tool handle large text files?
Yes. The tool is optimized for performance and can handle large text content efficiently. Processing is done client-side using optimized JavaScript, so performance depends on your device capabilities and text size.
What is the difference between plain text and regex mode?
In plain text mode, the search string is matched literally — what you type is exactly what is searched. In regex mode, the search string is interpreted as a regular expression pattern, enabling wildcards, character classes, quantifiers, and other advanced matching features.
Does the tool support Unicode and special characters?
Yes. The tool fully supports Unicode characters, including accented letters, CJK characters, Cyrillic, Arabic, and other scripts. You can search and replace text in any language.
Is there a limit on text length?
There is no hard limit on text length. Since all processing happens in your browser, the practical limit depends on your device\'s available memory. For very large texts (tens of MB), performance may vary based on your device.