Home › Developer Tools › Email Header Analyzer

Email Header Analyzer

Paste the raw headers of an email to trace the path it took, see how long each server held it, and read the SPF, DKIM and DMARC verdicts in plain words. Everything is parsed in your browser; nothing is uploaded.

Last updated:

Parsed locally in your browser. Nothing is uploaded.

Paste headers above and click Analyze headers, or try the .

Advertisement
Advertisement

How to use the Email Header Analyzer

  1. Copy the raw headers. Gmail: open the message, ⋮ menu, Show original. Outlook: File, Properties, Internet headers (or ⋯ View, View message source on the web). Apple Mail: View, Message, All Headers.
  2. Paste them into the box, or open a saved .eml file. Pasting the whole message source is fine: only the headers are read.
  3. Click Analyze headers to see the summary, authentication results and warnings.
  4. Follow the hops from the sender to your mailbox; long delays show which server held the message.
  5. Check the flags: failing DMARC, a different Reply-To or an unexpected sender domain are common signs of phishing.

Important email headers

HeaderAdded byWhat it tells you
ReceivedEvery mail server on the wayWhich server passed the message to which, with what protocol, and when. Newest first.
Authentication-ResultsThe receiving providerSPF, DKIM and DMARC verdicts (RFC 8601). The topmost one is the most trustworthy.
Received-SPFThe receiving serverThe SPF result and the client IP that was checked
DKIM-SignatureThe sending domain or serviceSigning domain (d=), selector (s=), algorithm (a=) and signed header list (h=)
Return-PathThe final server, from the SMTP MAIL FROMWhere bounces go; the domain that SPF checks
From / Reply-To / SenderThe sender's mail programThe visible author, where replies go, and who sent on the author's behalf
Message-IDThe first mail server or clientA unique ID, useful for finding the message in server logs
ARC-*Forwarders and mailing listsAuthenticated Received Chain: preserves authentication results across forwarding

How delays are calculated

Every Received header ends with a timestamp after the last semicolon. The analyzer converts each one to UTC using its timezone offset, puts the hops in delivery order (bottom header first) and subtracts consecutive times. The first delay is measured from the message's Date header, which is set by the sender's computer or app. Delays of a few seconds are normal; minutes usually mean greylisting, a busy spam filter or a queue on a sending service; hours often mean the sending server retried after a temporary error.

Spotting a phishing email from its headers

  • DMARC fail for a well-known brand domain is a strong warning sign.
  • Reply-To on a different domain from the From address, especially a free webmail address.
  • A display name with an email address in it, such as "[email protected]" <[email protected]>.
  • An origin IP or first hop that has nothing to do with the claimed sender.
  • Look-alike domains in From or Return-Path (rn instead of m, extra hyphens, unusual top-level domains).

To see what a domain allows, check its published policy with the SPF Record Checker or look up its _dmarc TXT record with the DNS Lookup.

Frequently asked questions

What are email headers?

Headers are the lines at the top of every email message: who sent it, who it is for, the subject and date, plus technical lines added by each server on the way, such as Received, Authentication-Results and DKIM-Signature. Mail programs hide most of them, but you can view the full source.

How do I read the Received headers?

Each server that handles a message adds a Received line at the top, so the newest hop is first. Reading from the bottom up shows the path from the sender to you. This tool reverses them and calculates the time between hops from their timestamps.

How can I find the sender's IP address?

Look at the oldest Received header that shows a public IP address: that is usually the server or device that handed the message to the first mail server. Webmail services such as Gmail and Outlook.com hide the end user's IP, so you normally see the provider's server instead.

What does it mean if DMARC fails?

DMARC fails when neither SPF nor DKIM passes for a domain that matches the visible From address. It often indicates spoofing, but it can also happen with forwarded mail or a misconfigured mailing service. Treat the message with caution, especially if it asks you to click links or pay.

Why is the Return-Path different from the From address?

Newsletters and transactional email services often use their own bounce domain in the Return-Path so they can process bounces. That is normal if DKIM passes with your sender's domain. A mismatch plus a failing DMARC result is a warning sign.

Why do hop delays show negative or odd values?

Delays are computed from clocks on different servers. If one server's clock is wrong or a header has no timezone, the difference can be slightly negative or too large. Small negative values are usually clock drift, not a problem.

Are my headers sent to a server?

No. The headers are parsed entirely with JavaScript in your browser. Nothing is uploaded or stored, so it is safe to analyze private messages.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.EML to PDFConvert .eml emails to PDF with sender, recipients, date, formatted body, images and attachments.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.MSG to PDFConvert Outlook .msg emails to PDF with headers, formatted body, images and attachment list.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.NS LookupFind a domain's authoritative nameservers with their IPs, SOA record and DNS hosting provider.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.
See all 52 Network, DNS & Email Tools →