Text Cleaner Remove formatting & clean text URL Encode Encode & decode URL strings Word Frequency Find top words by frequency
Replacement Rules
Match Options
0 replacements
How It Works
  1. 1Add find/replace rules in the left panel. Leave "Replace with" blank to delete matches.
  2. 2Toggle Case-sensitive, Whole word, or Regex options.
  3. 3Paste your text — replacements apply live.
  4. 4Copy the result or add more rules.

What is Find and Replace Online?

Online find and replace is the browser-based equivalent of pressing Ctrl+H in Microsoft Word, Notepad, or VS Code — except it requires no software, works on any device, and lets you apply multiple substitution rules in a single pass. You type what you want to find, type what you want it replaced with, paste your text, and every match is swapped out instantly.

The most common scenario: you have a block of text — a CSV export, a template, an article draft, a code snippet — and you need to make systematic changes without opening a full editor. This tool handles that in seconds. Leave the "Replace with" field empty to delete all matches, or stack up to ten replacement rules to run a complete batch transformation in one go.

Beyond basic string replacement, the tool supports regular expressions (regex), case-sensitive matching, and whole-word-only matching — giving you the same power as a developer's text editor, accessible directly from your browser. Your text never leaves your browser — all processing is done locally in JavaScript.

How to Use Find and Replace — Step by Step

  1. Enter your Find term: Type the exact word, phrase, or pattern you want to replace in the Find input field. If regex is enabled, this field accepts a regular expression pattern.
  2. Enter the replacement: Type the replacement text in the Replace with field. Leave it blank to delete all matches (useful for stripping unwanted characters or words).
  3. Add more rules if needed: Click + Add another rule to create additional find/replace pairs. All rules are applied sequentially in the order listed — output of rule 1 becomes input for rule 2.
  4. Set your options: Enable Case-sensitive to distinguish uppercase from lowercase. Enable Whole word only to avoid matching partial words. Enable Use regex to unlock pattern-based matching.
  5. Paste your text and review: Paste your content into the input box. Replacements happen live as you type. The replacement count below the box tells you how many substitutions were made.
  6. Copy the result: Click Copy result to copy the transformed text to your clipboard.

Find and Replace Examples

The table below shows five practical scenarios, including a regex example for data reformatting.

FindReplace withWhat it does
(\d{2})/(\d{2})/(\d{4})$3-$2-$1Reformat date MM/DD/YYYY → YYYY-DD-MM using regex capture groups (requires regex mode)
www.(empty)Strip the www. prefix from a list of domain names
,|Convert CSV comma separator to pipe-delimited format for import into another system
   Collapse double spaces into single spaces — useful after copy-pasting from PDFs
[CLIENT NAME]Acme CorpFill in a template placeholder — run across the entire document at once

Use Cases

Related Tools

Frequently Asked Questions

How do I use find and replace online?

Enter your search term in the Find field, the replacement in the Replace with field, and paste your text into the input box. All matches are replaced automatically as you type. To apply multiple substitutions at once, click + Add another rule to add more find/replace pairs.

What is regex in find and replace?

Regex (regular expressions) lets you match patterns instead of fixed strings. Enable the Use regex checkbox and write a pattern in the Find field. For example: \d+ matches any number, \s+ matches any whitespace, ^ matches the start of a line, (\w+) captures a word for use in the replacement with $1. Regex is powerful for reformatting structured data like dates, phone numbers, or log entries.

How do I replace all occurrences of a word?

By default, every occurrence of the search term in the entire text is replaced — there is no "replace first only" option. The counter below the input box shows exactly how many replacements were made, so you can verify the result before copying.

What does "Whole word only" do?

With Whole word only enabled, the tool only matches the search term when it appears as a standalone word bounded by non-word characters. Searching for cat will match cat and cat. but not category or concatenate. This prevents accidental partial-word replacements when editing technical content or code.

Can I use wildcards without regex?

Standard wildcard characters like * and ? are not supported outside of regex mode — they are treated as literal characters. To match variable patterns, enable Use regex. The regex equivalent of "any characters" is .* and "any single character" is ..

What is the difference between this tool and Ctrl+H in Word?

This tool is faster for plain-text transformations that do not involve formatting. Unlike Word's Ctrl+H, it lets you apply multiple rules simultaneously (so you can run 10 substitutions in a single pass), works on raw text from any source without opening a document, and runs entirely in your browser with no installation. Word is better when you need to preserve rich formatting like bold, headers, or tracked changes.

From the Blog

See all guides →