Find & Replace
Find and replace text instantly. Supports plain text and regular expressions. Runs locally in your browser.
Input
Output
Tip: You can verify in DevTools → Network that nothing is uploaded.
Find & Replace options
About this Find & Replace Tool
Use this tool to find and replace text in your documents. Supports both plain text matching and regular expressions for advanced pattern matching. Everything runs locally in your browser — nothing you paste is sent to a server.
- Plain text or regex pattern matching
- Case-sensitive and case-insensitive options
- Replace all or first occurrence only
- Support for regex capture groups ($1, $2, etc.)
- Enable Auto to replace as you type
- Use regex mode for complex patterns
- Test regex patterns before replacing
- Empty replacement removes matched text
FAQ
No. Find and replace happens locally in your browser. Nothing you paste is sent to a server.
Use parentheses in your regex pattern to create capture groups. In the replacement text, use $1, $2, etc. to reference the captured groups. For example, pattern (\d+)-(\d+) with replacement $2-$1 swaps two numbers.
Plain text mode finds exact matches (with optional case sensitivity). Regex mode allows you to use pattern matching with special characters like \d for digits, \w for word characters, and + for one or more.
An error message will appear below the pattern input. The output will remain the same as the input until you fix the regex pattern.
Yes, but extremely large files may be slow depending on your device. The current limit is 5MB.
After the page loads once, it will typically keep working if you go offline (unless you hard refresh with no cache).