Find and replace across any text
When a name or term appears dozens of times in a long document, editing by hand is tedious and error-prone. This tool finds any word or phrase and replaces it everywhere in one click, with a highlighted preview of every match and a live count before you commit.
Search options
- Match case: distinguish “Apple” from “apple”.
- Whole word only: searching “cat” won't match “category”.
- Ignore Arabic diacritics: match vowelled and unvowelled Arabic words alike.
- Regular expressions: advanced pattern search, e.g. all dates or numbers. Use capture groups like
$1in the replacement.
Redact sensitive data before sharing
Before posting a chat log, document or error report online — or sending it to support — it's wise to hide personal data. Click a quick-redaction chip to select all:
- Email addresses.
- Local and international phone numbers.
- Links and URLs.
- Bank card numbers (13–19 digits).
Then click “Replace all” to swap them for “[redacted]” or any text you choose.
How to use it
- Paste your text into the first box.
- Type what to find and what to replace it with.
- Check the highlighted matches in the preview.
- Click “Replace all” and copy the result.
🔒 Everything happens inside your browser — your text and sensitive data are never sent to a server.
Tips for safe replacements in long texts
Bulk replace is powerful, and it can cause surprises. Replacing “cat”, for example, also changes “category” and “concatenate”. Check the match count before applying: if it's higher than you expect, your search is too broad.
- Keep a copy: hold on to the original until you've checked the result.
- Add a space or punctuation to the search term to limit it to whole words when needed.
- Mind letter case: “Apple” and “apple” may need different handling.
- For complex patterns like numbers, dates or emails, test the expression first in the Regex Tester.
Redact sensitive data before sharing
Before sending a log, chat export or document to tech support or posting it publicly, mask phone numbers, emails, card and account numbers. It protects you from fraud and identity theft, and respects the privacy of anyone else mentioned in the text.
Frequently Asked Questions
Can I undo a replacement?
Yes. “Undo” restores the text from before the last replacement.
How do I delete a word everywhere?
Type the word in Find, leave Replace empty and click “Replace all”.
Does quick redaction catch every phone number?
It catches most common local and international formats, but always review the text before publishing.
What is a regular expression?
A pattern language for advanced searches, such as \d+ for numbers. Try our Regex Tester to learn it.
Is there a size limit?
No practical limit. The preview shows the first 20,000 characters for speed, but replacement applies to the whole text.
Last updated: