On this page
- 4 ways to scrape a website for emails (compared)
- How to scrape emails from a website without code
- Where public business emails actually live on a website
- Developer option: scraping a website for emails with Python
- Don't blast a scraped list: 4 steps before you hit send
- Is it legal to scrape websites for emails?
- Frequently asked questions

To scrape a website for emails reliably, you do not need to install browser bots or maintain fragile regex scripts. For one domain, paste the URL into a public-page extractor that inspects the Homepage, Contact, About, and Team pages and links every address back to the page where it appeared. For a spreadsheet of dozens or hundreds of domains, upload a CSV to a bulk website extractor, preview a few rows first, and verify every mailbox before sending outreach.
Want to run a site right now? Use our free Website Email Extractor to scan one website with no sign-up, or switch to Website list or CSV to preview the first 3 domains from your list for free.
Most guides treat email scraping as a single trick—either a giant list of 15 databases or a 7-step browser bot. In practice, the best method depends on how many websites you have and whether the company actually publishes an email on its site. This guide walks through every practical method, shows real outputs from live business websites, and covers the verification and legal rules that protect your sending domain.
4 ways to scrape a website for emails (compared)
Before picking a tool or writing code, match the approach to the size of your list and how much setup you want to maintain:
| Method | Representative tools | Best for | Shows source page? | Setup & trade-offs |
|---|---|---|---|---|
| Live public-page extractor | OwnerClue Website Email Extractor | 1 site (free) or 10–1,000 domains via CSV when you want fresh public emails + phones | Yes — exact page URL per contact | Zero setup. Only returns contacts actually published on the site (never guesses). |
| B2B email database & pattern finder | Hunter.io, Skrapp.io | Corporate websites that hide emails behind forms, or finding named employee patterns | Partial (cached web sources or pattern score) | Fast for mid-market/SaaS firms; databases can lag behind on small local businesses. |
| No-code browser automation | Axiom.ai, Apify | Custom directories, paginated listings, or JavaScript-heavy sites | Configurable | Flexible, but takes 15–30 minutes to wire up (sheets, loops, selectors, or API keys). |
| Custom Python script | requests + BeautifulSoup / Playwright |
Developers integrating scraping into an internal pipeline | Yes (you log the URL) | Free to run, but you maintain timeouts, JS rendering, rate limits, and blocked IPs. |
If you already have company websites—for example, exported from a CRM, trade directory, or Google Maps lead search—starting with a live public-page extractor is the fastest way to see what each business actually publishes.
How to scrape emails from a website without code
Whether you need to check a single prospect before calling or enrich a 500-row spreadsheet, start with the following steps.
Option A: Scrape one website for free (instant)
- Open the Website Email Extractor on the One website tab.
- Paste any business URL—a homepage like
lapeyreroofing.comor a specific branch page likelapeyreroofing.com/service-areas/texas/austin. - Click Find contacts. The scanner reads up to four public pages, prioritizing Contact, About, and Team links.
- Review the returned emails, phone numbers, and any detected contact forms. Click the source link beneath each address to confirm context, then copy or export to CSV.
Live single-website scan: one URL returns the published email, four regional phones, detected contact forms, and exact source paths.
Notice why the Shared inbox tag and source path (/service-areas/texas/austin) matter: you immediately know office@lapeyreroofing.com is a public branch mailbox rather than a personal founder inbox, before you write a single line of outreach.
Option B: Scrape a bulk list of websites (paste or CSV)
When you have dozens or hundreds of websites, checking sites one by one wastes hours. The cleanest workflow is to validate your list first and test a small sample before committing credits:
- Switch to Website list or CSV.
- Paste your domains (one per line) or drop a UTF-8 CSV containing a
domain,website, orurlcolumn. Full URLs,www., and subpaths are normalized automatically, and duplicate domains are merged so you are not charged twice. - Fix any highlighted invalid rows in one click using Remove invalid rows.
- Click Preview first 3 free. Without signing in, the tool scans your first three unique websites in parallel and returns real emails, phones, and source URLs—plus a preview CSV download.
- Once the output matches what you need, sign in (new accounts include 20 free credits, no card required) and run the full list into a single downloadable CSV.
Bulk CSV workflow: test the first 3 unique websites for free before running the full list. Unreachable sites are clearly flagged and never charged.
If you already copied raw contact text from a PDF, directory, or email signature instead of URLs, use the browser-based Email Extractor from Text to pull and deduplicate addresses locally.
Where public business emails actually live on a website
Understanding where websites publish contact details explains why a simple homepage scrape can miss published addresses—and why good extractors follow specific internal links first.
Where automated website scrapers look first: prioritizing Contact, About/Team, Service Area pages, and the site footer.
In real-world B2B and local-business websites, public emails cluster in four predictable places:
- Contact page and site footer. Usually holds shared department inboxes (
office@,info@,sales@), public phone numbers, andmailto:links hidden behind clickable "Email us" buttons. - About and Team pages. The highest-value source for person-linked work emails printed next to a named founder, partner, or branch manager.
- Location or service-area pages. Multi-location service businesses often publish branch-specific emails or regional phone numbers on city pages rather than the main homepage.
- Structured data and legal pages. Privacy policies, terms pages, and JSON-LD
Organizationschema sometimes list a monitored compliance or general business inbox when the header omits one.
Real-world example: matching scraped output to the live page
Here is the actual Austin service page that produced the scan result shown earlier:
Verifying the source page on lapeyreroofing.com confirms office@lapeyreroofing.com alongside four regional phone lines and a web inquiry form.
Across real local company sites we manually reviewed, you will encounter three distinct outcomes—and you should record each one cleanly in your spreadsheet instead of forcing bad guesses into an email column:
| What the live page showed | How to record it in your CSV | Source page |
|---|---|---|
| Lapeyre Roofing displays office@lapeyreroofing.com beside regional phone numbers | Shared inbox — good for general inquiries or routing to the local branch | Lapeyre Roofing Austin page |
| Specialty Roofing prints info@specialty-roofs.com in the footer and wade@specialtyroofco.com next to Wade Wells, Founder & CEO | Record wade@specialtyroofco.com as a named work email with exact title; keep info@ as fallback |
Specialty Roofing About page |
| Mendez Family Plumbing shows a public phone and contact form, with no published email | Leave the email cell blank; record the phone number and contact form URL | Mendez contact page |
What if a website hides its email completely? That is when a database / pattern tool comes in handy. Tools like Hunter.io index historical web mentions and infer corporate email formats (such as
first.last@company.com) even when the current website only shows a contact form.
When a website publishes only a contact form, a database tool like Hunter.io Domain Search can supplement live scraping by checking indexed company email patterns.
For smaller local businesses where you specifically need the decision-maker's contact details, see our dedicated company owner email research guide.
Developer option: scraping a website for emails with Python
If you are building an internal script or scraping a custom web directory with strict formatting rules, you can write a basic public-page email extractor in Python in about 20 lines using requests and BeautifulSoup:
import re
from urllib.parse import urljoin, urlsplit
import requests
from bs4 import BeautifulSoup
EMAIL_RE = re.compile(r"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}")
def scrape_public_emails(base_url: str) -> dict[str, set[str]]:
headers = {"User-Agent": "PublicContactResearchBot/1.0"}
resp = requests.get(base_url, headers=headers, timeout=10)
resp.raise_for_status()
soup = BeautifulSoup(resp.text, "html.parser")
# Prioritize Contact and About links on the same site
base_url = resp.url
origin = urlsplit(base_url).netloc
candidate_urls = [base_url]
for a in soup.find_all("a", href=True):
target = urlsplit(urljoin(base_url, a["href"]))
if (target.scheme in {"http", "https"} and target.netloc == origin
and any(k in target.path.lower() for k in ("contact", "about", "team"))):
candidate_urls.append(target._replace(fragment="").geturl())
found: dict[str, set[str]] = {}
for url in list(dict.fromkeys(candidate_urls))[:4]:
page = resp if url == base_url else requests.get(
url, headers=headers, timeout=10, allow_redirects=False
)
if page.status_code != 200:
continue
html = page.text
emails = {e.lower() for e in EMAIL_RE.findall(html) if not e.endswith((".png", ".jpg", ".svg"))}
if emails:
found[url] = emails
return found
Where simple scripts start breaking in production
The snippet above works on plain static HTML, but real-world websites quickly introduce edge cases:
- False positives in HTML/JS. Regex frequently grabs image file names (
logo@2x.png), Sentry DSNs, or placeholder strings likename@example.comunless you strip scripts and filter asset extensions. - JavaScript-rendered pages & obfuscation. React/Wix sites or Cloudflare email protection encode
mailto:links dynamically, requiring a headless browser like Playwright. - Timeouts, redirects, and anti-bot blocks. At 100+ domains, you need concurrency control, domain deduplication, retry backoff, and polite rate limiting.
If you only need the contacts—not a scraping infrastructure project—using a hosted tool like OwnerClue bulk extraction or a cloud actor on Apify saves hours of debugging.
Don't blast a scraped list: 4 steps before you hit send
One mistake destroys more cold outreach domains than anything else: exporting raw scraped emails and loading them straight into an email sequence. Follow the four-step loop shown at the top of this guide before sending a single message:
- Inspect the source URL. Open a few source links to verify the email belongs to the right company and check whether it is a general inbox (
info@,office@) or a named person. Tailor your message accordingly—writing "Hey Sarah" to anoffice@address hurts replies immediately. - Filter junk and trap patterns. Drop obviously automated addresses (
noreply@,postmaster@,privacy@,abuse@) and asset-looking strings. - Run an email verifier. Scraping only proves an email was printed on a webpage—it does not prove the mailbox still accepts mail. Run your CSV through an SMTP/MX verification tool (such as ZeroBounce, NeverBounce, or MillionVerifier) to flag invalid or risky addresses before sending.
- Start with low-volume, relevant outreach. Warm up new sending domains gradually, keep daily volume conservative, and include a clear, frictionless opt-out line in every message.
Is it legal to scrape websites for emails?
Disclaimer: This section is practical operational context, not legal advice. Consult qualified counsel for your specific jurisdiction.
The rules for collecting contact details and sending marketing email depend on the jurisdiction, the recipient, and how you use the data. A published work email can still be personal data.
| Framework / Rule | What it cares about | Practical compliance checklist |
|---|---|---|
| Public vs. gated access | Open public HTML pages vs. scraping behind logins or bypassing technical blocks | Stick to publicly accessible business pages; never bypass authentication or paywalls. |
| CAN-SPAM (US) | Commercial email transparency and opt-out rights | Use accurate sender details, honest subject lines, a valid postal address, and a clear opt-out. Honor opt-outs within 10 business days. |
| EU GDPR | Personal-data processing, including named work emails | Identify a lawful basis, disclose the source when required, and stop direct marketing when the person objects. Check the applicable national rules for sending email. |
| UK GDPR and PECR | Personal data and electronic marketing | Check whether recipients are corporate or individual subscribers. Sole traders and some partnerships have additional protections, and consent may be required. |
| CCPA / CPRA (California) | Consumer privacy rights and obligations for covered businesses | Check whether your business and the data are covered, and follow applicable notice, deletion, and opt-out requirements. |
robots.txt & Terms of Service |
Website owner preferences and server load | Respect crawl politeness, avoid hammering small business servers, and review platform ToS before scraping large directories. |
Keep the source URL and date checked alongside each contact. OwnerClue exports source links, and you can add the review date to your spreadsheet.
Frequently asked questions
What is the fastest free way to scrape a website for emails?
Paste the URL into the free OwnerClue Website Email Extractor. It scans up to four public pages (Homepage, Contact, About, and Team) in seconds with no sign-up and returns the public emails, phone numbers, and contact forms it finds, with source URLs.
Can I scrape emails from a list of websites in Excel or Google Sheets?
Yes. Export your sheet as a UTF-8 CSV with a domain, website, or url column, then upload it to Website list or CSV mode. You can validate every row, remove duplicates automatically, and preview the first 3 websites for free before running up to 1,000 rows in one batch.
Why did a website scrape return no email address?
Many local businesses intentionally omit public emails to avoid spam and publish only a contact form and phone number. In other cases, the email is rendered inside an image, hidden behind JavaScript, or placed on an unlinked PDF. When no public email exists, record the contact form URL and phone number rather than guessing an unverified inbox.
Does scraping a website guarantee the email address is deliverable?
No. Website scraping extracts addresses that are currently published on public pages, including older inboxes a company forgot to update. Always verify scraped addresses with an email verification tool before launching a cold email campaign.
What is the difference between scraping emails and using an email finder database?
A website email scraper visits live public pages right now and shows you the exact source URL where each address was found. An email finder database (like Hunter.io or Apollo) looks up previously indexed contacts or predicts patterns like first@domain.com. Combining live website scraping for accuracy with a database fallback for form-only sites gives you the highest coverage.
How do I find business websites first if I only have an industry and city?
Start by building a list of target companies by category and location with OwnerClue local business search, or read our walkthrough on domain enrichment to see how source-backed exports work at scale.
Free tool · No sign-up for single sites
Ready to scrape public emails from a website or CSV?
Scan one business website for free right now, or paste a domain list and preview the first 3 sites with emails, phone numbers, and source links before creating an account.