Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Security and privacy

Email header analyzer

An email header analyzer reads the hidden headers of a message and shows the route it took, how long each server held it, and whether its SPF, DKIM and DMARC checks passed. Paste the full headers to see who really sent an email, spot signs of spoofing and phishing, and find where a delayed message got stuck.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Find them with Show original, View source or View message headers in your mail program. The analysis runs on your device; nothing is sent.

Analysis

3 hopsDelivered in 4 s from the first server to the last, sent as shop.example.com

  • SPF pass
  • DKIM pass
  • DMARC pass
  • OK: SPF pass for mail.shop.example.com.
  • OK: DKIM pass for shop.example.com.
  • OK: DMARC pass for shop.example.com.
  • OK: Aligned with the From domain shop.example.com through SPF and DKIM (relaxed alignment).
From
Example Shop <orders@shop.example.com>
Reply-To
Example Shop Support <support@shop.example.com>
Return-Path
<bounce-7731@mail.shop.example.com>
Subject
Your order 50412 has shipped
Date
Tue, 24 Nov 2026 17:14:02 +0000
Message-ID
<20261124171402.50412@shop.example.com>
HopRouteTime (UTC)
1app-04.internal.shop.example.com → mx-out-3.mail.shop.example.com
10.20.4.7 (private), ESMTP
17:14:03
start
2mx-out-3.mail.shop.example.com → mx.example.org
198.51.100.23, ESMTPS
17:14:05
+2 s
3(not given) → 2002:a05:6a10:2c4:b0:5ab:1234
SMTP
17:14:07
+2 s

Results as recorded by mx.example.org. Trust only the Authentication-Results line your own mail provider added: lines further down can be written by anyone along the way.

How to use the Email Header Analyzer

  1. In your mail program, open the message and choose Show original, View source or View message headers.
  2. Copy everything and paste it into Email headers. The body below the headers is ignored.
  3. Read the summary: the number of hops, the total delivery time and the SPF, DKIM and DMARC chips.
  4. Check the list of findings and the hop table for problems, such as a Reply-To at another domain or a slow server.

How do I read email headers?

Headers are the lines above the message text: who it is from and to, the subject and date, and a trail of Received lines added by each server that handled it. The trail is read from the bottom up. RFC 5321, the standard for sending mail, says a server that receives a message must insert its Received line at the beginning, so the oldest line, from the sender's own server, is the lowest, and the newest, from your provider, is on top.

Each Received line names the server it came from, the server that took it, how it was sent and a time after the semicolon. The analyzer turns them into a table, oldest first, and works out the gap between each pair of times. For the example headers in the box, the message took 4 s from the shop's internal server to the reader's mailbox:

The example message, hop by hop (times in UTC, as read by the analyzer)
HopFromByTimeDelay
1app-04.internal.shop.example.commx-out-3.mail.shop.example.com17:14:03first hop
2mx-out-3.mail.shop.example.commx.example.org17:14:052 s
3(not given)2002:a05:6a10:2c4:b0:5ab:123417:14:072 s

Other lines help too. Message-ID is a unique label the sending system gives the message, useful when you ask a provider to trace it. Date is set by the sender's program, not by any server. Lines that start with X- are extras added by particular systems, such as spam scores; they follow no common standard, so the analyzer shows the standard fields and leaves those for you to read.

Headers can be folded over several lines; a line that starts with a space continues the one above, and RFC 5322 says unfolding simply removes the line break. The analyzer does that first, so long Authentication-Results and Received lines are read whole. Times written in different zones, such as -0800 and +0000, are all converted to UTC before the delays are worked out.

How can I tell if an email is spoofed or a phishing attempt?

Compare the three addresses and the authentication results. From is the sender you see. Return-Path is the bounce address, added by the final server, and it is the domain SPF checks. Reply-To, if present, is where replies go; RFC 5322 defines it as where the author suggests replies be sent. A message from a bank whose replies go to an unrelated domain deserves suspicion, and so does one that fails authentication for the domain in From.

To see this in action, change the example so it claims to come from a bank, with a reply address elsewhere and a DMARC failure. The analyzer then reports: "DMARC fail for shop.example.com." "Neither a passing SPF nor a passing DKIM domain matches the From domain bank.example.net, so the message would not pass DMARC on its own." "Replies go to help@another.example, a different domain from the sender (bank.example.net). Common in phishing; check before replying."

None of these signs proves fraud on its own, and a clean result does not prove a message is safe: a criminal can send fully authenticated mail from a domain they own that merely looks similar to a real one. Read the From domain letter by letter, and never open links or attachments from a message that fails these checks.

What do SPF, DKIM and DMARC results mean in the headers?

The receiving server records its checks in an Authentication-Results line, a format defined in RFC 8601, as method=result pairs such as spf=pass and dkim=pass. SPF checks whether the sending server is allowed to send for the bounce domain; its results include pass, fail, softfail, neutral, none, temperror and permerror. DKIM checks a cryptographic signature added by the sending domain. DMARC then asks whether at least one of the two passed for a domain that matches the From address.

That match is called alignment. RFC 9989, the DMARC standard, explains that in relaxed mode two domains align when they share an organizational domain, so mail.shop.example.com aligns with shop.example.com, while strict mode needs an exact match. The analyzer works out relaxed alignment itself, using an approximate organizational domain, so it can flag a pass for the wrong domain even when a header shows no dmarc= result.

One caution from RFC 8601: the mere presence of an Authentication-Results line does not make it valid, because anyone can add one before the message reaches your provider. The analyzer reads the topmost one, which your own provider adds; to check a domain's published records directly, use the SPF record checker, the DKIM checker and the DMARC checker.

Why was my email delayed?

The Delay column shows where the time went. A gap of seconds between hops is normal; minutes or hours at one hop point to that server: a queue, a spam filter holding the message, a retry after a temporary failure, or greylisting. The analyzer flags any hop slower than five minutes.

Delays depend on each server's clock. If a server's clock is wrong, its hop can appear to take negative time or far too long; the analyzer notes when a time is earlier than the hop before it. Compare the Date line, set by the sender's program, with the first Received time to see whether the message waited before it left the sender at all.

Use it with

Questions

How do I see the full headers of an email?

Open the message and look for Show original, View source or View message headers in its menu. Copy all of it and paste it into the analyzer.

How do I read Received headers?

From the bottom up: the lowest Received line is the first server, the top one is your provider. Each line names the sending and receiving server and the time.

How can I tell if an email is fake from its headers?

Look for SPF, DKIM or DMARC failures, a From domain that no passing check matches, and a Reply-To at a different domain. The analyzer flags each of these.

What does dkim=pass mean?

The message carries a valid signature from the domain named in header.d or header.i, and it was not changed in transit. It does not by itself prove the From address is that domain.

Can email headers show the sender's IP address?

The first Received lines usually show the sending server's IP. Large providers often show only their own servers, and internal hops show private addresses such as 10.x.x.x.

Are my email headers uploaded?

No. The analysis runs in your browser. Headers can contain addresses and internal server names, so nothing you paste is sent anywhere.

How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.