Home / Find and replace

Find and replace

Paste text and replace words or phrases in it, several at once. The counter shows how many changes each replacement made.
Your text never leaves your device: everything runs in this page. No upload, no sign-up.

Your text

Empty

Result

How to find and replace

  1. Paste your text.
  2. Type what to find and what to replace it with. Leave Replace empty to delete the text.
  3. Press Add another for more replacements. They run in order, top to bottom.
  4. Copy the result. The counters show how many replacements were made.

Options

  • Match capitals: off by default, so customer also replaces Customer, and the replacement follows the capitals it replaces: with client, Customer becomes Client and CUSTOMER becomes CLIENT.
  • Whole words only: replaces cat but leaves "category" alone.
  • \n and \t: type \n in Replace to insert a new line, \t for a tab. Replace , with \n to put each item of a comma list on its own line.
  • Regular expressions: use patterns in Find, and $1, $2 in Replace for the captured groups. For example, find (\w+) (\w+) and replace with $2, $1 to turn "Anna Lopez" into "Lopez, Anna".

Related tools

Questions

Can I replace several different words at once?

Yes. Press Add another for each pair. They run in order, top to bottom.

How do I replace with a new line?

Type \n in the Replace box. The option to read \n and \t is on by default.

How do I delete a word everywhere?

Type it in Find and leave Replace empty.

Is the replace case sensitive?

Not by default. Turn on Match capitals to make it case sensitive.