Batch Replace

Run a whole list of search and replace rules over your text and see the count for each one.

Apply several replace rules in order

The replaced text will appear here.
A count for each rule will appear here.
No rules applied yet.
Write one rule per line, separated into find and replace by an equals sign followed by a greater-than sign. Prefix a rule with [re] for a regular expression or [cs] to make it case sensitive.

How to use the Batch Replace

  1. Paste the text you want to edit in the first box.
  2. Write one find and replace rule per line, in the order they should run.
  3. Press Apply all rules and read the hit count for every rule.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online batch replace.

List one rule per line in the second box, then press Apply all rules. Each rule runs over the result of the one before it.
Put the text to find first, then an equals sign followed by a greater-than sign, then the replacement text.
Start the rule with the marker [re] and the find part is then treated as a regular expression.
Start that rule with [cs]. The default case setting still applies to every other rule in the list.
From top to bottom. Put the narrow, specific rules first so broader rules cannot swallow their matches.
Yes. Leave the replacement side empty and the matched text is removed from the result.
No. Every replacement happens in your browser and the text never leaves your device.
Yes. The tool is responsive and works on phones, tablets and desktop browsers.

Last updated: October 10, 2026