Saved

Press the star next to a tool's name to save it.

All my tools

Email Address Validator (Syntax and Mail Server Check)

This email address validator checks the syntax of one address or a whole list and can look up the domain's mail servers over DNS-over-HTTPS. It explains every problem it finds.

Restored your last values ·

Paste one or many addresses, separated by new lines, commas, semicolons or spaces. The syntax is checked in your browser; the optional mail server lookup asks a public DNS service only for the domain part.

Your input is processed in your browser. Nothing you type is sent to our servers.

Result

Looking up mail servers…

–

Paste one or more email addresses and press Validate.

Recent results

This email address validator checks whether an address is written correctly and, if you want, whether its domain can receive mail. Paste a single address or a whole list; each one gets a verdict, the reasons it failed, and the mail servers found for its domain.

What the email address validator checks

The syntax check follows a practical subset of the Internet message rules. The part before the @ sign, called the local part, may be a dot-atom: letters, digits and the characters ! # $ % & ' * + - / = ? ^ _ ` { | } ~, with dots allowed only between those characters. [2] A dot at the start or end, or two dots in a row, is rejected. The local part may also be a quoted string in double quotes, although the standard says the dot-atom form should be used whenever possible. [2]

The domain after the @ sign must be a real host name: labels of letters, digits and hyphens separated by dots, no label starting or ending with a hyphen, at least two labels, and a last label that is not all digits. The SMTP standard sets size limits of 64 octets for the local part, 255 octets for a domain and 256 octets for a whole path. [1] This tool applies 64 and 63 per label, and 254 characters for the whole address, which is the 256-octet path limit minus the two angle brackets (our own working).

Syntax rules in plain words

  • One @ sign that separates two parts. The tool splits at the last @, because a quoted local part may contain an @.
  • Local part up to 64 characters. Longer names cannot be carried by SMTP. [1]
  • No spaces or brackets. Characters such as ( ) , : ; < > [ ] and spaces are not allowed outside quotes. [2]
  • Domain with a dot. An address such as admin@localhost can work on a private network, but it cannot receive mail from the open internet, so it is flagged.
  • International domains. A domain written with accents or non-Latin letters is converted to its ASCII form before it is checked.

How the mail server lookup works

A correct address can still point at a domain that takes no mail. When you keep the lookup option on, the tool asks Cloudflare's public DNS service over HTTPS for the domain's MX records. The request is a plain GET to the DNS query address with the name and record type, and the answer is JSON. [3] Only the domain is sent, never the part before the @ sign.

The result is read as the mail standard describes. If MX records exist, mail is sent to them in order of preference. If there are none, the domain is treated as if it had an implicit MX that points at its own address record, but only when there are no MX records at all. [1] A domain with neither is marked as having no mail server, and a name that does not exist is reported as such. A single MX record of "0 ." is the way a domain says it accepts no mail, and the tool reports it as a refusal (our own working, based on the null MX convention).

Checking a list of email addresses

For a mailing list or a spreadsheet column, paste everything at once. Duplicates are removed, up to 200 addresses are accepted, and domains are looked up four at a time, once per domain, so a list with many addresses at one company makes only one request. The table can be copied and pasted straight into a spreadsheet.

AddressVerdictWhy
ana@example.comValid syntaxDot-atom local part, two-label domain
ana..lopez@example.comInvalidTwo dots in a row
ana@exampleInvalidDomain has only one label
"ana lopez"@example.comValid syntaxQuoted local part allows a space

What this check cannot tell you

A valid syntax and a working MX record do not prove that a mailbox exists. Only the receiving server knows that, and many servers refuse to say. The only reliable test is to send a message and see whether it is answered or confirmed. Treat this tool as a filter for typing mistakes and dead domains, not as proof that a person can be reached.

  • It does not connect to the mail server or send any message.
  • It does not detect disposable or role addresses such as info@ or admin@.
  • It does not accept comments, IP-address domains or non-ASCII local parts, which the full grammar or later extensions allow but almost no service uses.
  • A DNS answer can differ between networks and over time, so a failed lookup is worth retrying.

Common mistakes in email addresses

  • A trailing dot or space copied from a sentence, as in "write to ana@example.com."
  • A comma instead of a dot in the domain.
  • A missing top-level part, such as .com.
  • Using a plus sign and assuming it is wrong: name+tag@example.com is valid syntax.
  • Pasting an address with a display name such as Ana Lopez <ana@example.com>; paste only the address in the angle brackets.

Privacy

The syntax check runs in your browser. The optional lookup sends only the domain name to Cloudflare's DNS service, so turn the option off if even that should stay private. Nothing is stored by this site.

What next

Use this often? Add Email Addres to your Home screen.

Frequently asked questions

What does the email address validator check?

It checks the syntax of each address against a practical subset of the email standards and, if you choose, whether the domain has mail servers (MX records) or an address record that mail can fall back to.

Does a valid result mean the mailbox exists?

No. Syntax and DNS records show that an address is well formed and the domain can receive mail, but only the receiving server knows whether a mailbox exists, and many will not say.

Is the email address sent anywhere?

The syntax check stays in your browser. If the mail server lookup is on, only the domain name, never the part before the @ sign, is sent to Cloudflare's public DNS service.

Can I validate a list of email addresses?

Yes. Paste up to 200 addresses separated by new lines, commas, semicolons or spaces. Duplicates are removed and each domain is looked up once.

Why is an address with a plus sign accepted?

The plus sign is one of the characters the standard allows in the local part, so name+tag@example.com is valid syntax. Many services use it for filtering.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Developer Tools