Email header analyzer
Every email carries a block of headers that records where it came from, which servers handled it and what each server concluded about its authenticity. Most mail apps hide that block. Paste it here and this page unfolds it, lists the servers in the order the message passed through them, times each hop, finds the first public IP address and explains the SPF, DKIM and DMARC results.
Paste the header block of one message, up to 500 KB. Headers end at the first blank line.
Paste headers to see the delivery path and authentication results.
The headers you paste are read by code running in this page and are never sent to our servers or anyone else.
How it works
- Unfolding: a header line that starts with a space or a tab continues the line above it, so the tool joins those lines before reading anything.
- Received chain: every Received header is collected and put in reverse, because each server adds its line on top. The first row is the server that first accepted the message and the last row is the one that delivered it to the mailbox.
- Per-hop delay: the time after the last semicolon of each Received line is converted to UTC using its own time zone offset, and the gap to the previous hop is the delay. A negative gap is shown as clock skew, not as an error.
- Originating IP: the tool reads the addresses in the from part of each Received line, starting with the earliest hop, and reports the first public one. Private, loopback, link-local, shared and multicast ranges are skipped, including the IPv6 equivalents such as fd00::/8 and fe80::/10.
- Authentication-Results: each header of that name is read on its own and labelled with the server that wrote it. The tool pulls out the spf, dkim and dmarc results and the domains involved, then checks whether the domains match the visible From domain.
- Encoded words: subjects and names written as =?charset?B?...?= or =?charset?Q?...?= are decoded to readable text.
Limits
- Headers can be forged. Lines below the ones added by your own mail provider come from earlier servers, and a sender can invent them. Trust the Authentication-Results added nearest the top by the provider that delivered the message to you.
- The originating IP is the address the first public-facing server saw. If the sender used a mail service, a VPN or a corporate gateway, it names that network and not a person.
- Domain matching uses the rule that two domains are related when they are the same or one is a subdomain of the other. It does not use a public suffix list, so an unusual shared suffix can look related when a strict DMARC check would disagree.
- A clock that is wrong on one server shows up as a negative or very large delay. The tool reports it and does not guess which server is right.
- Pasted headers sometimes lose lines. If the Received lines are missing the tool says so and shows what it can.
Related tools
DKIM checkerFind a domain's DKIM key, read its length and status, and get the exact fix when something is wrong.SPF checkerRead a domain's SPF record, walk every include, and see how many of the 10 allowed DNS lookups it uses.DMARC checkerRead a domain's DMARC record, understand every tag, and get the next safe step toward p=reject.MX lookupList a domain's mail servers in the order senders try them, resolve each one, and name the provider.Email blacklist checkerSee whether your domain or sending IP appears on spam blocklists, with a severity and a removal link for each.DKIM generatorCreate a DKIM key pair in your browser and get the exact DNS host, the TXT value and the split strings, plus the private key to install.