FreeToolBench.
Private by design
← Browse all tools

Text

Find and replace text

Replace every match in a block of text, with optional regular expressions.

Free to use · Runs in your browser · No signup

This tool works in your browser. Enable JavaScript to select files and create your download.

How to use Find and replace text

  1. Paste the text you want to edit.
  2. Enter what to find and what to replace it with. Turn on case sensitivity, whole words, or regular expressions if needed.
  3. Check the replacement count, then copy or download the result.

What you need

Nothing to upload. Type or paste directly into the tool; results update as you go.

Your result

The edited text and the number of replacements.

Before you start

Regular expressions use JavaScript syntax; use $1 or $& in the replacement to insert matched text. Review the result before using it, especially with broad patterns.

Questions about Find and replace text

How do I use Find and replace text?

Paste the text you want to edit. Enter what to find and what to replace it with. Turn on case sensitivity, whole words, or regular expressions if needed. Check the replacement count, then copy or download the result.

What does Find and replace text produce?

The edited text and the number of replacements.

What should I check before using Find and replace text?

Regular expressions use JavaScript syntax; use $1 or $& in the replacement to insert matched text. Review the result before using it, especially with broad patterns.

Is what I type sent anywhere?

No. The calculation runs in your browser, and the text or numbers you enter are not uploaded or stored.