Email header analyzer
Email Header Analyzer
Paste the headers of an email to see which servers it passed through, how long each step took, and what the receiving server recorded for SPF, DKIM, and DMARC.
Free browser tool
Analyze email headers
Paste the full headers, or the whole message source, from your mail app. The text is read in your browser and is not uploaded.
or drop an .eml file onto the box
One message at a time. Files up to 5 MB (.eml or .txt). Only the header section, up to 1 MB, is read; the message body is ignored.
What email headers are
They are the lines above the message that mail servers add as a message moves. Mail apps normally hide them. Each app has its own way to show the full headers or save the raw message.
When to use this
Use it when a message arrived late, when a message looks suspicious, or when you want the SPF, DKIM, and DMARC results for one real message.
What MailDNSLab shows
The route in time order, with the delay between each hop. The receiving server's authentication results. A few plain comparisons, such as Return-Path against From.
How to get the headers
Gmail (on a computer)
- Open the message.
- Next to Reply, open the More menu (three dots) and choose Show original.
- A new tab shows the full headers. Click Copy to clipboard, then paste the text here.
Official help: Trace an email with its full header (Gmail Help)
Outlook
- New Outlook and Outlook on the web: open the message, choose More actions (…) at the top of the message, then View > View message details. Copy all of the text that appears and paste it here.
- Classic Outlook for Windows: double-click the message to open it in its own window, then choose File > Properties. Select the text in the Internet headers box, copy it, and paste it here.
Official help: View internet message headers in Outlook (Microsoft Support)
Apple Mail (Mac)
- Save the message as a file: select it, choose File > Save As, pick Raw Message Source as the format, and save. Dragging the message to the desktop also saves it. Then use Open .eml file on this page.
- See all header fields in Mail: choose View > Message > All Headers. If that menu item is missing, choose View > Message > Raw Source to see the whole message, headers included.
Understand the result fields
- Received
- A line each server adds when it accepts the message. It names the previous hop, the time, and often an IP address.
- From
- The author address the reader sees. The sending program writes it.
- Return-Path
- The address bounces go to, set from the sender's SMTP MAIL FROM.
- Reply-To
- The address a reply should use when it is different from From.
- Message-ID
- An identifier the sending system assigns to this one message.
- Date
- The time the sending program says it created the message.
- Authentication-Results
- The SPF, DKIM, and DMARC results a receiving server recorded for this message.
- Received-SPF
- An older header some servers add with the SPF result and the client IP.
- DKIM-Signature
- The signature the sender attached, including the domain (d=) and selector (s=). This page does not check that the signature is valid.
What headers do not prove
This tool only reads what the headers say. It does not check signatures or look up DNS. Headers can be forged, and headers added before the message reached your mail provider are the easiest to fake.
- A pass recorded in the headers is the receiving server's own result, not a check by MailDNSLab.
- Received lines added before your provider's servers can be made up by the sender.
- Server clocks can differ, so a delay can look negative or wrong.
- A different Return-Path domain is common for newsletters and mailing services.
- Headers do not show whether the message reached the inbox or the spam folder.
Common questions
Are my headers uploaded?
No. They are read in this tab. They are not sent to MailDNSLab, and they are not saved. Reloading the page clears them. The site counts visits with Cloudflare Web Analytics, which sees the page view, never your headers.
Why are the hops in a different order than in my mail app?
Servers add each new Received line at the top. This page reverses that list so hop 1 is the earliest server, which is the order described in RFC 5321 §4.4.
What does "Clock mismatch" mean?
A later hop has an earlier time than the hop before it. That usually means the servers' clocks disagree. The delay for that hop is not a real delay.
Why is only one Authentication-Results used?
The top Authentication-Results header is the one your provider's receiving server added. Headers below it may have been added earlier by other servers, including the sender, so they are not used as the result (RFC 8601 §7.1).
Why does it say "unknown" for a time?
The date in that Received line could not be read. A common reason is that it has no time zone.
Can I open a .msg file?
No. Outlook's .msg format is not read here. Copy the headers from Outlook, or save the message as .eml and open that file.
Related Email DNS checks
These tools answer different questions. Use whichever fits what you are checking. None of them replaces this check.