Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Find & Replace

Find & Replace

Find and replace text online with regex, case-sensitive, and whole-word matching. Highlight matches instantly, preview changes side by side, and replace all in one click.

Find and Replace Text Online

Find and replace text online in any document, code snippet, or block of pasted text. Type what you want to find and what to replace it with, watch every match highlight instantly, then apply the change with one click — no Word, no spreadsheet, nothing to install.

Go beyond a plain word swap with regex patterns, case-sensitive and whole-word matching, and ready-made Quick Patterns for emails, URLs, phone numbers, and more. A live side-by-side preview shows your original text next to the result so you always see exactly what changes before you commit.

Private by design: every search and replacement runs entirely in your browser. Your text is never uploaded to or stored on a server, so it is safe to use with confidential or sensitive content.

How to Find and Replace Text

1

Add your text

Paste or type your content into the Input Text panel, or use the Paste button to pull it straight from your clipboard.

2

Enter find and replace terms

Type what to search for in the Find field and the new text in the Replace field. Leave Replace empty to delete every match instead.

3

Refine with options

Toggle Aa for case-sensitive matching, Whole word, Regex, or Multiline, or open Quick Patterns for a ready-made search.

4

Preview, then replace

Check the highlighted matches and the Preview panel, then click Replace All to update your text and Copy Result to save it to your clipboard.

Features

Real-Time Highlighting

Every match lights up in the input the instant you type, so you see what will change before you do anything.

Regular Expression Support

Switch on Regex mode for character classes, quantifiers, anchors, and capture groups you can reuse as $1, $2, or $& in the replacement.

Quick Patterns Library

One click loads a ready-made pattern for emails, URLs, phone numbers, numbers, HTML tags, extra spaces, trimming, or empty lines.

Match Navigation

A counter shows your position (e.g. 3/15) and prev/next controls jump through each match while the text scrolls to keep up.

Multiple Search Options

Combine case sensitivity, whole-word matching, regex, and multiline mode to make your search as broad or as precise as you need.

Side-by-Side Preview

A two-panel layout puts your original text next to the result, with replacements highlighted so you compare before committing.

Keyboard Friendly

Jump to Find or Replace, step through matches, and toggle options without leaving the keyboard.

Search History

Your recent find and replace terms are saved so you can recall and reuse complex patterns from the history dropdown.

Settings Persistence

Your option choices — case, whole word, regex, and multiline — are remembered in your browser and restored on your next visit.

Frequently Asked Questions

How do I find and replace multiple words at once?

Turn on Regex mode and separate the words with a pipe, for example cat|dog|fish, to find any of them in a single pass. Type your replacement once and click Replace All to swap every match at the same time.

Is find and replace case sensitive?

By default it is not, so "Hello" also matches "hello". Toggle the Aa option (or press Alt+C) to make the search case sensitive and match exact uppercase and lowercase letters.

Can I use regular expressions to replace text?

Yes. Enable Regex mode to search with patterns instead of exact text. Use parentheses for capture groups, such as (\w+)@(\w+), then reference them in the replacement as $1, $2, and so on, or use $& to insert the whole match.

Does it replace whole words only?

Turn on the Whole word option (or press Alt+W) so a search for "cat" no longer matches inside "category". Leave it off to match partial words anywhere they appear.

How do I remove text instead of replacing it?

Leave the Replace field empty and click Replace All. Every matched piece of text is deleted from the result, which is handy for stripping HTML tags, extra spaces, or empty lines using the Quick Patterns.

Why isn't my search finding anything?

Check a few common causes: case sensitivity may be on, whole-word matching may exclude partial matches, regex mode may treat characters like . * + ? as special (escape them with a backslash to match literally), or the input panel may simply be empty.

Is there a limit to how much text I can process?

The tool handles large documents efficiently, though very long texts may cause a slight delay. To keep things responsive, it highlights and steps through up to 10,000 matches at a time.

Do my settings save between sessions?

Yes. Your search options — case sensitivity, whole word, regex, and multiline — are saved to your browser's local storage and restored automatically the next time you open the tool.

Is my text uploaded to a server?

No. All processing happens entirely in your browser, so your text never leaves your device. That makes it safe to find and replace inside confidential or sensitive content.

Input Text
Preview
0/0
Type your search term and see matches highlighted instantly
Enable Regex mode for advanced pattern matching with $1, $2 capture groups
Use Quick Patterns to find emails, URLs, phone numbers, and more
Leave the Replace field empty to delete every match
Navigate between matches using Ctrl + ↑/↓ (Up/Down)
Toggle options quickly with Alt + C / W / R keys
All processing happens in your browser - no data sent to server
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords