How to extract emails from websites

Last updated: December 4, 2026

You can extract publicly listed email addresses from a website in four practical ways: copying from the page and its mailto links, searching indexed pages with Google site: operators, collecting addresses automatically with a browser extension as you browse, or running a script on public pages you already have. The right method depends on how many sites you check and whether the address sits on a linked Contact page.

Four methods compared

MethodBest forChecks Contact / About pages?Handles JS & Cloudflare?Setup
Manual copy & mailto links1–5 websites at a timeYou open each page yourselfYes (browser renders both)None
Google site: searchFinding indexed addresses on one domainOnly pages Google indexedPartial (depends on index)None
Browser extension (Email Extractor)Daily browsing, company research and directoriesUp to 3 linked Contact, About or Team pages on HTTPSYes (reads rendered page and decodes Cloudflare links)Install once
Script (Python / Node)Public pages or HTML files you already haveOnly if you write link discoveryOnly with a headless browser and XOR decoderCode & maintenance

Method 1: Copy directly from the page and mailto links

Copying by hand is the quickest choice when you only need contacts from a handful of websites. Open the footer, Contact page and About or Team page, press Ctrl+F (or Cmd+F) to search for @, and right-click buttons such as “Email us” to copy the underlying mailto: address.

When you already have a block of pasted notes, an email thread or raw HTML from a directory page, you can pull every unique address out locally in one step with our free text email extractor.

Method 2: Search indexed pages with Google site: operators

Google’s site: operator narrows search results to a single domain so you can locate published contact addresses without clicking through deep navigation menus. Pair the domain with contact terms or a quoted domain suffix to surface indexed pages that display an email.

  • site:example.com "contact" email — surfaces indexed contact and support pages.
  • site:example.com "@example.com" — finds indexed pages that print an address on that domain.
  • site:example.com inurl:contact — narrows to URLs containing contact paths.

This approach depends on what Google has indexed. It can miss addresses rendered late by JavaScript, encoded by Cloudflare, or recently added to pages Google has not crawled again.

Method 3: Use a browser extension as you browse

When you review dozens of company sites, directories or Google and Bing search results during a workday, a browser extension collects published addresses automatically as pages finish loading. You browse normally while the extension deduplicates addresses and records where and when each one appeared.

In Email Extractor (Chrome and Firefox 140+), Auto-collect reads visible text, mailto: links, name [at] example [dot] com formatting and Cloudflare links on the page you open. On HTTPS sites, it also checks up to three linked Contact, About or Team pages on the same site in the background without opening extra tabs or sending your cookies. Everything stays in your browser profile, and exports include Email, Source, Found via, First seen and Last seen in Excel (.xlsx), CSV or TXT.

Only have pasted text or HTML rather than open websites? Use the browser text tool instead — it uses the same local parser with no extension install.

Try Email Extractor as you browse

Collects published emails from pages you open and up to three linked contact pages, stored locally in Chrome or Firefox.

Free · No account · Stays in your browser · Desktop Chrome & Firefox 140+

Method 4: Write a script for public pages you already have

If you maintain your own public HTML exports, documentation archives or sites you administer, a short Python or Node script can scan those files cleanly. Scripts work predictably on local or static HTML under your control, but require real parsing logic once you point them at live websites.

At minimum, parse the HTML into a DOM tree instead of running a regex on the raw string: strip script, style and template nodes, insert line breaks around block tags and tel: or mailto: links so adjacent digits or labels do not glue onto an address, decode percent-encoded mailto: values, and honor rate limits and Retry-After headers.

Why simple regex scripts miss real emails

Running a single regular expression against fetched HTML misses a large share of published business contacts while pulling in unrelated technical strings. Six patterns account for most of those misses:

  • Addresses sit on linked Contact or About pages

    Many company homepages publish no email at all. The real mailbox lives one click away on /contact, /impressum, /about or /team, so scanning only the landing URL returns zero results.

  • Cloudflare Email Obfuscation

    Sites using Cloudflare replace published addresses in raw HTML with [email protected] and a hex data-cfemail attribute or /cdn-cgi/l/email-protection link. The first byte of that hex string XOR-decodes the remaining bytes; a raw regex sees no address.

  • Human-readable obfuscation

    Site owners often write name [at] example [dot] com or split characters across inline span tags to stop basic scrapers. Matching only literal @ patterns misses those addresses completely.

  • JavaScript-rendered interfaces

    Single-page applications populate footers and team directories after the initial HTML loads. A plain HTTP fetch receives an empty shell unless a browser renders the page.

  • Contact forms and browser checks

    A contact form publishes no address to read. Other sites reply to automated background requests with HTTP 403, HTTP 429 or a browser challenge header, which requires opening the page normally in a tab.

  • Technical strings that look like emails

    Raw markup mixes real contacts with retina image assets ending in @2x.png, error-reporting hosts such as sentry.wixpress.com or o123.ingest.sentry.io, and automated noreply or mailer-daemon senders.

Lawful and respectful use

Collect only addresses that organizations publish for public contact, and respect site rate limits, terms of use and technical blocks. If a site returns HTTP 403, HTTP 429 or a browser check, back off rather than retrying aggressively — Email Extractor automatically pauses requests to that site and never works around browser checks.

Before sending outreach, make sure your messages comply with applicable rules in your recipients’ jurisdictions (such as CAN-SPAM in the United States and GDPR or ePrivacy rules in the EU and UK). In Email Extractor, exclude private tools such as webmail or your CRM in Settings so they are never read, and delete stored addresses once you no longer need them.

Collect published emails while you browse

Free extension for desktop Chrome and Firefox 140+. Local storage only, with source URL and date on every export.

Free · No account · Stays in your browser · Desktop Chrome & Firefox 140+