Find & Replace
Find and replace text instantly. Plain text by default — turn on regex mode for pattern-based replacement, evaluated off the main thread so a slow pattern never freezes the page.
Processed locally. Your text never leaves your browser.
Common questions
Can I use capture groups in the replacement text?
Only in regex mode: $1, $2, etc. insert whatever each capture group matched, $& inserts the whole match, and $$ inserts a literal dollar sign — JavaScript's standard regex replacement patterns. In plain (non-regex) mode, the replacement text is inserted exactly as typed, with no special characters.
What happens if I leave the Find field empty?
Nothing is replaced and your text is shown unchanged — this is the same in both plain and regex mode.
Why do I sometimes see a timeout message instead of a result?
Some regex patterns can become catastrophically slow on certain input — a well-known regex performance pitfall. Rather than freezing the page, this tool runs the pattern in the background and gives it one second to finish; if it hasn't, the attempt is stopped automatically and you're asked to try a simpler pattern.