Email Header Analyzer
Paste raw headers — get the delivery path, auth results, and spoofing red flags.
Runs entirely in your browser — headers are never uploaded. Safe for suspicious mail triage.
How it works
Open the original message and paste the raw header block, through the line before the blank
separator. The analyzer unfolds continuation lines locally, lists identity fields such as
From, Reply-To and Return-Path, and flags different domains.
It reverses the Received lines for a chronological view and estimates elapsed time
from their timestamps. It summarizes the first matching SPF, DKIM and DMARC verdicts it finds
across the pasted Authentication-Results fields.
Read the Received chain bottom-up
Each SMTP relay that accepts a message prepends its own Received field, so the
newest hop is at the top. Read bottom-up to reconstruct the claimed sequence. In each line,
from names the sending peer, by names the receiving server, and the date
after the semicolon records when the receiver accepted the message. Compare adjacent
timestamps in the same time zone. Check an unexpected gap or negative interval against delivery
logs because queuing and clock differences can affect the timestamps.
To decide which hops to trust, work from the top back to the oldest hop that your receiving provider or gateway added. At that ingress hop, note the peer address recorded by your server and confirm it in the gateway logs if available. Earlier lines below your boundary are unverified. The analyzer orders the lines as supplied, so its first row is the earliest claimed hop. RFC 5321 trace information
Check authentication and the domains behind it
In Authentication-Results, read the service identifier before the first semicolon
and select the entry from a gateway you trust. Conflicting rows can reflect different checking
points on a forwarded message. The analyzer summarizes the text in the paste. Confirm the
authoritative result in the raw headers or gateway logs. RFC 8601 trust boundary
| Check | What to read |
|---|---|
| SPF | Look for smtp.mailfrom. SPF checks the connecting
IP against the policy for an SMTP identity. For DMARC, compare the authenticated
envelope sender domain with the visible From domain. |
| DKIM | Look for the signing domain in header.d alongside
the verdict. In the corresponding DKIM-Signature, d= identifies
the domain and s= identifies the key selector. |
| DMARC | Compare the From domain, often shown as header.from,
with each passing SPF or DKIM identity. One passing, aligned identity is enough.
Strict alignment requires an exact match. Relaxed alignment permits a shared
organizational domain. |
Check Reply-To for an unexpected destination and Return-Path for the
recorded envelope return address. A legitimate sender can delegate bounces or replies to another
service. A brand display name with an unfamiliar From domain, a surprise reply address and failed
alignment together give you stronger grounds for escalation. RFC 5322 originator fields,
RFC 9989 alignment
Worked example
This illustrative excerpt is from a message claiming to represent the billing team at
example.com. In this scenario, edge.example.com is your trusted gateway
and it found a DMARC policy for example.com.
Received: from edge.example.com by inbox.example.com;
Sun, 22 Nov 2026 14:02:21 +0000
Authentication-Results: edge.example.com;
spf=pass smtp.mailfrom=bounces.example.org;
dkim=pass header.d=example.org;
dmarc=fail header.from=example.com
Received: from relay.example.org (relay.example.org [192.0.2.24])
by edge.example.com; Sun, 22 Nov 2026 14:02:08 +0000
From: Billing Team <[email protected]>
Reply-To: [email protected]
Return-Path: <[email protected]>
Read from the lower Received line to the upper one. The gateway recorded a
connection from 192.0.2.24 and the two timestamps differ by 13 seconds.
Both authentication passes refer to example.org or its subdomain, so neither
aligns with example.com. A reply would also go to example.org.
Escalate the message and ask the billing team through a known contact channel whether they
use that service.
What to do with your result
For suspected phishing, report the original using your organization's approved channel.
Include the observed ingress hop, the trusted authentication result, any unexpected reply
destination and whether anyone interacted with the message. Preserve the original privately
so investigators can correlate its Message-ID and timestamps with logs. For mail
you administer, check the sender's DNS and retest with a fresh delivery. Follow the
phishing email header tracing guide for
Gmail and Outlook instructions and a reporting checklist.
FAQ
How do I get the full email headers in Gmail or Outlook?
In Gmail on the web, open the message and choose Show original from the More menu. In new Outlook or Outlook on the web, use More actions, then View and View message details. In classic Outlook for Windows, open the message in its own window and use File, then Properties.
Which Received header is the original sender?
The lowest Received line is the earliest claimed SMTP hop. Start your evidence review at your trusted receiving gateway and use its recorded peer address as the earliest independently useful observation.
Why can SPF and DKIM pass while DMARC fails?
Both checks can pass for domains unrelated to the visible From domain. DMARC needs at least one passing identity that aligns with From.
Does a different Return-Path mean the email is spoofed?
Legitimate senders often use separate bounce addresses. Check whether DKIM aligns and whether you recognize the sender's delivery service before drawing a conclusion.
Can I find the sender's personal IP address from headers?
A trusted Received line may show the IP of the relay that connected to your gateway. That address can belong to a shared sending provider and cannot identify the person behind the message on its own.
Does the analyzer verify DKIM signatures or run SPF and DMARC?
It parses the verdicts already written in Authentication-Results. Verify which system produced them in the original message or gateway logs.
From the channel
One Open Folder Exposed 3 Microsoft 365 Phishing Ops
Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸
Device-Code Phishing Is Scaling With Automation
Watch safe, hands-on security demonstrations for complete beginners on The Exploit HQ ▸
kev brief
Patch what's actually being exploited.
Subscribe and get the KEV Patch Priority Playbook, free, in your inbox now.
Free. No spam. Unsubscribe anytime. Delivered by Beehiiv.