Email address syntax checker
Check the syntax of an email address, normalise it and flag likely typos, role and disposable addresses.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/email-syntax \
-H 'Content-Type: application/json' \
-d '{"input":{"email":"[email protected]"}}'
import json, urllib.request
body = {'input': {'email': '[email protected]'}}
request = urllib.request.Request("https://setget.net/v1/tools/email-syntax", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/email-syntax", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"email":"[email protected]"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "email-syntax",
"input": {
"email": "[email protected]"
}
}
{
"input": {
"email": "[email protected]"
}
}
Endpoint: POST /v1/tools/email-syntax. Over MCP: run_tool with slug: "email-syntax".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
email |
string | yes | The email address to check. |
Examples
Input
{
"email": "[email protected]"
}Result
{
"email": "[email protected]",
"valid": true,
"problems": [],
"normalised": "[email protected]",
"local": "Sam.Jones+news",
"domain": "gmial.com",
"ascii_domain": "gmial.com",
"is_idn": false,
"suggestion": "[email protected]",
"role": false,
"disposable": false,
"tag": "news",
"note": "Syntax only. No DNS lookup or mailbox check was made, so the address may still not exist."
}A broken domain
Input
{
"email": "info@exa mple..com"
}Result
{
"email": "info@exa mple..com",
"valid": false,
"problems": [
"The domain contains an empty part: two dots in a row, or a dot at the start or end.",
"The domain part \"exa mple\" may contain only letters, digits and hyphens, and must not start or end with a hyphen."
],
"normalised": null,
"local": "info",
"domain": "exa mple..com",
"ascii_domain": null,
"is_idn": false,
"suggestion": null,
"role": true,
"disposable": false,
"tag": null,
"note": "Syntax only. No DNS lookup or mailbox check was made, so the address may still not exist."
}Questions
- Does "valid" mean the mailbox exists?
- No. Only the form of the address is checked. No DNS lookup is made and no mail is sent.
- Why is the part before @ not lowercased?
- It may be case-sensitive by the standard, though few providers treat it so. Only the domain is safely lowercased.
- How are typos found?
- The domain is compared with a list of common misspellings and with the names of large providers. It is a suggestion, not an error.
- Are quoted names such as "a b"@example.com accepted?
- No. They are allowed by the standard but rejected by nearly every mail system, so they are reported as a problem.
Related tools
- URL parserSplit a URL into scheme, login, host, port, path, query parameters and fragment.
url-parse - Card number (Luhn) and IBAN validatorCheck a card number with the Luhn checksum and name its network, or check an IBAN by length and mod-97.
luhn-iban-validate - Regex testerTest a regular expression against text and see every match with its position and groups.
regex-test - .gitignore testerCheck which paths a .gitignore file ignores and which line decided each one, using real Git matching rules.
gitignore-test - Cache-Control explainerExplain a Cache-Control header directive by directive and how browsers and CDNs will treat the response.
cache-control-explain - CIDR and subnet calculatorWork out the network, netmask, host range and size of an IPv4 or IPv6 CIDR block, and split it into subnets.
cidr-calc