Email Header Analyzer

Paste the raw headers of an email to see the path it took, how long each hop held it, whether SPF, DKIM and DMARC passed, and whether the sender, reply address and bounce address disagree. Analysed in your browser; nothing is sent.

Analyzer Networking Updated Nov 25, 2026
How to Use
  1. Copy the raw headers: in Gmail open the message menu and choose Show original; in Outlook open File › Properties (classic desktop) or the message’s … › View › View message source (web and new Outlook); in Apple Mail choose View › Message › All Headers.
  2. Paste them into the box. A whole message is fine: everything after the first blank line (the body) is ignored.
  3. Press Analyze, or pick an example to see a clean newsletter, a phishing attempt and a delayed message.
  4. Read the verdict and warnings first, then the hop table: the oldest hop is at the top, and each delay is the time since the previous stamp, converted to UTC.
  5. Check the authentication table. Trust the top Authentication-Results header, the one your own mail provider added; anything lower down could have been written by the sender.
Raw headers
stays in your browser
Examples (made up)

Parsed entirely in your browser: no lookups, nothing sent or stored. The examples use reserved example domains and documentation IP addresses.

Delivery path
Hops
—
Total time
—
SPF/DKIM/DMARC
—
Warnings
—

Worked Example

Finding a delay. The “Delayed 47 min” example has three Received headers. Read bottom-up, the sender’s server stamped it at 09:43:58 +0000, the recipient’s MX at 11:31:05 +0100 and the mailbox server at 11:31:07 +0100. Convert to UTC first: 09:43:58, 10:31:05 and 10:31:07. The hops took 47 min 7 s and 2 s, and the Date header (10:43:57 +0100 = 09:43:57 UTC) adds 1 s before the first stamp, so the total is 47 min 10 s. The wait was between the sending server and the receiving MX: typical greylisting, where the receiver refuses the first try and accepts the retry.

The common mistake: ignoring the time zones. Reading the raw clock times, 09:43 to 11:31 looks like 1 h 47 min. The +0100 offset means the second stamp is really 10:31 UTC, so the delay is 47 minutes.

Spotting phishing. In the phishing example the top Authentication-Results, added by mx.example.org, says spf=softfail, dkim=none and dmarc=fail for header.from=northwlnd-bank.example (an l in place of the i). The From display name is “Northwind Bank <[email protected]>”, an address that is not the real sender, and Reply-To points to a free-mail domain. Any one of these can be innocent; together they are a clear warning.

Show Work

Paste headers or pick an example to see each header parsed and each time converted.

Rules This Analyzer Uses

Unfolding (RFC 5322)
CRLF + space/tab → one line
A line starting with whitespace continues the header above it
Hop order
hop 1 = bottom Received
Servers prepend, so the list is reversed
Hop delay
Δt = UTC(stampn) − UTC(stampn−1)
UTC = local time − offset: 11:31 +0100 = 10:31 UTC
Trusted results
top Authentication-Results (RFC 8601)
Added by your provider on arrival; lower ones may be forged
DMARC pass
(SPF pass ∧ aligned) ∨ (DKIM pass ∧ aligned)
Aligned = same organisational domain as From (relaxed mode, RFC 7489)
Organisational domain
em.shop.example.com → example.com
Approximated: last two labels, three for suffixes such as co.uk or com.au
Mismatch warnings
Reply-To ≠ From · display name holds another address
Return-Path ≠ From is reported but is normal for mailing services
DKIM-Signature tags
d= domain · s= selector · a= algorithm · t= signed at · h= signed headers
Public key lives at <s>._domainkey.<d> (not looked up here)

How Email Authentication Grew

SMTP, first specified in RFC 821 in 1982, lets any server claim any sender, and the Received trace header was the only record of the path. Spam and phishing in the early 2000s led to three add-ons. SPF lets a domain publish which servers may send its mail (experimental RFC 4408 in 2006, standard RFC 7208 in 2014). DKIM, a merger of Yahoo’s DomainKeys and Cisco’s Identified Internet Mail, signs messages with a key published in DNS (RFC 4871 in 2007, now RFC 6376). DMARC, developed by a group including Google, Microsoft, Yahoo and PayPal and published as RFC 7489 in 2015, ties both to the visible From address and lets domain owners ask receivers to reject failures.

