Skip to content

Find and Replace

Finds and replaces text, with options for case, whole words and regular expressions.

Your text stays on this device

This tool runs entirely inside your web browser. Your text is processed on your own device and is never sent to our servers. How this works

Result

Find and Replace is a free tool that replaces every occurrence of a word, phrase or pattern in a piece of text. You can match case, match whole words only, or use regular expressions with captured groups. It works entirely in your browser.

How to find and replace

  1. Paste your text into the left box.
  2. Type what to find, and what to replace it with. Leave “Replace with” empty to delete the matches.
  3. The result appears on the right, with the number of replacements made.

Options

Regular expression examples

$1, $2… insert the parts of the match in brackets, $& inserts the whole match, and $<name> inserts a named group.

Frequently asked questions

How do I delete every occurrence of a word?

Type it in Find and leave Replace empty.

What does “Whole words only” do?

It matches “cat” but not the “cat” inside “catalog” or “scattered”.

How do I use captured groups?

Turn on Regular expression, put parts of the pattern in brackets, and refer to them as $1, $2 in the replacement. For example, find (\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1 to turn 2026-09-28 into 28/09/2026.

Last updated

Missing a feature, or need a tool we don’t have? Suggest it.