Skip to main content

New

Test your email deliverability

Send a test email and get a complete diagnosis of your SPF, DKIM and DMARC authentication in seconds.

  • Real send test
  • Instant diagnosis
  • No signup required

Email Header Analyzer

Free message header analysis - Diagnose spam issues in 10 seconds

Why are your emails going to spam? This free email header analyzer (also called message header analyzer or RFC 822 parser) lets you view email source code and diagnose authentication failures. Paste your headers below to check SPF, DKIM, DMARC verdicts instantly.

Paste raw email headers (RFC 5322). Body is optional.

Max length: 64 KB0 / 65536 characters
Paste the headers of a received message to decode the participants, authentication verdicts and routing path.

Step-by-step guide

Extract headers from Gmail, Outlook or Apple Mail. Paste them in the tool. Get full diagnosis in seconds.

Complete authentication

Automatically check SPF, DKIM, DMARC and BIMI. Identify what's failing and why instantly.

Detailed anti-spam verdicts

Analyze scores and verdicts from Gmail, Microsoft 365 and other engines. Understand why your email is blocked.

Routing and servers

Trace the complete email path from sending server to recipient. Detect suspicious relays.

Anomaly detection

Automatically spot spoofing, failed DMARC alignments and invalid DKIM certificates.

Why analyze email headers?

Email headers (also called "message headers", "email source", "raw headers", or "original message") record every step of your message's journey: sending server, routing, security checks (SPF/DKIM/DMARC), anti-spam verdicts. This free message header analyzer (RFC 822 parser) lets you view and decode the email source code for a complete deliverability diagnostic. Without analysis, you're working blind.

Three main use cases:

  • Emails in spam → Discover if it's SPF, DKIM, DMARC or content
  • Email not delivered → Find where it stopped and why
  • Verify email authenticity → Detect phishing and spoofing attempts

How to use the analyzer in 3 steps

Step 1: Extract raw header

Gmail / Google Workspace:

  1. Open the email
  2. Click the 3 dots (⋮) → "Show original"
  3. Copy all text

Outlook / Microsoft 365:

  1. Open the email
  2. Click "Actions" (⋯) → "View message details"
  3. Copy the content

Apple Mail:

  1. Open the email
  2. Menu "Message" → "Show all headers"
  3. Copy the text

Step 2: Paste in analyzer

Paste the complete raw header in the form above. The tool automatically analyzes:

  • ✅ SPF, DKIM, DMARC, BIMI authentication
  • ✅ Anti-spam verdicts (Gmail, Microsoft, etc.)
  • ✅ Routing and intermediate servers
  • ✅ Anomalies and spoofing risks

Step 3: Read results

You get a clear report with:

  • Authentication status (pass/fail for each protocol)
  • Failure reason (if applicable)
  • Recommended actions to fix

What is an email header?

An email header (also called "message header", "email source code", "raw header", "original message") is the complete history of a message: who sent it, through which server, what checks were performed, and what verdict was issued. Knowing how to show original email in Gmail or view message source in Outlook helps you understand exactly what happened.

Unlike the email body (which you see), the header is immutable: it cannot be forged once sent. That's why security investigators and email administrators use it to verify email authenticity and identify phishing attempts.

Simplified example:

From: alice@captaindns.com
To: bob@captaindns.com
Date: 19 Jan 2026 10:30:00 +0000
Authentication-Results: pass spf=pass dkim=pass dmarc=pass
X-Spam-Score: 2.1 (LOW)
Received: from mail.captaindns.com (203.0.113.5) by mail.captaindns.com

What does the tool analyze exactly?

Email authentication (SPF, DKIM, DMARC, BIMI)

ProtocolChecksResult
SPFIs the sending server authorized?✅ Pass / ❌ Fail
DKIMWas the email modified in transit?✅ Pass / ❌ Fail
DMARCIs sender aligned with SPF/DKIM?✅ Pass / ❌ Fail
BIMIBrand logo authenticated?✅ Present / ❌ Absent

Anti-spam verdicts

The analyzer displays verdicts from:

  • Gmail (spam score, final verdict)
  • Microsoft 365 (Outlook, Exchange)
  • Other providers (detected in headers)

Routing and servers

Complete trace of email path:

  • Original sending server
  • Intermediate servers (relays)
  • Final receiving server
  • Delays and timestamps

Anomaly detection

The tool automatically flags:

  • ⚠️ Potential spoofing (From ≠ real domain)
  • ⚠️ Failed DMARC alignment
  • ⚠️ Invalid DKIM certificate
  • ⚠️ Suspicious routing (too many relays)

