Email Header Analyzer
Paste any raw email header to get a complete, human-readable analysis. Our email header analyzer decodes the sender (From, To, Subject), traces the delivery path through the Received chain, and displays SPF, DKIM, and DMARC authentication results. Perfect for email forensics, delivery troubleshooting, and verifying email authenticity - all processing happens locally in your browser with no data uploads.
Paste the raw email headers from any email to get a complete, human-readable analysis. The parser extracts sender and recipient info, traces the delivery path through every Received hop, and displays SPF, DKIM, and DMARC authentication results. All processing happens locally in your browser.
Paste raw email headers above to analyze
Click an example preset to get started, or paste headers from Gmail, Outlook, or any email client
Why Use Our Email Header Analyzer?
Complete Header Parsing
Paste any raw email header and get a fully structured breakdown. The email header analyzer extracts and decodes all major headers including From, To, Subject, Date, Message-ID, Return-Path, MIME-Version, Content-Type, and more - with automatic RFC 2047 encoded-word decoding.
Delivery Path Timeline
The Received chain is parsed into a visual timeline showing every hop your email took from sender to inbox. Each hop displays the sending server (from), receiving server (by), protocol used (ESMTP, SMTP), and exact timestamp - making it easy to trace delivery delays and routing issues.
Authentication Results Decoded
SPF, DKIM, DMARC, and ARC authentication results are extracted and displayed with clear pass/fail/neutral badges. The analyzer parses Authentication-Results, DKIM-Signature, and Received-SPF headers to show domain verification, signature status, and policy compliance.
100% Local Processing
Your email headers never leave your device. Everything is processed locally in your browser using pure JavaScript - no data is uploaded, no logs are stored, and no server-side processing occurs. Completely safe for analyzing sensitive email headers from personal or business correspondence.
Common Use Cases for Email Header Analyzer
Email Forensics & Investigation
When investigating suspicious emails, paste the headers into the analyzer to trace the actual delivery path and verify authentication results. Compare the claimed sender domain against SPF/DKIM/DMARC results to detect spoofing and impersonation attempts.
Email Delivery Troubleshooting
If legitimate emails are not arriving or being marked as spam, analyze the headers to identify issues. Check for SPF alignment failures, missing DKIM signatures, or DMARC policy violations that might cause email rejection or spam classification.
Phishing Detection
Use the analyzer to examine email headers from suspicious messages. The tool highlights authentication failures (SPF fail, DKIM fail, DMARC fail) which are strong indicators of phishing attempts, even when the display name looks legitimate.
Email Server Configuration Testing
When configuring a new email server or changing SPF/DKIM/DMARC records, send test emails and analyze the headers to verify that authentication is set up correctly. Confirm that SPF passes, DKIM signatures are valid, and DMARC policies are being applied.
Learning Email Protocols
Use the analyzer as an educational tool to understand how email delivery works. Trace the Received chain to see how emails hop between servers, learn what each header means, and understand how SPF, DKIM, and DMARC work together to authenticate messages.
Bulk Email Campaign Analysis
Marketing and newsletter teams can analyze email headers to verify that their sending infrastructure is properly configured. Check that DKIM signatures are present, SPF is aligned, and DMARC policies are followed for better inbox delivery rates.
Understanding Email Headers
What are Email Headers?
Email headers are metadata lines at the top of every email message that contain routing information, authentication details, and message metadata. Each header follows the format Header-Name: value. Headers are added by the original email client and by every mail server that processes the message along its delivery path. Key headers include From (sender), To (recipient), Subject, Date, Message-ID (unique identifier), Received (each server adds one), and authentication headers like SPF, DKIM, and DMARC results.
How Our Email Header Analyzer Works
- Parse and unfold: The raw header text is first unfolded by joining continuation lines (lines starting with whitespace) with their parent. Each header line is then split at the first colon to extract the header name and value.
- Categorize and decode: Each header is categorized by type (identity, metadata, content, delivery, auth, or received). Identity and metadata headers with RFC 2047 encoded words (e.g., =?UTF-8?B?base64?=) are automatically decoded into readable text.
- Trace the delivery path: Received headers are parsed in reverse order to create a chronological delivery timeline. Each hop is decomposed into its components: the sending server (from), receiving server (by), protocol (with), and timestamp.
- Extract authentication results: The Authentication-Results header is parsed to extract SPF, DKIM, DMARC, and ARC results with their domains and pass/fail status. DKIM-Signature and Received-SPF headers are also examined for additional authentication data.
Key Email Authentication Standards
- SPF (Sender Policy Framework): Verifies the sending server IP is authorized by the domain owner. Published in DNS TXT records. Results: Pass (authorized), Fail (not authorized), Neutral (no policy), Softfail (temporary).
- DKIM (DomainKeys Identified Mail): Uses public-key cryptography to sign email headers and body. The signature is verified against a public key published in DNS. A Pass result ensures the email was not modified in transit.
- DMARC (Domain-based Message Authentication): Tells receiving servers what to do when SPF and/or DKIM fail. Policies: None (monitoring only), Quarantine (send to spam), Reject (block the email). DMARC helps prevent domain spoofing.
- ARC (Authenticated Received Chain): Preserves email authentication results across intermediate forwarding services (like mailing lists) that might break SPF or DKIM validation.
Privacy, Security & Availability
Your privacy is our priority. The Email Header Analyzer processes everything locally in your browser using pure JavaScript. Email headers you paste are never uploaded, stored, logged, or transmitted to any server. This means you can safely analyze sensitive email headers from personal or business correspondence, including authentication credentials and delivery path details, without any privacy concerns. The tool is completely free, with no signup, no API keys, and no usage limits - available whenever you need it for email forensics, delivery troubleshooting, or security analysis.
Related Tools
DKIM Record Checker
Look up DKIM records for any domain and selector. Validates public key format, key type, and cryptographic strength - free online DKIM record checker.
MTA-STS Checker
Check MTA-STS records for any domain. Validates DNS TXT record and fetches policy file. Shows mode, MX patterns, and security status - free online MTA-STS checker.
DNS Blacklist Checker
Check if a domain or IP is listed on 9 major DNS-based blacklists via DNS-over-HTTPS. Instant results with detailed explanations - free online DNS blacklist checker.
Certificate SANs Extractor
Paste any PEM certificate to extract all Subject Alternative Names. Shows DNS names, IPs, emails, and URIs with colour-coded badges - free online SANs extractor.