Find & Replace
Find and replace multiple words at once with regex support. Bulk batch replace text with case-sensitive and whole-word matching, preview mode and replacement history. Free online tool, no signup required.
Quick Examples
[space][space] → [space]
\n\n+ → \n
^\s+ → (empty)
\b(\w+)\s+\1\b → $1
email pattern → [EMAIL]
Keyboard Shortcuts
Find Text and Replace It Online — Free
This free online tool lets you find text and replace it across your whole document in one click. Whether you need to find text and swap a single word, run a quick find replace, do a bulk text find and replace across thousands of lines, or use online regex replace for pattern-based edits, paste your content into the box above and get instant results.
Unlike Ctrl + H in Word or Excel, this find and replace tool handles regular expressions, replacing multiple different words at once, whole-word matching, and entire text files — all in your browser, with nothing uploaded.
Advanced Find and Replace for Text Processing
Our Find and Replace tool goes beyond simple text substitution. With support for regular expressions, case-sensitive matching, whole word search, and batch replacements, you can perform complex text transformations in seconds. Whether you're cleaning data, refactoring code, or editing documents, this tool handles it all with precision.
All processing happens locally in your browser, ensuring complete privacy for sensitive documents. No data is ever sent to servers, and you can work offline after loading the page. Process files up to 50MB with instant results.
Replace Multiple Words Online — on Mobile, Laptop or Tablet
Sometimes you just need to swap one word for another across a long block of text — a name that changed, a date, or a misspelling repeated dozens of times. Doing it by hand is slow and easy to get wrong. This free online find and replace tool changes every match in a single click, and it runs in any browser — desktop, laptop, Android phone, iPhone, or tablet — with nothing to install and no signup.
People use it to replace multiple words at once, fix a repeated typo across a whole document, swap commas for new lines, clean up data before importing into Excel or Google Sheets, or rename variables in code. Turn on Regex for pattern-based replacement, Case for case-sensitive matching, or Whole Word so searching "cat" never touches "category". Because everything runs in your browser, your text stays private on your device and the tool keeps working offline once the page has loaded.
It works fully on mobile: open the page in your phone's browser, paste your text, type the word to find and the word to replace, and tap Replace All — the same experience as on a laptop, with no app to download. A handy alternative when you need find and replace but don't have Microsoft Word or a desktop open.
Hindi / Hinglish: Agar aapko kisi text me ek saath bahut saare words replace karne hain — jaise ek galat spelling ya naam jo poore document me baar-baar aaya hai — to ye free online find and replace tool ek hi click me sabko badal deta hai. Ye mobile aur laptop dono par chalta hai, koi app install karne ki zaroorat nahi, aur aapka text aapke device par hi surakshit rehta hai. Regex, case-sensitive aur whole-word matching jaise options bhi free me milte hain.
How to Use Find and Replace
Enter Your Text
Paste text directly, upload a file (TXT, CSV, JSON, etc.), or import from Google Docs. Drag and drop files are also supported.
Set Search Options
Configure case sensitivity, whole word matching, regex mode, or multi-line options based on your needs.
Enter Find & Replace
Type the text or pattern to find, and the replacement text. Use Preview to see changes before applying.
Replace & Export
Click Replace All to apply changes, then copy to clipboard or download the modified text.
Regular Expression Quick Reference
Character Classes
.
Any single character
\d
Any digit (0-9)
\w
Word character (a-z, A-Z, 0-9, _)
\s
Whitespace (space, tab, newline)
[abc]
Any of a, b, or c
[^abc]
Not a, b, or c
Quantifiers
*
0 or more
+
1 or more
?
0 or 1 (optional)
{n}
Exactly n times
{n,m}
Between n and m times
*?
Non-greedy (lazy) match
Anchors & Groups
^
Start of line
$
End of line
\b
Word boundary
(abc)
Capture group
(?:abc)
Non-capturing group
a|b
a or b (alternation)
Replacement Tokens
$1, $2
Captured groups 1, 2, etc.
$&
Entire matched text
$`
Text before match
$'
Text after match
$$
Literal $ character
\n
Newline character
Common Find & Replace Examples
Find Email Addresses
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
Matches standard email addresses like user@example.com
Find Phone Numbers
\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}
Matches formats like (123) 456-7890 or 123-456-7890
Find URLs
https?://[^\s<>"{}|\\^`\[\]]+
Matches HTTP and HTTPS URLs
Remove Extra Spaces
\s{2,}
Replaces multiple spaces with a single space
Remove HTML Tags
<[^>]+>
(empty)
Strips all HTML tags from text
Swap Words
(\w+)\s+(\w+)
$2 $1
Swaps two consecutive words
Powerful Features
Regular Expressions
Full regex support with capturing groups, lookahead/lookbehind, quantifiers, and character classes for complex pattern matching.
Batch Replacements
Define multiple find/replace pairs and execute them all at once. Perfect for complex multi-step transformations.
Live Preview
See highlighted matches in real-time as you type. Preview changes before applying to ensure accuracy.
Replace History
Track all your replacements with the ability to undo changes. Never lose your original text.
File Support
Upload and process text files up to 50MB. Supports TXT, CSV, JSON, HTML, and many more formats.
100% Private
All processing happens in your browser. Your text never leaves your device, ensuring complete privacy.
Common Use Cases
Code Refactoring
- Rename variables across files
- Update function names
- Change import paths
- Fix coding conventions
Data Cleaning
- Remove unwanted characters
- Standardize formats
- Fix encoding issues
- Clean CSV/JSON data
Document Editing
- Find and fix typos
- Replace outdated terms
- Standardize formatting
- Update references
Web Development
- Update URLs en masse
- Change CSS class names
- Modify HTML attributes
- Fix broken links
How to Find and Replace in Word, Google Docs, Excel & More
Every major editor has a built-in find and replace feature. In almost all of them the shortcut is the same: press Ctrl + H on Windows or ⌘ Cmd + Shift + H on a Mac to open the Replace dialog. Below is exactly where to find it in each program — or skip the app entirely and paste your text into the tool above for regex, bulk, and whole-word replacements that Word and Excel can't do.
| Program | Windows shortcut | Mac shortcut |
|---|---|---|
| Microsoft Word | Ctrl + H | ⌘ + Shift + H |
| Excel | Ctrl + H | Ctrl + H or ⌘ + Shift + H |
| Google Docs | Ctrl + H | ⌘ + Shift + H |
| Google Sheets | Ctrl + H | ⌘ + Shift + H |
| Notepad / Notepad++ | Ctrl + H | — |
| PowerPoint | Ctrl + H | ⌘ + Shift + H |
| Browser (Chrome, Firefox) | Ctrl + F (find only) | ⌘ + F (find only) |
| VS Code | Ctrl + H | ⌘ + Option + F |
How to Find and Replace in Microsoft Word
- Open your document and press Ctrl + H (Windows) or ⌘ + Shift + H (Mac). You can also click Home → Replace in the top-right of the ribbon.
- Type the word or phrase to find in Find what, and the new text in Replace with.
- Click Replace All to change every match at once, or Replace to step through them one by one.
- Click More >> for advanced options: Match case, Find whole words only, and Use wildcards for pattern-based replacements.
How to Find and Replace in Google Docs
- Open the document and press Ctrl + H (or ⌘ + Shift + H on Mac), or go to Edit → Find and replace.
- Enter the text to find and the replacement text.
- Tick Match case or Match using regular expressions if needed, then click Replace all.
How to Find and Replace in Excel
- Select the range (or the whole sheet), then press Ctrl + H to open Find and Replace.
- Enter the value in Find what and the new value in Replace with, then click Replace All.
- Click Options for Match case, Match entire cell contents, and wildcards: use
*for any number of characters and?for a single character. To replace a literal asterisk, type~*.
How to Find and Replace in Notepad
- Open the file in Notepad and press Ctrl + H.
- Enter the find and replace text and click Replace All. Notepad++ adds regex and case-sensitive options in the same dialog.
Find and Replace in a PDF
PDFs are not directly editable, so there is no universal find-and-replace shortcut. Use Adobe Acrobat Pro (Edit PDF → Find, then Replace With) or copy the PDF text, paste it into the tool above, run your replacements, and paste the result back. For scanned PDFs you'll need OCR first.
Need more than any of these can do? The find and replace tool at the top of this page handles what Word and Excel struggle with: regex patterns, replacing multiple different words at once, whole-word matching, live match counts, and processing whole text files — all in your browser, nothing uploaded.
Frequently Asked Questions
How do I use regular expressions in find and replace?
What is whole word matching?
Can I replace multiple patterns at once?
How do I preview changes before applying?
Is my text data stored on your servers?
What file types can I upload?
Can I use find and replace on my phone or mobile?
Text me ek saath multiple words kaise replace kare? (How to replace multiple words at once?)
How do I find and replace in Microsoft Word?
Where is find and replace in Word?
How do I find and replace in Excel?
* matches any characters and ? matches one; use ~* or ~? to replace a literal asterisk or question mark.