Extract email addresses

0 characters

Text and files are processed locally in your browser. Nothing you paste or open is uploaded to NetTools servers.

How it works

Text and files are scanned in your browser. Website scans run on a restricted NetTools crawler: it fetches only public addresses on ports 80 and 443, checks every redirect, follows only same-site links breadth-first up to the chosen depth, obeys robots.txt and waits between requests. Addresses are found in visible text, mailto: links, HTML attributes, metadata and JSON-LD, and optionally in common obfuscations — no JavaScript is executed.

Extract addresses on the command line

These patterns are practical approximations, not a complete implementation of the email address grammar (RFC 5322): they miss quoted local parts and Unicode domains and may match strings that are not addresses.

# Extract addresses from a text file
grep -Eo '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}' input.txt

# … and remove duplicates (case-insensitive)
grep -Eo '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}' input.txt | sort -fu

# Addresses in a saved HTML page
grep -Eo '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}' page.html | sort -fu

# Download one public page for local inspection
curl -L --max-time 15 https://example.com -o page.html

Avoid recursive downloads (wget -r) of websites you do not run: they ignore page limits and can overload the server. On Windows, the same commands work in WSL or Git Bash.

Responsible use

  • Use the tool on your own websites and documents — for example to find addresses you publish unintentionally. Sending unsolicited mail to collected addresses breaks anti-spam and privacy laws (GDPR, CAN-SPAM).
  • The crawler identifies itself as NetToolsBot, obeys robots.txt, waits between requests and never bypasses logins, CAPTCHAs or bot protection.

Safeguards & responsible use

  • Text & Files mode is processed entirely in your browser — nothing you paste or open is uploaded.
  • Website scans are fetched by NetTools servers; page contents and found addresses are held in memory for this scan only and never stored or logged.
  • robots.txt is always respected; logins, CAPTCHAs and bot protection are never bypassed.
  • Only syntax is checked — the tool never contacts mail servers or tells you whether a mailbox exists.

Frequently asked questions

Does it check whether an address exists?

No. It checks syntax only. It never contacts mail servers, so "valid syntax" is not proof that a mailbox exists.

Why are some addresses on a website missing?

Addresses generated by JavaScript, shown as images, behind a login or on pages robots.txt disallows are not found. The crawler also stops at the chosen depth and page limit.

Can I use it to collect addresses for marketing?

Sending unsolicited mail to collected addresses breaks anti-spam and privacy laws such as GDPR and CAN-SPAM. Use it to audit your own sites and documents.

Is my text stored?

No. Text & Files mode runs entirely in your browser. Website scan results stay in server memory for a few minutes so you can download them, then they are deleted.