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.

Options 0 matches
Use $1, $2 for regex capture groups
0 chars 0 words 0 lines Ln 1, Col 1

Quick Examples

Remove Double Spaces [space][space][space]
Remove Blank Lines \n\n+\n
Trim Leading Whitespace ^\s+(empty)
Remove Duplicate Words \b(\w+)\s+\1\b$1
Mask Email Addresses email pattern[EMAIL]

Keyboard Shortcuts

F3 Find Next
Shift+F3 Find Previous
Enter Replace Current
Shift+Enter Replace All
Ctrl+Z Undo
Ctrl+Y Redo

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

01

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.

02

Set Search Options

Configure case sensitivity, whole word matching, regex mode, or multi-line options based on your needs.

03

Enter Find & Replace

Type the text or pattern to find, and the replacement text. Use Preview to see changes before applying.

04

Replace & Export

Click Replace All to apply changes, then copy to clipboard or download the modified text.

Advertisement
Ad

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.

ProgramWindows shortcutMac shortcut
Microsoft WordCtrl + H + Shift + H
ExcelCtrl + HCtrl + H or + Shift + H
Google DocsCtrl + H + Shift + H
Google SheetsCtrl + H + Shift + H
Notepad / Notepad++Ctrl + H
PowerPointCtrl + H + Shift + H
Browser (Chrome, Firefox)Ctrl + F (find only) + F (find only)
VS CodeCtrl + H + Option + F

How to Find and Replace in Microsoft Word

  1. 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.
  2. Type the word or phrase to find in Find what, and the new text in Replace with.
  3. Click Replace All to change every match at once, or Replace to step through them one by one.
  4. 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

  1. Open the document and press Ctrl + H (or + Shift + H on Mac), or go to Edit → Find and replace.
  2. Enter the text to find and the replacement text.
  3. Tick Match case or Match using regular expressions if needed, then click Replace all.

How to Find and Replace in Excel

  1. Select the range (or the whole sheet), then press Ctrl + H to open Find and Replace.
  2. Enter the value in Find what and the new value in Replace with, then click Replace All.
  3. 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

  1. Open the file in Notepad and press Ctrl + H.
  2. 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.

Advertisement
Ad

Frequently Asked Questions

How do I use regular expressions in find and replace?

Enable the "Regex" option, then enter your regular expression pattern in the Find field. Common patterns include: \d+ (numbers), \w+ (words), [a-z]+ (lowercase letters), .* (any characters). Use capturing groups () and reference them with $1, $2, etc. in the Replace field.

What is whole word matching?

Whole word matching only finds complete words, not partial matches. For example, searching for "cat" with whole word matching will find "cat" but not "category" or "scatter". This is useful when replacing specific terms without affecting similar words.

Can I replace multiple patterns at once?

Yes! Use the Batch Replace feature to define multiple find/replace pairs. Each pair is processed in order, allowing you to perform complex multi-step replacements in a single operation. Click "Add Rule" to add more pairs.

How do I preview changes before applying?

Click the "Preview" button to see highlighted matches in the text. Matches will be highlighted in yellow, and you can see the total count of matches. This helps you verify your pattern before replacing.

Is my text data stored on your servers?

No, all processing happens locally in your browser using JavaScript. Your text never leaves your device, ensuring complete privacy for sensitive documents. The tool works entirely offline after loading.

What file types can I upload?

You can upload text-based files including TXT, CSV, JSON, XML, HTML, MD, PHP, JS, Python, Java, and more. Maximum file size is 50MB. You can also import content directly from Google Docs, Sheets, and Slides.

Can I use find and replace on my phone or mobile?

Yes. The tool runs entirely in your mobile browser — Chrome, Safari, or any modern browser on Android and iPhone. Just open the page, paste your text, enter the word to find and its replacement, and tap Replace All. There is no app to install, it works the same as on a laptop or desktop, and because all processing happens on your device, it even keeps working offline after the page loads. This makes it a quick way to find and replace text on a phone when you don't have Microsoft Word open.

Text me ek saath multiple words kaise replace kare? (How to replace multiple words at once?)

Find aur Replace box me apna purana word aur naya word daaliye, phir Replace All par tap kijiye — poore text me wo word ek saath badal jaayega. Ek se zyada alag-alag words badalne ke liye "Batch Replace" feature use kijiye aur multiple find/replace pairs add kijiye. Ye tool mobile aur laptop dono par free chalta hai, bina kisi signup ke, aur aapka text kabhi server par nahi jaata — sab kuch aapke browser me hi hota hai.

How do I find and replace in Microsoft Word?

To find and replace in a Word document, press Ctrl + H (Windows) or + Shift + H (Mac) to open the Replace dialog — or click Home → Replace on the ribbon. Type the text to find and the replacement, then click Replace All to change every match at once. Click More for Match case, whole-word matching, and wildcards. For regex or replacing many different words at once, paste your text into the tool above instead.

Where is find and replace in Word?

Find and Replace is on the Home tab of the Word ribbon, in the Editing group on the far right — click Replace. The fastest way is the keyboard shortcut Ctrl + H on Windows, or + Shift + H on a Mac. To find text without replacing, use Ctrl + F.

How do I find and replace in Excel?

Select the cells you want to search (or click any cell to search the whole sheet), press Ctrl + H, enter the find and replace values, and click Replace All. Click Options for Match case and "Match entire cell contents". Excel supports wildcards: * matches any characters and ? matches one; use ~* or ~? to replace a literal asterisk or question mark.

What is the keyboard shortcut for find and replace?

In almost every editor — Word, Excel, Google Docs, Google Sheets, Notepad, PowerPoint and VS Code — the find and replace shortcut is Ctrl + H on Windows and + Shift + H on Mac. Use Ctrl + F (or + F) when you only want to find text without replacing it. See the shortcut table above for every program.