Email Header Analyzer |
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.
- Open the email.
- Click ⋮ (More) next to the Reply arrow.
- Choose Show original.
- Click Copy to clipboard and paste above.
- Open the email in Outlook on the web or the new Outlook app.
- Click ⋯ (More actions) at the top of the message.
- Choose View › View message source.
- Select all, copy, and paste above.
- Open the email in its own window (double-click).
- Go to File › Properties.
- Copy everything in the Internet headers box and paste above.
- Select the email.
- Choose View › Message › Raw Source (Option-Command-U).
- Copy the lines above the message text and paste above.
- Open the email.
- Click ⋯ (More) in the toolbar.
- Choose View raw message, copy and paste above.
- Select the email.
- Choose View › Message Source (Ctrl+U, or Command-U on a Mac).
- Copy the header lines and paste above.
The Gmail, Outlook and Apple Mail phone apps can't show headers. Open your webmail in a browser (in desktop mode on a phone, or on a computer) and follow the steps for your provider.
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.
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.
| Result | What it means |
|---|---|
pass | The check succeeded. |
fail | The domain says this server or signature isn't valid: a strong warning. |
softfail · neutral | SPF: the domain doesn't vouch for this server, without forbidding it. |
none | The domain has no SPF, DKIM or DMARC record to check against. |
temperror · permerror | A 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
| Where | In your browser (JavaScript). The header is never sent to our server. |
|---|---|
| Sent to us | Only 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. |
| Authentication | Read 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. |
| Alignment | DMARC relaxed alignment (RFC 7489): organizational domain of From vs DKIM d= and SPF mail-from, using a short list of public suffixes. |
| Format | RFC 5322 header fields, unfolded; only the header block is read. |
| Last verified |
Frequently Asked Questions
What is an email header?
How do I find the header in Gmail?
Can I find the sender's real IP address?
What does "DMARC fail" mean?
Is it safe to paste my email header here?
Why are there several Authentication-Results lines?
Next steps