Find and Replace Text

Find and replace text in bulk, with optional case-insensitive matching and regular expressions. Runs locally in your browser.

Literal mode inserts replacement text exactly, including $& and $1. Regex mode expands $$, $&, $1, and $<name>. Whole word uses Unicode letter/number boundaries in literal mode only.

Limits: 2,000 find characters · 100,000 input characters · 5,000 matches · 1,000,000 output characters · 250 ms.

Test regex: Regex tester · compare edits: Text diff checker · change case: Case converter.

How to use

Paste your text, enter what to find and the replacement, choose options, and the updated text appears instantly.

FAQ

Does it support regular expressions?

Yes — turn on the regex option to use patterns, including capture-group references like $1 and $2 in the replacement. Otherwise the find text is matched literally.

Can it ignore case or match whole words only?

Yes — toggle "Ignore case" to match regardless of capitalization, and "Whole word" to match only complete words (so "cat" will not match inside "category").

Can I see the matches before replacing?

Yes — the matches are highlighted in the source text and the replacement count is shown, so you know exactly what will change.

Is my text uploaded?

No. All processing happens locally in your browser.

Last updated: