Analyze email headers

See whether a message really came from who it says, and the path it took to reach you.

Stays in this browser

Your headers are analyzed in this browser only. They're never uploaded, stored or logged. The page has no server to send them to, and its security policy blocks all outgoing connections.

Stays in this browser. Headers are never uploaded or stored.

Paste the full header block. Including the message body is fine; it's ignored. How to copy headers

How to copy email headers

Headers are the technical lines at the top of every message. Your mail app hides them, but each one has a way to show the full set.

Gmail

  1. Open the message.
  2. Click More (the three dots) next to Reply.
  3. Choose Show original.
  4. Click Copy to clipboard, then paste here.

Outlook on the web and new Outlook

  1. Open the message.
  2. Select More actions (the three dots) at the top of the message.
  3. Choose View, then View message details.
  4. Select all the text in the window, copy it, then paste here.

Classic Outlook for Windows

  1. Double-click the message to open it in its own window.
  2. Choose File, then Properties.
  3. Click in the Internet headers box, press Ctrl+A, then Ctrl+C.
  4. Paste here.

How the analysis works

Every server that handles a message adds lines to the top of its headers, so the newest lines come first. The verdict uses the topmost Authentication-Results header: the one added by the server that finally received the message, such as your own provider.

Results further down were added earlier, often by the sender's own system before it signed the message. Microsoft 365, for example, records "dkim=none (message not signed)" before it adds the signature. Those earlier results are shown separately and don't affect the verdict.

The From address is authenticated only when SPF or DKIM passes for that same domain. That match is called alignment, and it's what DMARC checks.

Questions

Is it safe to paste email headers here?

The analysis runs in this browser, using the JavaScript on this page. Your headers aren't uploaded, stored or logged, and the page's Content Security Policy tells the browser to block every outgoing connection the page tries to make, so it has no way to send them anywhere. Two things are outside this page's control: browser extensions you've installed can read any page you open, and headers often contain names, email addresses and internal server names, so think before pasting them anywhere else.

Why can a message pass SPF but fail DMARC?

SPF checks the envelope sender, the address shown in Return-Path, not the From address you see. DMARC passes only when SPF or DKIM passes for a domain that matches the From domain, which is called alignment. A newsletter service, for example, can pass SPF for its own bounce domain while the From address shows yours. Unless it also signs the message with DKIM for your domain, DMARC fails.

Why does a real email fail SPF and DKIM after a security gateway?

Many organizations route incoming mail through a security gateway, such as Mimecast, Proofpoint, Barracuda, Cisco or Microsoft Defender, before it reaches the mailbox. The gateway then hands the message to the mailbox provider from its own servers. SPF at the mailbox provider checks the gateway's IP address, which isn't in the sender's SPF record, so SPF usually fails. If the gateway rewrites links or adds a warning banner, the message body changes and the sender's DKIM signature no longer verifies, reported as body hash did not verify. DMARC then fails too, even though the message was genuine. ARC (Authenticated Received Chain) is the fix: the gateway records the results it saw on arrival, and the mailbox provider checks that record. This page reports such a message as likely genuine only when it can trust the gateway's record: the final receiver reports arc=pass, or the final receiver's own headers show a known gateway handed the message over and that gateway's own result shows DMARC passing. Otherwise it keeps the failed verdict, because anyone can write a header that claims a gateway passed the message.

Is the earliest server IP the sender's own IP address?

Often not. Many large mail providers, Gmail among them, don't record the IP address of the sender's device in the headers, so the earliest public IP is usually one of the provider's servers. And any Received line added before the message reached your own mail provider can be written by the sender, so a forged one can point anywhere. Treat the IP as a lead, not proof.

What does dkim=none mean?

The receiving server found no DKIM signature to check. On its own that isn't proof of forgery, because some senders don't sign their mail. But without DKIM, DMARC depends on aligned SPF alone, and SPF often fails when mail is forwarded. If dkim=none only appears in earlier results added by the sender's own system, such as Microsoft 365 before it signs the message, it doesn't affect the verdict here.

Can email headers be faked?

Some of them. The sender controls From, Reply-To, Subject, Message-ID and any Received lines added before the message reached your mail provider. The lines your own provider adds when it receives the message, including its Authentication-Results, are the ones to trust. That's why the verdict here uses the topmost Authentication-Results header, and why a passing result still doesn't prove a lookalike domain is who it claims to be. See How to read email headers and spot a spoofed email.