Email Header Analyzer

Trace where an email really came from and whether it passed authentication.

Gmail: open the email → ⋮ → Show original. Outlook: ⋯ → View → View message source. Other apps. Analysed in your browser; nothing is stored.

An email header is the hidden record of an email's journey: every server it passed through, the sender's IP and the SPF, DKIM and DMARC results. Paste it here to trace the sender and spot spoofing. It's analysed in your browser.

How to View Email Headers in Gmail, Outlook and Apple Mail

In Gmail open the message › ⋮ › Show original; in Outlook open it › ⋯ › View › View message source.

  1. Open the email.
  2. Click ⋮ (More) next to the Reply arrow.
  3. Choose Show original.
  4. Click Copy to clipboard and paste above.
Where to find 'Show original' in Gmail and 'View message source' in Outlook.

How to Read an Email Header

Read the Received lines from bottom to top: the bottom one is closest to the sender, the top one is your own mail server.

Diagram: an email passes from the sender server 203.0.113.9 through a relay to your mail server; each adds a Received line on top, so headers are read from the bottom up
Each server stamps the top of the header: read it bottom-up. (Documentation addresses.)

Each server adds a Received line saying where it got the message from (with an IP in brackets), its own name and the time. The analyzer puts them in order, shows the time between hops and flags any hop slower than five minutes. The other lines you'll see: From (the visible sender, easy to fake), Return-Path (where bounces go), Reply-To (where your reply goes), DKIM-Signature (the signing domain d= and key selector s=) and Authentication-Results.

SPF, DKIM and DMARC Results Explained

SPF checks the sending server, DKIM checks a signature, DMARC checks that one of them matches the visible From domain.

Diagram explaining SPF (is the server allowed), DKIM (was the message changed) and DMARC (does it match the From address)
ResultWhat it means
passThe check succeeded.
failThe domain says this server or signature isn't valid: a strong warning.
softfail · neutralSPF: the domain doesn't vouch for this server, without forbidding it.
noneThe domain has no SPF, DKIM or DMARC record to check against.
temperror · permerrorA DNS error (temporary) or a broken record (permanent).

Trust only the top Authentication-Results. Your mail provider adds it when the email arrives, and its name (the authserv-id, such as mx.google.com) comes first. Lines lower down were added before, possibly by the sender, so the analyzer lists them as "earlier, not trusted". To check a domain's own setup, use the SPF checker and the TXT lookup for its DMARC and DKIM records.

Is This Email Fake? Signs of Spoofing and Phishing

A DMARC fail, a Reply-To to another domain or a lookalike sender domain are the classic signs of a spoofed email.

  • DMARC fail, or SPF and DKIM pass only for another domain (not aligned with From).
  • Reply-To goes elsewhere: you write to the "bank", your reply goes to someone else.
  • An address in the display name: "[email protected]" <[email protected]>.
  • Lookalike domains: international letters (punycode, xn--) or swapped characters.
  • The sending IP is a Tor exit, or on blacklists.

The analyzer lists these signs for the header you paste. They are signs, not proof: newsletters and forwarding often look odd but are real. If an email asks you to log in, pay or open an attachment and shows these signs, don't click; use your mail app's Report phishing button.

How to Trace an Email to Its Sender

The first public IP in the bottom Received line is usually the sender's server, not their home; webmail services like Gmail hide the user's IP.

From that IP you can see its network and country, whether it's on a blacklist, and who to contact about abuse (the analyzer links to each). Senders who use their own mail server, or a small provider, may reveal their real network. An IP leads to a provider, not a person: only the provider can say who used it, usually after a legal request.

How This Analyzer Works

WhereIn your browser (JavaScript). The header is never sent to our server.
Sent to usOnly the sending IP, to show its country and network (MaxMind GeoLite2, on our server) and to check our Tor and hosting lists. Nothing is stored.
AuthenticationRead from the top Authentication-Results (RFC 8601), as your mail provider recorded it; Received-SPF if there is none; ARC results for forwarded mail. Not re-checked.
AlignmentDMARC relaxed alignment (RFC 7489): organizational domain of From vs DKIM d= and SPF mail-from, using a short list of public suffixes.
FormatRFC 5322 header fields, unfolded; only the header block is read.
Last verified

Frequently Asked Questions

What is an email header?
The technical part of an email that lists its route (the Received lines), the sender addresses and the authentication results. Email apps hide it by default; it sits above the message text in "Show original".
How do I find the header in Gmail?
Open the email, click ⋮ (More) next to Reply, then Show original. Click Copy to clipboard and paste it here.
Can I find the sender's real IP address?
Often you find their mail server's IP. Gmail, Outlook.com and most other webmail services don't include the user's home IP, so for their users you only see the provider's servers.
What does "DMARC fail" mean?
Neither SPF nor DKIM matched the domain in the From address. The email may be spoofed, or the sender's setup may be broken; treat it with caution and don't click its links.
Is it safe to paste my email header here?
Yes. The header is analysed in your browser; only the sender's IP is sent to our server to look up its country and network, and nothing is stored. A header holds addresses and server names, not the message text.
Why are there several Authentication-Results lines?
Each server that checks the email can add one. Trust only the top one, added by your own mail provider: the lower ones were added earlier, possibly by the sender, and can be forged.

Next steps

Related Tools

IP Blacklist Checker
Is the sending IP on spam blacklists?
IP WHOIS Lookup
Who owns the sending server, and its abuse contact.
SPF Record Checker
Which servers a domain allows to send its mail.
TXT Lookup
A domain's DMARC policy and DKIM keys.
MX Lookup
The servers that receive a domain's email.

Related Guides

Guide What Is an IP Address?
What a sender's IP reveals, and what it doesn't.
Guide What Is a VPN?
Why a VPN or proxy changes the IP you see in a header.