Text Toolsavailable

Find and Replace

Find matching text and replace it throughout a document.

Find and replace

Input

Type or paste text. Matching and replacement happen only in this browser.

OutputRead-only

Read-only, selectable live output.

Options

Replacement statistics

Matches found
0
Replacements made
0
Output length
0
Lines
0

Find vs. replace

Find identifies matching text. Replace writes the replacement text only where a match occurs, preserving every other character and line exactly. Replace all updates every match; turn it off to update only the first match.

Case-sensitive and whole-word matching

Match case distinguishes uppercase and lowercase letters. Whole-word matching avoids replacing text inside a larger word, such as finding “cat” without changing “catalog”.

Regular expressions

Enable Regular expression to use a JavaScript pattern in the Find field, for example \\d+ for one or more digits. Invalid patterns show an error and clear the preview without changing your input.

Privacy

Your text, patterns, replacements, statistics, clipboard actions, and downloads stay entirely in your browser. Nothing is uploaded, logged, or automatically saved.

How to use

  1. Paste or type text into the input editor.
  2. Enter Find and Replace with values, then choose matching options.
  3. Review the live output, then copy, download, or use it as the next input.

Frequently asked questions

What does whole word mean?

It adds word boundaries around the search, so a match must stand on its own instead of appearing within a larger word.

How do regular expressions work?

Use JavaScript regular-expression pattern syntax in Find. The tool validates the pattern before replacing and leaves your input untouched if it is invalid.

Why is output empty after an error?

The tool clears stale preview text for an invalid pattern or an empty Find value, so you never copy an outdated result.

Can I replace Unicode text and emoji?

Yes. Literal matches and output-length statistics are Unicode-aware, and emoji are retained unless they are part of the matched text.

Practical guide

When to use it

Use it for a controlled repeated edit across a block of text, especially when manual replacements could miss occurrences.

Three steps

  1. Paste the text and enter the exact search phrase.
  2. Set case, whole-word, or regular-expression matching only when needed.
  3. Preview the matches, then apply the replacement and review the output.

Example and a common mistake

Replace staging.example.com with api.example.com in a copied configuration snippet.

An unescaped regular-expression character such as . matches more than a literal dot, so use regex mode deliberately.

Text

Available

Text Diff

See differences between two blocks of text at a glance.

Text

Available

Text Cleaner

Normalize whitespace and tidy pasted text quickly.