Email Header Analyzer
Parse email message headers to trace routing and authentication
About
Paste a block of email message headers to decode them. Shows key fields (From, To, Subject, Date, Message-ID), the Received hop chain (in delivery order, newest first), and SPF/DKIM/DMARC authentication results from Authentication-Results. Everything runs in your browser; nothing is uploaded.
Examples
Analyze headers from a phishing-suspect email
From: support@paypa1.com
To: user@example.com
Subject: Verify your account
Date: Mon, 1 Jan 2024 09:00:00 +0000
Message-ID: <abc123@mail.paypa1.com>
Authentication-Results: mx.example.com;
spf=fail (sender SPF failed) smtp.mailfrom=paypa1.com;
dkim=fail (signature not valid);
dmarc=fail (domain alignment failed)From: support@paypa1.com (note: paypa1.com — typosquatting)
Subject: Verify your account
Date: 2024-01-01 09:00:00 UTC
Message-ID: <abc123@mail.paypa1.com>
SPF: FAIL (mismatch)
DKIM: FAIL
DMARC: FAIL
Risk: High — all three auth mechanisms failed; sender domain is typosquatting PayPalAll three authentication mechanisms failing, combined with a typosquatted domain (paypa1.com vs paypal.com), is a strong indicator of a spoofed phishing message.
Trace the Received hop chain
Received: from mail.example.com (mail.example.com [203.0.113.1])
by mx.recipient.com with ESMTPS id abc123
(version=TLS1_3...); Mon, 01 Jan 2024 10:00:00 +0000
Received: from client (192.0.2.1) by mail.example.com
with SMTP id xyz789; Mon, 01 Jan 2024 09:00:00 +0000Hop 1 (newest): mail.example.com → mx.recipient.com (ESMTPS)
Hop 2: client (192.0.2.1) → mail.example.com (SMTP)
Path: client → mail.example.com → mx.recipient.comThe Received headers are parsed newest-first, showing the path from the sender's client through their mail server to the recipient's mail server.
About this tool
Email headers are the metadata that controls how an email is routed and authenticated — From, To, Subject, Date, Message-ID, and the Received hop chain that traces the email's path through every mail server. They are also where SPF, DKIM, and DMARC authentication results live, giving you evidence about whether a message is genuine or spoofed.
This analyzer parses pasted RFC 5322 email headers, unfolding continuation lines (lines starting with whitespace are joined to the previous line) and stopping at the first blank line which marks the end of the headers. It surfaces the key structured fields, the Received chain in order (newest first), and SPF/DKIM/DMARC results from the Authentication-Results header.
How to use this tool
Paste email headers
Paste the full headers from an email — in Gmail, click 'Show original'; in Outlook, open the message properties. Stop at the first blank line (the body separator).
Read the parsed fields
The tool shows From, To, Subject, Date, Message-ID, and all other structured headers, followed by the Received hop chain newest-first.
Check authentication results
SPF, DKIM, and DMARC pass/fail/none results are extracted from the Authentication-Results header and displayed with a clear status badge.
Use cases
Investigating a suspicious email
Check the From address, authentication results, and Received chain to determine whether an email is likely genuine or a spoofing/phishing attempt.
Debugging email delivery issues
Look at the Received chain to see where an email went wrong — a missing hop or an unexpected server indicates a routing problem.
Verifying SPF/DKIM/DMARC for your own domain
Send a test email to yourself, inspect the headers, and confirm all three auth mechanisms pass so you know your mail server is configured correctly.
Common mistakes
Mistake:Trusting the From address without checking authentication.
Fix:The From header is trivially spoofed. Always check the SPF, DKIM, and DMARC results in Authentication-Results — all three should pass for a trustworthy message.
Mistake:Not checking the Received chain for anomalies.
Fix:Each Received header is added by a mail server and includes its IP address. An unexpected server in the chain can indicate a man-in-the-middle or relay misconfiguration.
Mistake:Misreading the newest-first Received order.
Fix:The most recent Received header (added by the last mail server before delivery) appears first in the list. Older hops are further down. Trace backwards from the top to follow the path.
Frequently asked questions
What email clients does it support?
Any client that exposes raw headers. In Gmail, click 'Show original'; in Outlook, open message properties; in Apple Mail, view the raw source. Paste the headers starting from the first Received or From line.
How does it parse the Received hop chain?
Each Received header is a separate hop added by a mail server. The tool parses them newest-first (the last server to touch the message is listed first) and shows the server name, IP address (if present), and timestamp.
What do SPF, DKIM and DMARC results mean?
SPF checks whether the sender's mail server is authorised for the From domain. DKIM verifies a cryptographic signature on the message body. DMARC ties the two together with policy enforcement. Pass on all three means the message is likely genuine; fail on any is a warning sign.
Is my email data uploaded anywhere?
No. All parsing runs entirely in your browser; the pasted headers are never transmitted or stored.
Related guides
References & standards
Related tools
API Mock Server
Define mock REST routes and intercept fetch calls client-side
Bandwidth Calculator
Estimate how long a file takes to transfer at a given connection speed — correctly handling bits vs bytes (Mbps vs MB/s) and SI vs binary size units
Broken Link Checker
Extract http(s) links from pasted HTML and check them via proxy
cURL to Code Converter
Convert cURL commands to code snippets in multiple languages. Parse cURL and generate JavaScript, Python, PHP, and more.
DNS Lookup Tool
Query DNS records and resolve domain names to IP addresses
DNS Propagation Checker
Compare DNS answers from global public resolvers and see propagation consensus instantly