Browser processing Input is processed on your device. Privacy & storage

Batch Find & Replace

Stack up a list of find/replace pairs and apply them all in one pass — in order, top to bottom — with a hit count per rule so you can see exactly what changed.

Input
Rules applied top to bottom
Mode: Case:
Presets:
Result

One pass, many rules

Running find and replace by hand gets tedious the moment you need more than two or three substitutions — renaming a set of identifiers, normalising punctuation, or preparing a list for import. Here you write every pair once and the tool walks the list in order, applying each rule to the text left by the previous one.

The hit count next to each rule is measured at the moment that rule runs, so it reflects what the rule actually did rather than what it would have done to the original. A rule showing 0 hits is your signal that an earlier rule already changed the text, or that the pattern needs adjusting.

Literal mode treats every character as itself, which is the safe choice when your text contains dots, brackets or question marks. Regex mode hands the pattern to JavaScript's regular expression engine with the global and multiline flags, so ^ and $ match per line — handy together with the presets. Capture groups work in the replacement too: find (\w+)@(\w+) and replace with $2:$1.

FAQ

Does rule order matter?

Yes. Rules run top to bottom and each one sees the output of the previous rule. Reorder by removing and re-adding a rule, or set up your list so the broadest clean-up runs first.

How do I insert a line break or a tab?

In Regex mode use \n for a newline and \t for a tab in either field. In Literal mode type the actual characters into the replace box.

Why does my regex show a warning?

The pattern could not be compiled — usually an unbalanced bracket or an invalid escape. The rule is skipped and the rest still run, so fix the pattern and it will count again immediately.

Is my text uploaded anywhere?

No. All matching and replacing happen locally in your browser.