Find and Replace Text
Bulk replace, with regex and capture groups if you want.
Find and Replace performs bulk substitutions across a block of text, in plain mode or with full regular expressions including capture groups in the replacement. Matches are highlighted before you commit, you can queue several rules to run in sequence, and everything stays in your browser.
Loading Find and Replace Text…
Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.
How to use Find and Replace Text
- Paste your text and enter what to find.
- Enter the replacement; switch on regex if you need patterns.
- Preview the highlighted matches, then apply.
Questions about Find and Replace Text
How do I use capture groups?
Wrap part of the pattern in parentheses and reference it in the replacement as
$1, $2 and so on. Turning (\w+), (\w+) into $2 $1 flips "Surname, Firstname" across a whole list in one pass.Can I run several replacements at once?
Yes, add multiple rules and they run in order, which is how you clean messy data without pasting the text back and forth.
Is a runaway regex dangerous here?
Matching runs with a time guard, so a catastrophically backtracking pattern is stopped and reported instead of freezing the tab.
Which regex flavour does it use?
The browser JavaScript engine, so lookahead, named groups, Unicode property escapes and the usual character classes all work. Patterns written for PCRE mostly transfer; possessive quantifiers and recursion do not exist here.
Is there a limit on how much text I can process?
No fixed cap. Replacement runs on the text held in the page, so the practical limit is your device memory — documents of a few megabytes are fine. Nothing is uploaded at any size.
Is Find and Replace Text really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Find and Replace Text?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.