Why do my emails go to spam?

This is the most common question. Header analysis usually reveals one of these causes:

CauseWhat the header showsSolution
Failed SPFspf=fail or spf=softfailAdd the sending server to your SPF record
Invalid DKIMdkim=fail or dkim=noneConfigure or repair the DKIM signature
Failed DMARCdmarc=fail with p=reject or p=quarantineFix SPF/DKIM to align the domain
High spam scoreX-Spam-Score: 8.5 or similarReview content (links, images, keywords)
Blacklisted IPRBL or blocklist mentions in headersCheck your sending IP reputation

Tip: Paste your headers in the analyzer above to identify exactly which cause is affecting your emails.


Real-world use cases

Incident 1: All your emails land in spam

Symptom: You send newsletters, but 80% land in spam.

Diagnosis: Paste a spam email in the analyzer.

  • SPF = ❌ Fail → Your server is not authorized
  • DKIM = ✅ Pass
  • DMARC = ❌ Fail (SPF failed)

Action: Add your server to your SPF record.


Incident 2: A specific email doesn't arrive

Symptom: You send an important email, recipient doesn't receive it.

Diagnosis: Ask recipient to check headers.

  • Routing = ✅ Delivered to Microsoft
  • Verdict = ❌ Rejected by anti-spam filter
  • Spam Score = 8.5 (VERY HIGH)

Action: Check links, attachments, or content triggering the filter.


Incident 3: You suspect phishing

Symptom: An email claims to come from your bank, but something seems off.

Diagnosis: Paste header in analyzer.

  • From = noreply@captaindns.com
  • SPF = ❌ Fail (unauthorized domain)
  • DKIM = ❌ Fail (invalid signature)
  • DMARC = ❌ Fail

Conclusion: It's phishing. Email doesn't really come from your bank.


Incident 4: Forwarding fails

Symptom: You forward emails to a colleague, but they land in spam.

Diagnosis: Analyzer shows:

  • Routing = 3 servers (original → your server → colleague's server)
  • DKIM = ❌ Fail (signature broken after forwarding)
  • SPF = ✅ Pass (but DMARC fails)

Action: Configure DMARC with p=none or use ARC (Authenticated Received Chain).


FAQ - Frequently asked questions

Q: What exactly is an email header?

A: It's the complete history of an email: sender, recipient, servers crossed, security checks (SPF/DKIM/DMARC), anti-spam verdicts. The header cannot be forged.


Q: How do I extract headers from my email?

A: It depends on your client:

  • Gmail: Open email → 3 dots (⋮) → "Show original"
  • Outlook: Open email → "Actions" → "View message details"
  • Apple Mail: Menu "Message" → "Show all headers"

Q: Why does my email land in spam?

A: Most common reasons:

  1. Failed SPF: Your sending server is not authorized
  2. Invalid DKIM: Email was modified or signature is broken
  3. Failed DMARC: SPF or DKIM failed + domain not aligned
  4. Content: Suspicious links, attachments, or "spam" keywords
  5. Reputation: Your IP or domain has poor reputation

Q: What's the difference between SPF, DKIM and DMARC?

A:

  • SPF: "Who can send from my domain?" (whitelist of IPs/servers)
  • DKIM: "Was this email modified?" (cryptographic signature)
  • DMARC: "Are SPF and DKIM aligned?" (authentication policy)

Analogy: SPF = list of authorized couriers, DKIM = seal on package, DMARC = verify seal and courier match.


Q: Is the tool free?

A: Yes, the header analyzer is 100% free with no signup. Paste your headers and get instant results.


Q: Are my headers secure?

A: Yes. Headers never contain sensitive data (no passwords, no private content). They only contain technical information (servers, domains, verdicts). We don't store your data.


Q: What should I do after analysis?

A: It depends on results:

  • SPF failed → Add your server to your SPF record
  • DKIM failed → Check your DKIM key or regenerate it
  • DMARC failed → Configure DMARC with appropriate policy
  • High spam → Check content

Complementary tools

ToolPurpose
SPF InspectorVerify and fix your SPF record
DKIM InspectorValidate your DKIM signature
DMARC InspectorConfigure and test your DMARC policy
DNS Propagation CheckerConfirm your DNS records are propagated globally
IP Blacklist CheckerCheck if your IP is blacklisted
Domain Blacklist CheckerCheck if your domain is blacklisted

Useful resources