⚡ Text · Client-side · No data sent to server

Find & Replace

Find text and replace it across any block of content, with plain-text or regular-expression matching. Everything runs in your browser, so your text never leaves your machine.

Input
Output
Enter a find value and run. ✓ Copied!
100% private. This tool finds and replaces text entirely in your browser. Nothing is uploaded or logged.

About the Find & Replace

Find & Replace swaps text in any block of content. Type what to find, type what to replace it with, and get the result with a count of how many changes were made. It handles plain text matches and full regular expressions, with options for case, whole words, and regex mode. Everything runs in your browser, so the text you paste never leaves your machine.

How it works

  1. Paste or type your text into the input box.
  2. Enter the text to find and the text to replace it with.
  3. Set the options you need: case-insensitive, match whole word, or treat the find value as a regular expression.
  4. Click Replace all, read the replacement count, then copy the output.

Features

  • Plain-text and regular-expression matching in one tool.
  • Case-insensitive and whole-word options.
  • Live count of how many replacements were made.
  • Inline error message when a regular expression is not valid.
  • One-click copy of the result.

Frequently asked questions

Is my text uploaded anywhere?

No. Find and replace runs entirely in your browser. The text you paste is not sent to a server or stored.

What does case-insensitive do?

With it on, the search ignores letter case, so a find value of cat matches Cat, CAT, and cat. With it off, only exact case matches are replaced.

What does match whole word do?

It only replaces the find value when it stands as a complete word. Searching for cat will not change cats or scatter. It is ignored in regular expression mode, where you control word boundaries with \b.

How does regular expression mode work?

With it on, the find field is read as a JavaScript regular expression, so you can use patterns like \d+ or (foo|bar). If the pattern is not valid, an inline error shows and no replacement runs. With it off, your find text is matched literally, even if it contains characters like . or *.

Why was nothing replaced?

The find value may not appear in the text, or an option may be filtering it out. Check case-insensitive and whole-word settings, and in regex mode confirm the pattern matches what you expect.