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.
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.
- Show your bookmarks bar if it's hidden — Ctrl+Shift+B (⌘+Shift+B on Mac).
- Drag the button above onto the bookmarks bar.
- 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.
- Click the bookmark again (or the ✕) to close it.
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
- Enter your Find and Replace-with terms.
- Paste your text into the Text box (or click Sample to try it).
- Toggle Regex, Ignore case, or Whole word as needed.
- 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
Naming Case Styles: camelCase, snake_case, kebab-case & More
GuideWhat Is a URL Slug? How to Make Clean, Readable URLs
GuideRegular Expressions for Beginners: A Gentle Introduction
ReferenceRegex Cheat Sheet: Regular Expression Syntax Reference
ReferenceCommon Regex Patterns: Email, URL, Phone and More (Copy-Paste)
Related tools
Regex Tester
Test regular expressions with live match highlighting, groups, and replace.
Word Counter
Count words, characters, sentences, and reading time.
Case Converter
Convert text between upper, lower, title, camel, and snake case.
Character Counter
Count characters and stay under tweet, SMS, and meta tag limits — live.