Find & Replace
Powerful text find and replace tool with regex support, multi-replacement and case preservation.
Your data stays on your device. Nothing is sent to our servers.
What is the Find & Replace tool?
Our find and replace tool is a powerful utility for quickly modifying text in bulk. Whether you need to fix repetitive errors, reformat data, or perform complex transformations with regular expressions, this tool does it instantly and for free. Perfect for developers, writers, and anyone working with text.
Features
Multi-replacement
Add multiple replacement rules to apply simultaneously.
Regex Support
Use regular expressions for advanced search patterns.
Case Preservation
Automatically preserve the case of the original text.
100% Private
Everything happens in your browser. No data transmitted.
Available Options
| Option | Description | Example |
|---|---|---|
Case sensitive |
Distinguishes between uppercase and lowercase | "Test" โ "test" |
Whole word only |
Only replaces complete words, not substrings | "cat" โ "category" |
Regex |
Enables JavaScript regular expressions | \d+ โ [0-9]+ |
Preserve case |
Adapts replacement case to match found text | APPLE โ BANANA |
Escape sequences |
Interprets \n as newline, \t as tab | \n โ newline |
How to use?
Enter your rules
Enter the text to find and its replacement. Add multiple rules if needed.
Paste your text
Paste or import the source text in the left panel.
Replace
Click "Replace All" and get the result.
Regular Expressions Guide
| Pattern | Meaning | Example |
|---|---|---|
. | Any character | c.t โ cat, cot, cut |
\d | Digit (0-9) | \d+ โ 123, 4567 |
\w | Word character (a-z, A-Z, 0-9, _) | \w+ โ hello_world |
\s | Whitespace | a\sb โ a b, a\tb |
^ | Start of line | ^Hello โ Hello... |
$ | End of line | end$ โ ...end |
* | Zero or more | ab*c โ ac, abc, abbc |
+ | One or more | ab+c โ abc, abbc |
[abc] | Character class | [aeiou] โ vowels |
(group) | Capture group | (\d+) โ $1 |
Frequently Asked Questions
How do I preserve case when replacing?
Enable the "Preserve case" option. If you replace "apple" with "banana", "APPLE" becomes "BANANA", "Apple" becomes "Banana", etc.
How do I use regular expressions?
Check the "Regular expressions" option. You can then use patterns like \d+ for numbers, \w+ for words, or capture groups with $1, $2, etc.
How do I add line breaks in the replacement?
Enable "Escape sequences" and use \n for a line break, \t for a tab.
Can I undo a replacement?
Yes, use the "Undo" button or Ctrl+Z shortcut to go back. History keeps the last 20 operations.
Is there a size limit?
Processing is done in your browser. Files up to 50 MB are supported without issues.