# Email Header Analyzer

> Analyze email headers: SPF, DKIM and DMARC results, From alignment, each server hop with delays, spam scores and unsubscribe headers. Runs in your browser.

- URL: https://www.emailutils.dev/tools/email-header-analyzer/
- Published: 2026-11-26
- Updated: 2026-11-27

---

Paste raw headers to see SPF, DKIM, DMARC, the route and every delay. Your file is processed in this tab and isn’t uploaded to our servers. Headers you paste stay in the tab too, and are never put in the page address. Free on emailutils.dev, no account needed.

## How to use Email Header Analyzer

1. Open the message in your mail app and copy its full headers. Gmail: ⋮ → Show original. Outlook: File → Properties → Internet headers. Apple Mail: View → Message → All Headers.
2. Paste them into the box, or drop a saved .eml file. Pasting the whole message is fine: everything after the first blank line is ignored.
3. Read “What we found” first: SPF, DKIM and DMARC results, whether they align with the From domain, delays, spam verdicts and unsubscribe headers.
4. Scroll down for the authentication table, the hop-by-hop route with timestamps, spam-filter headers and the full header list.

## Features

- Reads the receiving server’s Authentication-Results header and explains each SPF, DKIM and DMARC result in plain English.
- Works out DMARC alignment from the headers: whether SPF’s envelope domain or a passing DKIM signature matches the From domain.
- Rebuilds the Received chain oldest-first, with each server, IP, protocol, time and the delay between hops; waits over five minutes are highlighted.
- Decodes encoded subjects and names (=?UTF-8?B?…?=), and surfaces SpamAssassin and Microsoft (SCL) spam verdicts.
- Checks List-Unsubscribe and List-Unsubscribe-Post for the one-click unsubscribe Gmail and Yahoo require on bulk mail.
- Accepts a dropped .eml file and reads only the start of it, so large messages with attachments open instantly.

## About Email Header Analyzer

Every email carries a block of headers above the message: who it’s from, the subject, and a trail of technical fields that servers add as the message travels. Each server that handles it adds a **Received** line at the top, so the bottom one is the first hop and the top one is your own provider. The receiving server also adds **Authentication-Results**, recording whether SPF, DKIM and DMARC passed. Those two fields answer most questions: where a message really came from, why it was slow, and why it landed in spam.

The result that matters most for deliverability is **DMARC alignment**. SPF checks the envelope sender (Return-Path), which bulk services often set to their own domain, and DKIM checks whichever domain signed the message. DMARC passes only if one of those passes *and* matches the domain in the From line (relaxed alignment allows subdomains, so bounce.example.com aligns with example.com). A message can show `spf=pass` and `dkim=pass` and still fail DMARC because both passed for the sending service’s domain. The fix is in your sending service: set up a custom return-path or DKIM on your own domain.

Treat headers with some suspicion. Anything below the first server you trust can be forged, so read the Authentication-Results added by your own provider (the first one in the list), not ones further down. Copy headers from the received message, not your Sent folder: the sent copy has none of the receiver’s results. To check the DNS side of the same domain, run the [DMARC checker](/tools/dmarc-checker/).

## Specs

- Runs: in the browser tab
- Built on: JavaScript in the browser
- Cost: free, no account needed
- Reads: Authentication-Results, ARC, DKIM-Signature, Received, List-Unsubscribe, X-Spam-*, SCL
- Input: Pasted headers or an .eml file (first 512 KB read)
- Category: [Message testing](https://www.emailutils.dev/categories/message-tests/)

## Questions

### How do I view email headers in Gmail?

Open the message, click the three-dot menu next to Reply, and choose Show original. Gmail shows the SPF, DKIM and DMARC results at the top and the full headers below; click Copy to clipboard and paste them here.

### How do I view email headers in Outlook?

In classic Outlook for Windows, open the message, then File → Properties and copy the Internet headers box. In new Outlook and Outlook on the web, open the message, click the ⋯ menu, then View → View message source (or View message details).

### Why does DMARC fail when SPF and DKIM pass?

Because they passed for a different domain than the one in From. Email services often send with their own return-path and DKIM domain. DMARC needs at least one to match your From domain, so set up custom DKIM (and ideally a custom return-path) on your own domain in the sending service.

### How do I tell where an email really came from?

Look at the oldest Received hop that was added by a server you trust, usually the one just below your own provider’s, and its IP address. The From line can say anything; the Received chain and the SPF result show which server actually handed the message over.

### Why was my email delayed?

Compare the times between hops. A long gap at the first hop usually means the sender’s queue or a scheduled send; a gap at the receiving server often means greylisting (a temporary rejection the sender retries later) or a security gateway scanning attachments.
