Find and Replace

Runs in your browser — your data is never uploaded.

Search a block of text for every match of a word, phrase, or regular expression and replace it in one pass. Supports plain-text matching or full regex with capture groups. Runs entirely in your browser, so proprietary text and code never leave your device.

0 characters · runs entirely in your browser

How to use Find and Replace

  1. 1

    Paste your text into the box.

  2. 2

    Enter what to find and what to replace it with, and choose plain or regex mode.

  3. 3

    Click “Replace”, then copy or download the result.

Share

Embed this tool on your site

Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.

Please keep the attribution line — it's what keeps these tools free.

Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.

Frequently asked questions

Can I use regular expressions?+

Yes. Switch “Match type” to Regex to use full JavaScript regular expression syntax in the find field, including capture groups referenced in the replacement with $1, $2, etc.

Does plain mode treat “$” specially?+

No. In plain (non-regex) mode, the replacement text is treated completely literally — a "$" or "&" in your replacement is inserted as-is, not interpreted as a special pattern.

Is matching case-sensitive by default?+

Yes, matching is case-sensitive by default; turn off “Case-sensitive” to match regardless of letter case.

Is my text uploaded anywhere?+

No. The find-and-replace operation runs entirely in your browser — nothing is sent to a server.