Skip to main content
wp-config.org

Search tools

Email

Free email header decoder and analyser

Paste the full headers of an email to see where it really came from: every server it passed through and how long each one took, the SPF, DKIM, DMARC and ARC results, whether the domains line up for DMARC, and what Microsoft 365, SpamAssassin or Rspamd thought of it, in plain English.

  • Delivery path and delays
  • SPF, DKIM, DMARC and ARC
  • Spam scores decoded

Free, no sign-up. It runs in your browser: the headers you paste are never sent to this site or saved.

Nothing you enter leaves your browser.

This tool runs in your browser and needs JavaScript. Turn JavaScript on and reload the page.

Email header decoder

What you can do

  • Delivery path from the Received headers, with every hop’s delay

  • SPF, DKIM, DMARC, ARC and BIMI results explained

  • DMARC alignment of the From, SPF and DKIM domains

  • Display-name, Reply-To and Return-Path signals

  • Microsoft 365, SpamAssassin and Rspamd spam headers decoded

  • Runs in your browser: the headers are never sent or saved

How to decode email headers

  1. Copy the full headers

    Open the email on a computer and use your email program’s “Show original”, “View message details”, “All Headers” or “View source” option. The tool lists the steps for Gmail, Outlook, Apple Mail, Thunderbird and Yahoo Mail.

  2. Paste them and decode

    Paste everything into the box and press Decode headers. A whole message is fine: only the headers are read, and nothing leaves your browser.

  3. Read the path and the results

    Check the signals first, then the delivery path, authentication and sender. Copy a plain-text summary for your host or IT support, or check a sending server’s IP address in the IP lookup and blacklist checker.

What email headers tell you

Every email carries headers above the message: who it says it is from and to, the subject and date, and lines that each mail server adds as the message passes through. Most email programs hide them. They are the best record of where a message really came from and why it landed in the inbox, the spam folder or nowhere at all.

The delivery path

Each server that handles a message adds a Received header at the top (RFC 5321), with the server it came from, its IP address, the protocol and the time. Read from the bottom up, they show the route. The decoder works out the delay at each hop, marks delays over five minutes, and flags negative delays as clock differences between servers rather than pretending to know the exact time. A protocol such as ESMTPS means the connection used STARTTLS encryption; ESMTPA or ESMTPSA means the sender logged in.

Authentication

The receiving server records its checks in an Authentication-Results header (RFC 8601): SPF (was the sending server allowed to send for the envelope sender’s domain?), DKIM (does a cryptographic signature from the sending domain still check out?), DMARC (did SPF or DKIM pass for a domain that matches the From address?) and often ARC and BIMI. The top Authentication-Results header is normally added by your own provider and is the one to trust; lower ones were added along the way, and anyone could have written them.

DMARC needs alignment (RFC 9989): the domain that passed SPF or DKIM must be the From domain (strict) or share its organisational domain (relaxed, the default). A newsletter service that passes SPF for its own bounce domain but does not sign with your domain’s DKIM key fails DMARC. The decoder shows each domain, its result and both kinds of alignment.

Spam filter scores

Microsoft 365 writes its verdict in X-Forefront-Antispam-Report and X-Microsoft-Antispam: SFV (the spam filter verdict), CAT (the policy that applied), SCL and BCL. The decoder explains the fields Microsoft documents in Anti-spam message headers and lists the rest as written. It also reads SpamAssassin’s X-Spam-Status (score, threshold and the rules that matched) and Rspamd’s X-Spamd-Result and X-Rspamd-Action. Gmail does not document its own extra headers, so they are listed as written.

For WordPress sites

When mail from your WordPress site goes to spam, send yourself a test message (a password reset or a contact form entry), open its headers and paste them here. A Received header showing your web server sending it directly, an SPF softfail, or DKIM signed by your host’s domain instead of yours are the usual causes. The fix is almost always to send through an SMTP or email API service with an SMTP plugin from the plugin directory, then set up SPF, DKIM and DMARC for your domain with the Email DNS tool.

What it cannot do

The decoder reads what the servers wrote. It cannot verify a DKIM signature or an ARC seal itself, because that needs the signer’s public key from DNS and the tool never sends your data anywhere. Headers below the ones your provider added can be forged, so the findings are signals to check, not a verdict on whether a message is safe.

Frequently asked questions

Is it safe to paste my email headers here?

Yes. The headers are decoded in your browser and are never sent to this site or anyone else, not saved in your browser and not put in the page address. Closing the page or pressing Clear removes them. This page loads none of the site’s analytics or tracking scripts, and the site only counts that the tool was used, never what was pasted. The page also asks your browser not to translate the headers and results, because page translation sends the text to a translation service. The one thing that can leave the page is an IP address you choose to check: pressing “Look up this IP” or “Check blacklists” opens that tool on this site with just that address, and only public addresses get those buttons.

How do I find the full headers of an email?

In Gmail, open the email, select More (the three dots) and Show original. In Outlook on the web and new Outlook, select More actions, View, then View message details; in classic Outlook, open the email and select File, Properties. In Apple Mail choose View, Message, All Headers. In Thunderbird press Ctrl+U. In Yahoo Mail select More options and View Raw Message. Phone apps usually cannot show them, so use a computer.

Which Received header is the first server?

The bottom one. Each server adds its Received header above the others, so the top one is your own provider’s and the bottom one is closest to the sender. The decoder numbers them from the bottom, hop 1 being the first server.

Why does a hop show a negative delay?

Each server writes the time from its own clock, and some clocks are a little off. When a server’s time is earlier than the server before it, the delay comes out negative. The decoder marks it as a clock difference, not a real delay, and does not count it as slow.

SPF and DKIM pass, so why does DMARC fail?

DMARC needs SPF or DKIM to pass for a domain aligned with the From address. A mailing service often passes SPF for its own bounce domain and signs with its own DKIM domain, which does not match yours. Set up DKIM signing with your own domain at the service, and check your records in the Email DNS tool.

Can the decoder tell me if an email is a scam?

Not on its own. It shows signals worth checking, such as a display name that shows a different address, replies going to another domain, or failed DMARC, and explains what each means. Many genuine messages trigger some of them, and the headers below your provider’s can be forged. If in doubt, contact the sender another way, not through the message.

What do SCL, BCL and SFV mean in Microsoft 365 headers?

They come from Microsoft 365’s spam filter. SFV is the verdict (NSPM is not spam, SPM is spam, SKA and SFE mean filtering was skipped because of an allow list), CAT is the policy that applied, BCL rates bulk mail from 0 to 9 by how many complaints the sender gets, and SCL is the spam confidence level, which Microsoft says no longer decides the verdict in Microsoft 365. The decoder explains each documented value.

Related tools

  • Email DNS

    New (added recently)

    Build and test MX, SPF, DKIM, DMARC, MTA-STS and BIMI records, with the exact values for Google Workspace, Microsoft 365 and over 25 email services.

  • Blacklist checker

    New (added recently)

    Check whether an IP address or a domain’s website and mail servers are on spam blocklists, with what each listing means and how to get removed.

  • IP address lookup

    New (added recently)

    Look up an IP address or host name: approximate location, network operator (ASN), registry owner and abuse contact, and reverse DNS.

  • Look up DNS records and check SPF, DMARC, DKIM and DNSSEC.