ESC

Find and Replace

Statistics

0
Matches Found
0
Replaced
0
Original Length
0
Result Length
All processing happens in your browser. No data is sent to any server.

Usage Examples

Simple Text Replace

Replace a word or phrase throughout your text with a different word or phrase.

Regex Pattern Matching

Use regular expressions to find and replace email addresses, phone numbers, or complex patterns.

Whole Word Replace

Replace only whole word matches to avoid changing parts of longer words accidentally.

Features

Regex Support

Use powerful regular expressions to find complex patterns in your text

Live Match Preview

See all matches highlighted in real-time as you type your search query

Flexible Options

Case sensitive, whole word, and regex mode options for precise matching

Privacy First

All processing happens locally in your browser, no data sent to servers

How to Use?

1

Enter Your Text

Paste or type the text you want to search through in the source text area.

2

Set Find & Replace

Enter the text to find and the replacement text. Configure options like case sensitivity or regex mode.

3

Replace & Copy

Click Replace or Replace All to make changes, then copy the result to your clipboard.

Frequently Asked Questions

Replace substitutes only the first match found in the text. Replace All replaces every occurrence in one step. Use Replace to step through matches one at a time when you want to confirm each change; use Replace All when you are sure every match should be replaced.

Whole Word mode only matches the search term when it appears as a complete word, not as part of a longer word. Searching for "cat" with Whole Word on will match "cat" but not "category", "concatenate", or "cats". It uses word boundary matching under the hood.

Regex mode lets you use JavaScript regular expression syntax to match complex patterns. For example: [0-9]+ matches any number, \b\w+@\w+\.\w+\b matches email addresses, \s+ matches one or more whitespace characters. You can also use capture groups in the replace field: $1 inserts the first captured group.

Leave the Replace With field empty and click Replace All. Every matched occurrence will be deleted from the text. This is useful for removing specific words, unwanted characters, or extra whitespace patterns.

Yes, in Regex mode. Write a pattern with parentheses to capture groups, then use $1, $2, etc. in the replacement field. For example, find "(\w+)\s(\w+)" and replace with "$2 $1" to swap two words. This is the most powerful feature for restructuring text.

In Regex mode, use \n for newline and \t for tab. To match the literal backslash, use \\. To match a period, use \. (dot without backslash matches any character). Enable Case Sensitive if your pattern is case-specific.

Yes. Use Ctrl+Z (or Cmd+Z on Mac) in the result text area to undo the last change. You can also copy your original text before replacing, or paste it back into the source field and start over.

No. All find and replace processing runs locally in your browser using JavaScript. Your text never leaves your device, so it is safe to paste source code, private documents, or any sensitive content.

What Does This Tool Do?

This is a find and replace tool that works right in your browser. Paste your text, type what you want to find and what to replace it with, and you are done. It supports plain text search, regular expressions, case-sensitive matching, and whole word mode.

Regex Support for Power Users

If you know regex, you will love this. Switch on regex mode and use full regular expression syntax to match complex patterns - email addresses, phone numbers, HTML tags, whatever you need. Matches highlight in real-time as you type your pattern.

When You Would Use This

Cleaning up CSV data, renaming variables across a code snippet, standardizing date formats in a document, removing duplicate whitespace, or batch-replacing URLs. Basically any time you need to transform text without opening a code editor.

Matching Options

Three toggles give you control: Case Sensitive keeps "Hello" and "hello" separate, Whole Word prevents partial matches inside longer words, and Regex Mode unlocks pattern matching. Mix and match them for exactly the precision you need.

Privacy Guarantee

Your text stays in your browser. There are no server calls, no uploads, no analytics on your content. The JavaScript runs locally and nothing leaves your machine.

Security and Privacy

Your data security is our priority

Local Processing

All processing happens in your browser

No Data Transfer

Your data is not sent to our servers

No Data Storage

No data is stored or shared

SSL Encryption

SSL encryption for secure connection

Next Step

Also on MoreOnlineTools