RUNWEBTOOLS
English

Find & Replace

Find and replace text, with optional regex support.

Use on any page (bookmarklet)

Want Find & Replace without leaving the page you're on? Drag the button below to your bookmarks bar, then click it on any website to open Find & Replace right there — it runs entirely in your browser.

Find & Replace← drag this to your bookmarks bar

Use responsibly: a bookmarklet runs on whatever page you click it on. Avoid sensitive sites such as online banking, payment, or healthcare pages — you run it at your own risk. Everything is processed locally and no data is sent anywhere. See our Terms.

  1. Show your bookmarks bar if it's hidden — Ctrl+Shift+B (+Shift+B on Mac).
  2. Drag the button above onto the bookmarks bar.
  3. Open any website and click the bookmark — the Find & Replace panel appears in the top-right corner. Use ✛ to move it between corners, or ›/‹ to tuck it against the edge and pull it back out.
  4. Click the bookmark again (or the ✕) to close it.
Can't drag? Copy it and create a new bookmark with this as the URL:

Note: a few sites with strict security policies may block bookmarklets.

Examples

Replace every occurrence

Input

Find: cat · Replace: dog
The cat sat on the mat. The cat was happy.

Output

The dog sat on the mat. The dog was happy. (2 matches)

Regex with a capture group

Input

Regex on · Find: (\w+)@ · Replace: $1[at]

Output

name@example.com → name[at]example.com

About this tool

This free online find and replace tool swaps text across a whole document at once. Type what to find and what to replace it with, and the result updates live with a match count. Switch on regex for pattern matching and capture groups, ignore case, or limit matches to whole words. Everything runs in your browser with no upload.

How to use

  1. Enter your Find and Replace-with terms.
  2. Paste your text into the Text box (or click Sample to try it).
  3. Toggle Regex, Ignore case, or Whole word as needed.
  4. Copy the result — every match is already replaced.

Common uses

Bulk-editing code or config, cleaning up exported data, renaming terms across an article, reformatting lists, and using regex with capture groups to restructure text — for example turning name@domain into a masked form.

Frequently asked questions

Is this find and replace tool free?

Yes — it's a completely free online find and replace tool with no sign-up and no limits.

Does it support regular expressions?

Yes. Turn on Regex to use full regular-expression patterns in the Find field and capture-group references like $1 in the replacement.

Can it replace all matches at once?

Yes. Every match is replaced and the result shows a live match count, so there's no need to click through replacements one by one.

What does 'Whole word' do?

It only matches your term when it stands alone as a word, so replacing 'cat' won't touch 'category' or 'concatenate'.

Is my text uploaded anywhere?

No. Find and replace runs entirely in your browser with no upload, so your text never leaves your device.

Why is my regex showing an error?

The pattern isn't valid JavaScript regex — often an unmatched bracket or parenthesis. The error message tells you what went wrong; fix the pattern and the result updates instantly.

Learn more

Related tools