email-validator
A robust email address syntax and deliverability validation library.
Decision gist · record as of 2026-08-14
Yes. email-validator is a mature, actively maintained library (since 2015, last commit 2026-06-26) with no known vulnerabilities, low install friction, and permissive licensing. It's widely used (top 1000 PyPI packages) and handles both basic and complex email validation scenarios. Install it if you need to validate user email addresses or normalize them for storage; skip it only if your application has no email validation requirements or uses a different validation strategy.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- DNS deliverability checks require network access and may be slow; disable with check_deliverability=False for login forms.
- Low friction: pure Python wheel with only two lightweight runtime dependencies (dnspython, idna).
License · maintenance · safety
Unlicense (permissive) — Licensed under the Unlicense (permissive), placing the package in the public domain with no restrictions on use, modification, or redistribution.
last release 2025-08-26 (353 days) · last repo commit 2026-06-26 · 1,431 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 235,975,688 downloads/mo, #167 on PyPI
Alternatives
Verify before relying
pip install email-validator
from email_validator import validate_email, EmailNotValidError
try:
emailinfo = validate_email("user@example.com", check_deliverability=False)
normalized = emailinfo.normalized
except EmailNotValidError as e:
print(str(e))- Whether the library's opinionated defaults (rejecting domains without dots, special-use domains like @localhost) match your application's requirements.
- Performance impact of DNS queries when check_deliverability=True on high-volume validation scenarios.
What it is and what it does
email-validator is a Python library that validates email addresses by checking both syntax correctness and, optionally, domain deliverability. It parses email strings according to RFC standards, rejects obsolete or unsafe forms, and normalizes addresses—especially important for internationalized domains and quoted-string local parts. The library returns a normalized form you should store in your database rather than the user's original input.
The package is opinionated: it rejects addresses with invalid Unicode, special-use domains like @localhost, and domains without a dot by default. It supports internationalized domain names (like @ツ.life) and local parts, optional display name parsing, and can perform DNS MX record lookups to verify a domain can receive mail. You control deliverability checking via the check_deliverability parameter—disable it on login forms to avoid unnecessary DNS queries, but enable it on account creation forms.
Use it for
- Validate user email addresses on registration forms with friendly error messages before creating accounts.
- Normalize email addresses before database storage to ensure consistent lookups and prevent duplicates from different representations.
- Check domain deliverability during account creation by querying DNS MX records, while skipping checks on login for performance.
- Support internationalized email addresses with non-ASCII characters in domain or local parts.
- Parse and validate email addresses with display names in the format "My Name" <me@example.com>.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
email-validator is a mature, actively maintained library (since 2015, last commit 2026-06-26) with no known vulnerabilities, low install friction, and permissive licensing. It's widely used (top 1000 PyPI packages) and handles both basic and complex email validation scenarios. Install it if you need to validate user email addresses or normalize them for storage; skip it only if your application has no email validation requirements or uses a different validation strategy.
Install
email-validator on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (dnspython, idna). Actively maintained since 2015 with recent releases; last commit 2026-06-26.
Requires Python 3.8 or later. DNS deliverability checks require network access and may be slow; disable with check_deliverability=False for login forms.
License in practice
Licensed under the Unlicense (permissive), placing the package in the public domain with no restrictions on use, modification, or redistribution.
Quickstart
pip install email-validator
from email_validator import validate_email, EmailNotValidError
try:
emailinfo = validate_email("user@example.com", check_deliverability=False)
normalized = emailinfo.normalized
except EmailNotValidError as e:
print(str(e))
Verify before relying
- Whether the library's opinionated defaults (rejecting domains without dots, special-use domains like @localhost) match your application's requirements.
- Performance impact of DNS queries when check_deliverability=True on high-volume validation scenarios.
Package facts
| License | Unlicense permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdnspythonidna |
| Maintenance | Actively maintained 353 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 235,975,688 / month, #167 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: The Unlicense (Unlicense)Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: email_validator-2.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “email validation library”
- email-validatorValidates email address syntax and optionally checks domain…
- mailcheckerValidates email addresses against format rules and checks whether…
- zerobouncesdkPython SDK for the ZeroBounce email validation and verification API,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also email-normalize · emval · flufl.bounce · fqdn · pyIsEmail · validate_email · PyFunceble-dev · zerobouncesdk · checkdmarc · free-email-domains