Receiving servers record their checks in the Authentication-Results header (RFC 8601). Because forwarding and mailing lists break SPF and often DKIM, ARC (RFC 8617, 2019) lets each intermediary seal the results it saw. Since 2024 Google and Yahoo have required bulk senders to pass SPF and DKIM, publish a DMARC record and offer one-click unsubscribe, which is why most newsletters now pass all three.

About This Tool

This analyzer unfolds the headers, turns the Received chain into hops with UTC times and delays, parses every Authentication-Results, ARC-Authentication-Results and Received-SPF header, lists DKIM signatures with their domains and selectors, compares From, Reply-To, Return-Path, display names and Message-ID, and sums it up in plain language. It does not verify DKIM signatures or look up DNS, IP owners or blocklists, and it cannot tell a forged lower header from a real one; it says so in each verdict.

Privacy: headers can contain names, addresses and IP addresses, so everything is parsed by script in your browser. Nothing you paste is sent to this site or anyone else, and nothing is stored. To check a domain’s SPF, DKIM or DMARC records yourself, use the DNS Lookup (which does contact a DNS resolver, on request).

Related tools: DNS Lookup, IP Address Lookup, and WHOIS / Domain Age Lookup.

Frequently Asked Questions

How do I read the Received headers?

Each mail server that handles a message adds a Received line at the top, so they read from the bottom (the first server) to the top (your provider). Each says roughly “from X by Y with protocol; date”. This tool reverses them into hop order and works out the time between stamps after converting every time zone to UTC, so 11:31:05 +0100 and 10:31:05 +0000 count as the same moment.

What do SPF, DKIM and DMARC pass and fail mean?

SPF (RFC 7208) checks that the sending server’s IP is allowed by the envelope sender’s domain. DKIM (RFC 6376) checks a cryptographic signature added by a signing domain (d=). DMARC (RFC 7489) passes only if SPF or DKIM passed for a domain that matches the visible From domain, and tells receivers what to do otherwise. A DMARC pass proves the message came from the From domain’s systems, not that the sender is honest.

Can email headers be faked?

Partly. The sender controls every header it writes, including fake Received and Authentication-Results lines below the real ones. What it cannot fake are the lines your own provider added on arrival, at the top. That is why this tool reads authentication from the topmost Authentication-Results header and shows its authserv-id, so you can check it is your provider’s name.

Why is the Return-Path different from the From address?

The Return-Path is the envelope sender, where bounces go. Newsletters and mailing services usually use their own bounce domain (for example [email protected] for [email protected]), so a difference is normal. It matters only when DMARC fails or the domains are unrelated and nothing else checks out.

Why does a hop show a long delay?

The delay is the time between one server stamping the message and the next one stamping it, so it includes time waiting in the earlier server’s queue. Common causes are greylisting (the receiver refuses the first attempt and the sender retries 5–60 minutes later), spam scanning, a busy queue or a server that was down. A negative delay just means two servers’ clocks disagree.

How do I use the Email Header Analyzer?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Does it cost anything or need an account?

No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.

Is anything I type uploaded?

No. The tool works entirely on your device, so the values you enter never leave your browser.

Common Use Cases

Is this email phishing?

The phishing example fails DMARC, has spf=softfail and no DKIM, and its display name shows a bank address while the real From is a lookalike domain: 3 red flags.

Where did my email get stuck?

In the delayed example, hop 2 took 47 min 7 s and the other hops 1–2 s each, which points at the receiving mail server (greylisting), not the sender.

Checking your own domain’s setup

Send yourself a test from your domain and paste the headers: you want spf=pass, dkim=pass with d= your domain, and dmarc=pass.

Help-desk tickets

Paste headers a user forwarded to see the authserv-id, the sending IP and every SPF, DKIM and DMARC result in one table instead of reading 60 raw lines.

Learning email security

Compare the newsletter (one DKIM signature aligned with the From domain, one from the mailing service) with the phishing sample to see what alignment means.

Last updated: