Find & Replace
Bulk find and replace across any text, with regex, case sensitivity, and whole-word matching.
100% in your browser — files never leave your device
How find and replace works
Plain-text mode escapes every regex-special character in your search term before matching, so searching for 3.14 finds the literal string, not "3", any character, then "14." Turn on Regex to search with actual regular expression syntax instead — the escaping step is skipped and your pattern is compiled directly.
Capture groups only work in Regex mode: wrap part of your pattern in parentheses and reference it in the replacement with $1, $2, and so on. To swap the two sides of an email address, for example, search (\\w+)@(\\w+) and replace with $2.$1 — a rearrangement a plain-text find-and-replace can't do.
Whole-word matching wraps your term in word boundaries (\\b) so cat matches the word cat but not category — but it only applies in plain-text mode, since a regex pattern might already include boundaries or intentionally match partial words. Add \\b yourself in Regex mode if you need it.
Frequently asked questions
Is my text uploaded anywhere?
No. Find and replace runs entirely in your browser. Nothing is sent to a server.
How do I use capture groups?
Turn on "Regex" and reference capture groups in the replacement with $1, $2, and so on. For example, find (\w+)@(\w+) and replace with $2.$1 to swap around an @ sign.
What does "whole word" do?
It wraps your search term in word boundaries so "cat" matches the word cat but not "category". It applies in plain-text mode; in regex mode, add \b yourself.
Related tools
How to use Find & Replace
Use the free tool above, or check the options on your device. No subscription or account is required for the browser tool.
Find & Replace in your browser
Free browser tool — no installation
- Paste text into Input and enter Find and Replace with.
- Select Regex, Case sensitive or Whole word as needed; inspect the output.
- Copy the result or select Download.
Regex replacements can affect more text than expected. Review the result before replacing your source.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
Find & Replace on Mac
Free browser tool — no installation
Use the tool on this page in Safari, Chrome, or Firefox. These steps use the browser tool; they do not require an extra app.
- Paste text into Input and enter Find and Replace with.
- Select Regex, Case sensitive or Whole word as needed; inspect the output.
- Copy the result or select Download.
Regex replacements can affect more text than expected. Review the result before replacing your source.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a copy of the original. Find saved results in your browser’s Downloads menu; your browser may ask where to save them. If processing fails, keep the original and try a smaller file or a desktop browser.
Find & Replace on Windows
Free browser tool — no installation
Use the tool on this page in Edge, Chrome, or Firefox. These steps use the browser tool; they do not require an extra app.
- Paste text into Input and enter Find and Replace with.
- Select Regex, Case sensitive or Whole word as needed; inspect the output.
- Copy the result or select Download.
Regex replacements can affect more text than expected. Review the result before replacing your source.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a copy of the original. Find saved results in your browser’s Downloads menu; your browser may ask where to save them. If processing fails, keep the original and try a smaller file or a desktop browser.
Find & Replace on iPhone / iPad
Free browser tool — no installation
Use the tool on this page in Safari or another current browser. These steps use the browser tool; they do not require an extra app.
- Paste text into Input and enter Find and Replace with.
- Select Regex, Case sensitive or Whole word as needed; inspect the output.
- Copy the result or select Download.
Regex replacements can affect more text than expected. Review the result before replacing your source.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose Browse in the file picker to find a document in Files. A result may open in a preview; use Share → Save to Files when offered. If processing fails, keep the original and try a smaller file or a desktop browser.
Find & Replace on Android
Free browser tool — no installation
Use the tool on this page in Chrome or another current browser. These steps use the browser tool; they do not require an extra app.
- Paste text into Input and enter Find and Replace with.
- Select Regex, Case sensitive or Whole word as needed; inspect the output.
- Copy the result or select Download.
Regex replacements can affect more text than expected. Review the result before replacing your source.
Processing happens on your device in the browser. Large files may exceed your device’s available memory.
For file tools, choose a document from the system file picker. Saved downloads are usually available in your browser’s Downloads menu or your file manager. If processing fails, keep the original and try a smaller file or a desktop browser.