Free email header analyzer. Paste raw headers to trace every hop, check SPF, DKIM and DMARC, and spot spoofing. Runs in your browser, nothing uploaded.
By Inventive HQ
This email header analyzer takes the raw internet headers from any message and turns them into a readable delivery trace, an authentication verdict, and a list of the specific things that look wrong. Paste the header block, and the tool reconstructs the full Received chain hop by hop, parses SPF, DKIM and DMARC results, calculates an overall security score and a separate phishing-likelihood score, and lists each finding with a severity rating.
Every part of the analysis runs in your browser. Headers are never uploaded to a server, which matters because a header block routinely contains internal hostnames, private IP ranges, mail gateway product names and recipient addresses — exactly the reconnaissance data you should not paste into an unknown web service. If you want to see the tool work before you have a sample of your own, it ships with a legitimate example and a phishing example you can load with one click.
An email is two parts: a body, and a block of headers defined by RFC 5322 and extended by SMTP (RFC 5321). The headers your mail client shows you — From, To, Subject, Date — are the ones the sender wrote, and every one of them can be forged freely. The headers that matter forensically are the ones added by mail servers in transit, which the sender cannot control.
| Header | Written by | What it tells you |
|---|---|---|
From | Sender | The claimed author. Trivially spoofable on its own. |
Return-Path | Receiving server, from the SMTP MAIL FROM | The envelope sender — where bounces go. This is what SPF actually checks. |
Reply-To | Sender | Where a reply is directed. A mismatch with From is a classic BEC tell. |
Received | Every server in the path | The delivery chain, newest first. The bottom-most entry is closest to the origin. |
Received-SPF | Receiving server | The SPF verdict and the connecting client IP. |
DKIM-Signature | Signing domain | The signing domain (d=), selector (s=) and signed headers. |
Authentication-Results | Receiving server | Consolidated SPF, DKIM and DMARC verdicts. |
Message-ID | Originating server | Unique ID; its domain often betrays the true sending platform. |
Received headers stack: each server that handles the message prepends its own line. That means you read the chain bottom to top — the last line in the block is the first hop, the one nearest the true origin, and the first line is your own mail server. The analyzer reverses this for you, numbers the hops, and computes the delay between each pair of timestamps.
Those delays are the part most people ignore and the part that is most diagnostically useful. A message that took four hours to arrive did not take four hours everywhere — the delay sits at one specific hop, and the hop-by-hop breakdown shows you which one. The tool flags any hop with a gap over five minutes as suspicious, along with a first hop that has no resolvable IP address and any hop missing a timestamp altogether — both signs of hand-crafted or truncated headers.
A caution that experienced analysts internalise quickly: only the hops added by servers you trust are trustworthy. An attacker can prepend as many fabricated Received lines as they like before handing the message to a real MTA. Trust the chain from your own perimeter inward; treat everything below the first server you control as claims, not facts.
Return-Path domain? It validates the envelope sender, not the From header a human sees. SPF breaks on ordinary forwarding, so a softfail on a forwarded message is often benign.selector._domainkey.domain? A DKIM pass proves the message was not modified in transit and that the signing domain vouched for it. DKIM survives forwarding; it breaks when a mailing list rewrites the subject or appends a footer.From header through alignment: it passes only when SPF or DKIM passes and the domain that passed matches the From domain. It also publishes a policy — p=none, p=quarantine or p=reject — telling receivers what to do on failure.The analyzer parses all three from the headers and raises a distinct finding for each failure mode: SPF fail, SPF softfail, no SPF record, DKIM signature failed, no DKIM signature, DMARC failed, and no DMARC policy. It separately flags a From and Return-Path domain mismatch as a spoofing indicator, plus content signals such as a free-webmail sender claiming a corporate identity and urgent or threatening subject language.
The critical nuance: SPF and DKIM passing does not mean the email is safe. An attacker who registers micros0ft-billing.com can publish perfect SPF, DKIM and DMARC records for it. Authentication proves the domain is who it says it is; it says nothing about whether that domain deserves your trust.
Received: line down to the last header before the blank line that starts the body. Partial headers give partial answers.A convincing display name paired with a mismatched envelope domain is the single most common pattern: From: "IT Helpdesk" <helpdesk@company.com> over a Return-Path of bounce@mail-relay-77.example.net, with SPF passing for the relay domain and DMARC failing on alignment. Other repeat offenders: a Reply-To pointing at a free webmail account while From shows a corporate domain; a single Received hop where a legitimate corporate sender would show three or four; a Message-ID whose domain matches no server in the chain; and a first-hop IP in a residential or hosting range rather than the sender’s published mail infrastructure.
When a header analysis raises questions about the sending infrastructure, the IP reputation checker is a natural next step for the originating IP, and the URL defanger lets you record any links from the body in a ticket without making them clickable. For deeper background, see the guide to email header analysis and forensics.
Gmail: open the message, click the three-dot menu, choose Show original, then copy the header block. Outlook desktop: File → Properties → Internet headers. Outlook on the web: three-dot menu → View → View message details. Apple Mail: View → Message → All Headers.
It tells you whether the sending domain authenticated correctly, whether the visible sender aligns with the envelope sender, and whether the delivery path is coherent. Those together catch most spoofing. They do not catch a well-configured lookalike domain, or a genuine account that has been compromised — both authenticate perfectly. Treat the score as evidence, not a verdict.
The one in the bottom-most Received header — the first hop chronologically. Everything above it is infrastructure that handled the message afterwards. Remember that hops below your own trusted boundary can be fabricated.
Plain forwarding re-sends the message from the forwarding server’s IP while keeping the original envelope sender, so the connecting IP is not in the original domain’s SPF record and the check fails. This is why DMARC accepts a DKIM pass as an alternative — DKIM signatures survive forwarding.
No. Parsing, authentication analysis and scoring all happen locally in your browser. Nothing is transmitted to a server, which is what makes the tool safe for headers containing internal hostnames and private IP ranges.
The overall score runs 0–100 and reflects authentication results and routing integrity: 80 and above reads as legitimate, 60–79 as no major threats, 40–59 as worth caution, and below 40 as high risk. The phishing-likelihood score is separate and rises with spoofing and social-engineering indicators.
Open the file in a text editor and paste the header section — everything above the first blank line. A .eml file is plain text and works directly. A .msg file is a binary Outlook format, so export the internet headers from Outlook instead.
Alignment requires that the domain which passed SPF or DKIM matches the domain in the visible From header. Without it, an attacker could pass SPF for a domain they own while displaying yours. Alignment is what turns SPF and DKIM into meaningful anti-spoofing controls.
The analysis focuses on Received, Received-SPF, DKIM-Signature and Authentication-Results. Mailing lists and forwarders that rewrite messages commonly break DKIM, so read a DKIM failure on list mail in that context rather than as an attack signal.
Email headers contain metadata about email's journey from sender to recipient: Key header fields: (1) From: Display name and address (easily spoofed!), what user sees in mail client, not authenticated by default. (2) Return-Path: Where bounces go, indicates sending server, often different from "From" in phishing. (3) Received: Chain of mail servers that handled message, timestamped hops from sender to recipient, most reliable for tracing origin. (4) Authentication-Results: SPF/DKIM/DMARC check results, pass/fail for each mechanism, critical for detecting spoofing. (5) Message-ID: Unique identifier for email, format reveals sending system. (6) X-Originating-IP: Original sender's IP address, useful for geolocation and reputation checks. Security value: (1) Detect spoofing - "From" says CEO but Return-Path is suspicious external domain, authentication failures indicate forged sender. (2) Trace origin - Follow "Received" headers backwards to source, identify compromised mail servers, geolocate attacker infrastructure. (3) Identify phishing patterns - Free email services for business emails, mismatched domains, suspicious routing through unexpected countries. (4) Forensic analysis - Incident response investigations, evidence collection, attribution. (5) Validate legitimacy - Verify email came from claimed sender, check authentication pass rates. What attackers manipulate: Display name in "From" (easy), actual "From" address (harder, caught by DMARC), can't manipulate "Received" chain (added by infrastructure), can't forge DKIM signatures without private key. Use cases: Investigate suspicious emails before clicking links, verify wire transfer requests (CEO fraud), analyze phishing campaigns, compliance audits (email retention), troubleshoot delivery issues.
Validate SPF, DKIM, and DMARC email authentication records to prevent spoofing and improve deliverability
Paste a suspicious email and get an instant phishing risk score. Checks spoofed senders, deceptive links, lookalike domains, urgency tactics, and dangerous attachments — 100% in your browser.
Detect typosquatting, homograph attacks, and domain impersonation. Analyze domains for phishing and brand abuse with visual similarity scoring.
Instantly verify DNS records & email security settings: SPF, DKIM, DMARC, MX, A, AAAA, TXT, CNAME, NS, SOA. Free DNS diagnostics & troubleshooting.
Verify whether an email address is real and can receive mail. Checks syntax, MX records, disposable and role addresses, and probes the mailbox itself — then tells you if it is deliverable, risky, or undeliverable.