Email Header Analyzer
Trace where an email came from, and whether it is really from its sender.
Paste the full headers (or the whole message source). They are read in your browser; nothing is uploaded or looked up.
How to get the headers
- Gmail (in a browser): open the message, press ⋮ (More) next to Reply and choose Show original, then Copy to clipboard.
- New Outlook for Windows and Outlook on the web: More actions (…) at the top of the message → View → View message details.
- Classic Outlook for Windows: double-click the message to open it, choose File → Properties and copy the Internet headers box.
- Apple Mail: View → Message → All Headers.
- Yahoo Mail: More (…) → View raw message.
- Thunderbird: View → Message Source (Ctrl+U).
Authentication
Warning signs and checks
Sender and message
Delivery path
| Hop | From | To server | Protocol | Received (UTC) | Delay |
|---|
All authentication headers
Spam filter verdicts
All header fields
| # | Name | Value |
|---|
About the Email Header Analyzer
Email headers record a message’s journey: every server it passed through, and what your provider found when it checked who sent it. This analyzer reads them in your browser and puts them into plain language — the delivery path from the first server to your mailbox with the time each step took, the SPF, DKIM, DMARC and ARC results your provider recorded, and whether the From, Reply-To, Return-Path and Sender addresses agree.
It then points out the usual signs of a forged or phishing email: a display name that shows a different address, a sender domain that imitates a known brand or uses look-alike letters, replies that go somewhere else, failed or missing authentication, dates that do not fit the path, weak DKIM signatures, and the verdicts that Microsoft 365 and SpamAssassin wrote into the message. Nothing is uploaded or looked up: the headers stay on your device.
How to use it
- Open the email’s headers or source in your mail app (see How to get the headers under the box) and copy everything from the top.
- Paste it into the box, or open a saved .eml file. Only the header part is read; the body is ignored.
- Read the verdict, the authentication results and the warning signs.
- Open Delivery path to see which servers handled the message and where it waited.
- Copy or download the report, or follow the links to check the sender’s DMARC, SPF and DKIM records as they are today.
Examples
From: "PayPal Service <[email protected]>" <[email protected]> To: [email protected]
Signs of spoofing or phishing — the display name shows a different address, and the sender’s domain imitates PayPal
Many mail apps show only the name, and this name contains a fake address.
Authentication-Results: mx.example.com; spf=softfail smtp.mailfrom=example.net; dkim=none; dmarc=fail header.from=example.net From: Payroll <[email protected]>
Signs of spoofing or phishing — DMARC failed, SPF soft fail, not signed with DKIM
Neither SPF nor DKIM confirmed the From domain, so the sender could be anyone.
The “Normal example” button: a newsletter from example.org with DKIM, SPF and DMARC results and a List-Unsubscribe header
No obvious warning signs — DMARC passed (p=reject); 2 servers, 3 s from the Date header to the last server
Common uses
- Checking a message that claims to be from your bank, the tax department, a courier or your employer before you act on it.
- Finding out why an email arrived late, or which servers and services handled it.
- Checking that your own domain’s mail passes SPF, DKIM and DMARC at Gmail or Microsoft 365 after a DNS change.
- Triaging phishing reports in an IT or security team, and attaching a plain-text report to the ticket.
Reading the delivery path
Every mail server that handles a message adds a Received line at the top (RFC 5321, section 4.4), so the oldest is at the bottom. The analyzer turns them around and numbers the hops from the first server to your mailbox, with the time between steps; hop 1 is measured from the Date the sender wrote. Gaps of seconds or minutes are normal — queues, retries, greylisting and spam scanning take time — and a small negative delay usually means a server’s clock is off.
Only the Received lines added by your own provider, at the top, are certain. Anything below them was written by servers you cannot check — or by the sender, who can invent extra lines to make a message look as if it came from somewhere else.
SPF, DKIM, DMARC and ARC in plain words
- SPF (RFC 7208) asks the domain of the envelope sender (Return-Path) whether the server that delivered the message may send its mail. It says nothing about the From address you see.
- DKIM (RFC 6376) checks a signature that the domain in d= put on the message. A valid signature means the signed parts are unchanged since that domain sent it.
- DMARC passes when SPF or DKIM passed for a domain that matches the From address, so
dmarc=failmeans the From domain could not be confirmed. DMARC was defined in RFC 7489, which RFC 9989 replaced in May 2026. - ARC (RFC 8617) lets forwarders and mailing lists record the results they saw before they changed the message, so a later server can decide to trust them.
The results come from the Authentication-Results header (RFC 8601) that your provider added. Trust the topmost one, which starts with your provider’s name — mx.google.com at Gmail, for example; Microsoft 365 leaves the name out. Others further down were added by earlier servers or written by the sender, so they prove nothing.
Warning signs it looks for
- Display-name tricks: a name that contains an address or domain other than the real one, or a bank’s or brand’s name on a free webmail address.
- Look-alike sender domains: brand names with swapped letters (paypa1), extra words, letters from other alphabets and one-letter typos, checked with the Public Suffix List and Unicode’s confusables data (UTS #39).
- Address mismatches: Reply-To or Return-Path at another domain, several From addresses, or a Sender acting on someone’s behalf.
- Authentication: DMARC, SPF, DKIM or Microsoft’s composite authentication (compauth) failing, missing signatures, signatures that do not cover From, rsa-sha1 signatures (no longer allowed since RFC 8301) and l= signatures that cover only part of the body (RFC 6376, section 8.2).
- Path and dates: a Date after delivery or long before the first server saw the message, a Date or Received time stamp whose weekday does not fit the date (RFC 5322 requires them to match), steps without encryption, and a missing Date or Message-ID.
- Spam filter verdicts written into the message: Microsoft 365’s X-Forefront-Antispam-Report (category CAT, verdict SFV, safety tip SFTY) and bulk complaint level (BCL), as described in Microsoft Learn’s “Anti-spam message headers”, and SpamAssassin’s X-Spam-Status.
Is the email genuine?
If DMARC passed and the From domain is exactly the one you expect — read it letter by letter — the message really was sent through that domain’s mail system. That does not make it safe: an account at that company may have been hacked, and scammers send from their own, properly configured domains too. If the headers look clean but the message asks you to pay, log in, share an OTP or open an attachment, check through the company’s own app or website instead of the email.
Limitations
- The analyzer reads what the receiving servers recorded; it does not repeat the SPF, DKIM or DMARC checks, which need the original message and the DNS records at the time of delivery. The DMARC, SPF and DKIM checkers show the records as they are today.
- Alignment between domains is estimated with the Public Suffix List, as RFC 7489 did. RFC 9989 finds the organisation’s domain with DNS lookups instead; where the two disagree, the receiving server’s own DMARC result, which is shown, is the one that counts.
- Brand checks cover a short list of often-imitated names and their domains. A domain that is not on the list is not called fake, and one that imitates no brand can still be a scam.
- Header formats differ between providers, so unusual Received lines may be read only partly. Every field is listed in full under All header fields.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
Is it safe to paste email headers here?
Yes. They are read by JavaScript in your browser and are not uploaded, saved or looked up. Headers do contain your address and your provider’s server names, so check the report before you share it with anyone.
Where do I find the headers of an email?
In Gmail on a computer: ⋮ (More) → Show original. In new Outlook and Outlook on the web: More actions (…) → View → View message details. In classic Outlook for Windows: open the message, then File → Properties. In Apple Mail: View → Message → All Headers. In Yahoo Mail: More → View raw message. Most phone apps cannot show headers, so use a computer or the web version.
What does “DMARC fail” mean?
That neither SPF nor DKIM confirmed the domain in the From address. It is the strongest sign in the headers that the sender is not who they claim — unless the message was forwarded or passed through a mailing list, which can break both checks (ARC exists for that case). Whether it was rejected, sent to spam or delivered depends on the domain’s policy (p=none, quarantine or reject) and on your provider.
SPF passed — so the email is real?
Not necessarily. SPF checks the envelope sender (Return-Path), which can be a different domain from the From address you see, and a scammer can pass SPF for their own domain. DMARC is the check that ties SPF and DKIM to the From domain.
Can headers be faked?
Partly. Everything the sending side writes can be invented: From, Date, Message-ID and the Received lines added before the message reached your provider. The lines your provider added on top — its Received entries and its Authentication-Results — are reliable. That is why the analyzer uses the topmost Authentication-Results and points out any others.
Why does a hop show a negative delay or a long wait?
Each server stamps the time from its own clock, so a slightly wrong clock gives small negative values. Long waits come from queues, retries after a temporary failure, greylisting and spam scanning — or from a Date header set in the past.
What should I do with a phishing email?
Do not click its links, open its attachments or reply. Use your mail app’s Report phishing option, then delete it. If you already entered a password, change it on the real site; if you shared bank, card or UPI details or an OTP, call your bank at once. In India, report financial cyber fraud on the helpline 1930 or at cybercrime.gov.in.