Email Header Analyzer

Paste the raw headers of an email to review its delivery path and authentication results for phishing and mail-delivery investigations. Everything is processed locally in your browser — the headers are never uploaded.

Input

Processed locally in your browser. Nothing you paste is sent to any server.

Results

Overview

The Email Header Analyzer reads the raw headers of an email and shows who it claims to be from, the route it took through mail servers, and the SPF, DKIM, and DMARC results recorded by the receiving server. It is a tool for investigating suspected phishing and for working out why mail was delayed or rejected.

Everything is processed in your browser. The headers you paste are never uploaded, which matters because headers can contain internal hostnames, IP addresses, and recipient addresses.

How It Works

The tool splits the pasted text into headers (correctly handling continuation lines), pulls out the standard fields (From, To, Cc, Reply-To, Return-Path, Subject, Date, Message-ID, X-Originating-IP and the mail client), and parses each Received header into sending host, IP address, receiving host, protocol, timestamp and time zone. Mail servers add a new Received line at the top of the message as they handle it, so the tool reverses them to show the journey from origin to recipient.

SPF, DKIM and DMARC results are read from the Authentication-Results header (RFC 8601), which the receiving mail system adds after performing those checks. They are reported, not recalculated: recomputing them needs the original message and live DNS at the time of delivery. The tool also notes whether DKIM-Signature and ARC headers are present, and flags when the From, Return-Path and Reply-To domains differ.

How to Use the Email Header Analyzer

  1. In your mail client, open the message's full headers ("View original", "Show original", or "Message source"; the exact wording varies) and copy only the header block.
  2. Paste it into the box. Sample header loads a fictional example so you can see the output first.
  3. Press Analyze and review Message Information, Sender Information, Authentication, the Received chain, and the full technical header list.
  4. Use Clear to remove the pasted text when finished.

Worked Example

Reading the built-in sample header

The sample message in the tool (a fictional message from [email protected]) produces the following, computed by the same code the tool runs.

Input

[Sample header, 24 lines: Received x3, Authentication-Results, DKIM-Signature, From, To, Subject, ...]

Output

Subject:  Quarterly report attached
From:     "Jane Sender" <[email protected]>

SPF:   PASS
DKIM:  PASS
DMARC: PASS
DKIM-Signature headers: 1

Received chain (origin -> recipient):
  1. from internal-relay.example.net [203.0.113.5] by mail-server-2.example.net (ESMTP)  Mon, 5 Oct 2026 08:15:40 -0700 (PDT)
  2. from mail-server-2.example.net [198.51.100.22] by mx.google.com (ESMTPS)  Mon, 05 Oct 2026 08:15:41 -0700 (PDT)
  3. from null [n/a] by null (SMTP)  Mon, 5 Oct 2026 08:15:42 -0700 (PDT)

Three servers handled the message. The first hop is labeled a possible originating server: it is simply the earliest Received line, and the sender of a malicious message can insert false lines below the first server you trust. Treat the oldest hops with caution; the topmost lines, added by your own provider, are the most reliable.

SPF, DKIM and DMARC all read PASS here, meaning the receiving server found the message authorized and signed for example.net. That tells you the sending domain's authentication is aligned. It does not tell you the content is trustworthy: attackers also register domains and set up valid authentication for them.

Interpreting Results

PASS / FAIL / SOFTFAIL / NEUTRAL / NONE / TEMPERROR / PERMERROR
The receiving server's recorded result for each mechanism. FAIL and PERMERROR deserve attention; SOFTFAIL and NEUTRAL are weaker signals; NONE means no policy or signature was found; TEMPERROR is a transient DNS or processing problem.
Not reported
The headers do not contain a result for that mechanism, so none is shown rather than a guessed one.
From vs. Return-Path vs. Reply-To
The visible From address is what users see; Return-Path is the envelope sender that SPF checks; Reply-To is where replies go. Different domains are common for mailing lists and bulk senders but are a classic feature of spoofing.
Received hops
Each hop shows the host that handed the message on, its IP, the receiving host, protocol, and timestamp. Large time gaps between hops can show where delivery was delayed.

Troubleshooting

No Authentication-Results header.
Your mail provider may not add one, or you copied only part of the headers. Copy the entire block from the first line through the last header, before the message body.
The Received chain looks short or odd.
Some providers hide internal hops, and forwarding or mailing lists reset parts of the chain. Missing fields are left blank rather than guessed.
SPF fails for legitimate forwarded mail.
SPF checks the connecting server's IP against the original sender's policy, so plain forwarding commonly breaks it. See the SPF, DKIM and DMARC guide for why DKIM and ARC help here.
"The pasted text is too large".
The limit is 200,000 characters. Paste only the headers, not the message body or attachments.

Limitations and Accuracy

  • Header analysis alone cannot prove that a message is legitimate or malicious.
  • Authentication results are only as trustworthy as the server that wrote them. Rely on the Authentication-Results line added by your receiving provider, and be skeptical of any claimed results added elsewhere.
  • Received parsing is best-effort because servers format them differently; unrecognized parts are left empty.
  • DKIM signatures and SPF records are not verified, and ARC is only detected, not validated.

Data Handling

Runs in your browser. The headers you paste are parsed in your browser and are never uploaded or stored by this site.

Frequently Asked Questions

How do I find the headers in my email client?

Look for "Show original" (Gmail), "View message source" or "Internet headers" (Outlook, Thunderbird, Apple Mail). The wording varies by client.

Is the first Received line the attacker's IP?

Not necessarily. It is the oldest recorded hop, which may be an attacker-controlled system, a compromised host, a legitimate relay, or a forged line. Use it as a lead.

Can a PASS result still be phishing?

Yes. A PASS means the message is authorized for the sending domain, not that the domain is trustworthy. Look-alike domains can pass every check.