Email Header Analyzer
Paste an email's headers to see which servers it passed through, where it was delayed and whether SPF, DKIM and DMARC passed. The analysis runs in your browser, so nothing you paste is uploaded.
What this email header analyzer shows
Every email carries a block of headers above the text you read. They record who sent it, which servers passed it along and what the receiving system concluded about whether it is genuine. Raw headers are long and out of order, so the analyzer sorts them into a few views:
- Message summary: From, To, Subject, Date, the Return-Path used for bounces, the Reply-To address and the Message-ID, with encoded subjects and names turned back into readable text.
- Authentication: the SPF, DKIM and DMARC results recorded by the receiving server, and the domain each result is about.
- Delivery path: every server the message passed through, oldest first, with the time at each step and the delay since the one before. A step that held the message for more than a minute is highlighted.
- DKIM signatures and spam filter notes: the signing domain and selector of each signature, and spam scores where the receiving system added them.
- All headers: the complete list, in case you need one the summary leaves out.
From the results you can jump straight to the SPF checker, the DKIM checker with the right selector, the DMARC checker or a blacklist check of the sending server.
How to copy the full headers
| Mail app | Where to find the headers |
|---|---|
| Gmail on the web | Open the message, click the three-dot menu next to Reply, choose Show original, then Copy to clipboard. |
| Outlook on the web and new Outlook | Open the message, choose the three-dot menu, then View and View message details. |
| Classic Outlook for Windows | Open the message in its own window, then File, Properties. The headers are in the Internet headers box. |
| Apple Mail | Select the message, then View, Message, All Headers. Raw Source shows the complete message. |
| Thunderbird | Select the message and press Ctrl+U (Cmd+U on a Mac) to open the message source. |
| Yahoo Mail | Open the message, click the three-dot menu and choose View raw message. |
Copy the headers from the mailbox that received the message, not from your Sent folder. Sent copies have no Received lines from the other side and no authentication results.
How to read email headers: the Received lines
Each server that handles a message adds a Received line at the top of the headers. The newest step is therefore first and the oldest is last, which is why the analyzer turns the order around. A typical line says the message came from one server, was accepted by another, with a protocol, and ends with a time stamp. ESMTPS, or ESMTPSA when a login was also used, means the receiving server recorded an encrypted TLS connection for that step. Plain ESMTP or SMTP means it did not record one.
The delay column is the difference between two time stamps. A few seconds per step is normal. Several minutes usually point to a queue on a busy server, greylisting, where a receiver turns away the first attempt and waits for a retry, or a slow spam filter. Every server stamps the time with its own clock, so a step can now and then appear to take a negative amount of time. That is a clock running slightly off.
To see how this looks, press Load a sample above. The example message waits just over two minutes between mail.example.com and mx.example.net, and the analyzer marks that line.
How to find the sender's IP address
Look for the address your own mail provider recorded when it accepted the message. It usually appears after client-ip= in a Received-SPF line, as "sender IP is" in the Authentication-Results line that Microsoft adds, or in square brackets in the Received line where your provider took the message from an outside server. The analyzer picks it out and shows it as the sending server IP, with a link to check it against email blacklists.
Keep in mind what that address means. It belongs to the mail server that handed the message to your provider. For Gmail, Outlook.com or another hosted service it is the company's server, not the computer or phone of the person who wrote the email.
What the authentication results mean
| Result | Meaning |
|---|---|
pass | The check succeeded for the domain shown next to it. |
fail | The check failed: a server that is not authorised (SPF), a broken or forged signature (DKIM) or no aligned pass (DMARC). |
softfail | SPF only. The server is not listed, but the domain asked receivers to be lenient with ~all. |
neutral, none | The domain makes no statement, or publishes no record for this check. |
temperror, permerror | A temporary DNS problem, or a record that is broken and cannot be used. |
Trust only the results your own mail provider added. Everything below its lines was written before the message reached it, and a forger can put a fake Authentication-Results line there. The analyzer reads the topmost one, which in headers copied from your inbox comes from your own provider.
Signs of a spoofed or phishing email
- DMARC fails for a domain that normally passes, such as your bank or a large online shop.
- The Reply-To address is on a different domain from the sender, so your answer goes somewhere else. Newsletters and help desks do this legitimately, so treat it as a hint and not as proof.
- The display name and the address do not match, for example "PayPal Support" sending from a free mailbox.
- The Return-Path domain has nothing to do with the sender. Newsletter services do this too, so look at the DKIM and DMARC results before judging.
- The first server in the path belongs to a network you would not expect for that company. A blacklist check of its address can add context.
Your headers stay on your device
Headers contain email addresses, server names and IP addresses, so we built this tool to run entirely in your browser. The text you paste is read by the page's own script and is never sent to our server. The links to our other tools pass along only the domain or selector you click on.
Questions about email headers
Can email headers be faked?
Partly. The sender controls everything that exists before the message reaches your provider, including fake Received lines. The lines your own provider adds, and its Authentication-Results, are the part you can rely on.
What is the Return-Path in an email header?
It is the address bounces are sent to, taken from the envelope sender. SPF is checked against its domain. It can differ from the From address, especially for newsletters and billing systems.
Why are the times shown in UTC?
Each server stamps the time in its own time zone. Converting everything to UTC puts the steps on one clock, so the delays between them are correct.
Why don't I see any authentication results?
The headers were probably copied from a Sent folder or from a forwarded copy. Copy them from the original message in the receiving mailbox instead.
Is it safe to paste headers into this tool?
Yes. The analysis happens in your browser and nothing you paste is uploaded. You could disconnect from the internet after the page loads and it would still work.