Home / Text tools / Find and replace

Find and Replace

Paste your text, say what to find and what to replace it with, and see the matches highlighted before you copy the result.

Matches highlighted

How to use it

  1. Paste or type your text in the first box.
  2. Enter the text to find, and what to replace it with. Leave the replacement empty to delete the matches.
  3. Check the highlighted preview and the match count, then copy the result.

Options

  • Match case: when ticked, Apple and apple are different. Untick it to treat them as the same.
  • Whole words only: replaces cat but leaves category and concatenate alone.
  • Replace all: replaces every match. Untick it to replace only the first one.

What you type is taken literally

Special characters such as a full stop, a bracket or a dollar sign are treated as ordinary text here, so you can search for 3.50 or (draft) without escaping anything. If you need patterns, such as any number or any email address, use find and replace with regex.

Example

In the text The cat sat on the category list, replacing cat with dog gives The dog sat on the dogegory list. Turn on Whole words only and you get The dog sat on the category list, which is what you meant.

Good habits

Look at the highlighted preview before copying, start with a small test, and keep a copy of the original text. For several replacements at once, try find and replace multiple. If case should not matter, use case-insensitive replace. The find and replace guide covers editors and the command line.

Frequently asked questions

How do I replace all occurrences of a word?

Enter the word to find and the new word, and keep Replace all ticked. Every match is replaced.

How do I delete text?

Leave the Replace with box empty. Each match is removed.

Why did it change part of another word?

Without Whole words only, the search matches text inside longer words. Tick that option to avoid it.

Is my text uploaded?

No. Everything happens in your browser.