EMAIL TRACING

Email header analyzer: trace an email and check who sent it

Paste the full headers of any message to see the servers it passed through, how long each step took and whether SPF, DKIM and DMARC passed. Everything runs in your browser.

Paste the full email headers
Private by design: the headers are analyzed in your browser. Nothing you paste is uploaded or stored. Only if you click an IP address link does that single address go to our IP lookup page.
How to get them

Where to find the full headers in your email app

Email headers are the hidden lines at the top of every message. Your mail app hides them, but every app can show them.

Gmail

Open the message, click the three dots next to Reply and choose Show original. Choose Copy to clipboard, then paste here. Gmail already prints the SPF, DKIM and DMARC results at the top.

Outlook on the web

Open the message, choose the three dots, then View → View message details. Copy the text shown.

Outlook for Windows

Double-click the message to open it in its own window, then choose File → Properties. The headers are in the Internet headers box at the bottom.

Apple Mail

Select the message and choose View → Message → All Headers (or Raw Source for the complete message).

Yahoo Mail

Open the message, choose the three dots and pick View raw message.

Thunderbird

Select the message and press Ctrl+U (Cmd+U on Mac) to view its source, or use View → Headers → All.

Reading them

How to read an email header

Read the Received lines from the bottom up. Each mail server that handles a message adds a Received: line on top. The bottom one is the first server that took the message and the top one is the server that delivered it to you. The route table above puts them in that order for you and shows how long the message waited at each step.

Trust only the lines your own provider added. A sender can write anything into the lower Received lines before the message reaches your provider, so those can be forged. The topmost entries, added by your own mail server, and the authentication results it recorded are the reliable part.

What SPF, DKIM and DMARC results mean

CheckWhat it provesA pass means
SPFThe sending server's IP address is allowed to send for the domain in the hidden envelope sender (Return-Path).The server was authorised by that domain's SPF record.
DKIMThe message carries a cryptographic signature from a domain, and it was not changed on the way.The signing domain really signed this content.
DMARCThe domain in the visible From address lines up with an SPF or DKIM domain that passed.The visible From domain is backed by SPF or DKIM, and the domain's own policy is satisfied.

A message can pass SPF and DKIM and still be misleading, for example when a scammer uses their own domain that looks like a real one. Pay attention to the actual From domain, not just the pass marks. To check a domain's own setup use the SPF checker and MX lookup.

Tracing

Can you find where an email really came from?

Sometimes. The oldest Received line that contains a public IP address shows which server first handed the message to the mail system, and it is highlighted above. For a message sent from a mail program or an office server, that is often the sender's network. For webmail such as Gmail or Outlook.com, the address you find is normally the provider's server, not the person's home connection, because those services do not pass the sender's own IP address along.

You can look up any public IP address from the route table to see its country, network owner and ASN. That tells you whose network a message came from, not who the person was. IP geolocation is approximate and an address cannot identify an individual.

FAQ

Frequently asked questions

What is an email header?

It is the block of technical lines at the top of every message: who sent it, who it is for, which servers it passed through, when each one handled it and the results of authentication checks such as SPF, DKIM and DMARC. Your mail app normally hides it.

Is it safe to paste my email headers here?

The analysis runs in your browser and nothing is sent to our server or stored. Headers can still include email addresses and IP addresses, so avoid sharing them publicly. Remove anything you do not want to show before posting them elsewhere.

How do I trace an email to its sender?

Paste the full headers and look at the route table, which lists the servers oldest first. The first public IP address in the chain is the closest you can get to the origin. For webmail senders it points to the provider's server rather than the person.

What does SPF fail or softfail mean?

The server that sent the message is not on the sending domain's list of authorised servers. Softfail means the domain asks receivers to be suspicious rather than reject it. Forwarded mail often fails SPF for innocent reasons, so look at DKIM and DMARC too.

Can headers be faked?

Yes, the parts added before the message reached your provider can be. That is why the lines added by your own mail server and its authentication results are the ones to rely on.

Why is there a long delay between two hops?

Mail servers queue messages. A delay of a few seconds is normal. Minutes or hours can come from greylisting, a busy or temporarily unreachable server, or a scanning gateway. Negative delays mean the two servers' clocks disagree.