Find & Replace Text
Find and replace text in bulk, with optional regex and case-insensitive matching. Free, private, in your browser.
Bulk find and replace
Paste or type your text, fill in the Find and Replace with fields, and every match changes at once. A live, non-destructive preview shows the result and a running match count as you type, so your original box stays untouched until you click Replace in the box or Copy. Three toggles refine the search: Regex for pattern matching, Case-insensitive to ignore capitalization, and Whole word to match standalone words only.
With Regex on, the Find field is treated as a JavaScript regular expression and the Replace field supports backreferences like $1 to reuse captured groups; with it off, both fields are matched literally. Whole word wraps your term in word boundaries, so cat matches the word but not category. Replacement is global — every occurrence changes in a single pass — and an invalid pattern, or one prone to catastrophic backtracking, is flagged instead of run. Everything happens in your browser, so even large pastes stay private and fast.
Frequently asked questions
Can I reuse the matched text in my replacement?
Yes. Turn on Regex, add capture groups to your Find pattern with parentheses, then reference them in the Replace field as $1, $2, and so on. With Regex off, a dollar sign is treated literally.
How do I replace a whole word without touching longer words?
Tick Whole word. It wraps your term in word boundaries, so replacing "cat" changes the standalone word but leaves "category" and "scatter" alone. It combines with Regex and Case-insensitive.
The preview shows my change but the text box didn't update — why?
The preview is non-destructive, so your original text is never altered as you type. To apply the change, click "Replace in the box" to write the result back into the input, or use Copy to grab it.