Email Header Analyzer (Check for Spoofing and Phishing — Read SPF, DKIM and DMARC Results and the Delivery Route)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Paste the header of an email you received (the part you can view with “Show original”, “View message source” or “Internet headers” in your mail app), and this tool explains whether the sender was spoofed and which servers the message passed through. Use it when you are unsure whether a message claiming to come from a bank, an online shop or a delivery company is genuine, when an employee reports a suspicious email, or when you want to find out why a message arrived late.
It puts the SPF, DKIM and DMARC verdicts recorded by the receiving server in a table and flags suspicious signs such as a display name that contains a different address, a free-mail Reply-To address and internationalized domain names. The Received headers are re-ordered from oldest to newest, showing the sending IP address, whether the hop was encrypted, and the time spent on each hop. Encoded words such as =?ISO-2022-JP?B?…?= in the subject and sender name are decoded. All processing happens entirely in your browser (no data is sent).
A step-by-step article (in Japanese) walks through a spoofed example and a genuine one.
Paste a header to analyze it
Analysis results
Paste an email header and the results will appear here.
How to show an email's header
The sender name and the “from” field you see on screen can be written freely by whoever sends the message. What you can rely on are the records added by the receiving servers, and those are visible only when you display the header. In the main mail apps:
- Gmail (browser) Open the message, choose “⋮” (More) at the top right, then “Show original”. On the page that opens in a new tab, click “Copy to clipboard” and paste it here. Even if you paste the summary table at the top as well, the tool finds where the header starts.
- Outlook (classic Windows version) Double-click the message to open it in its own window, then choose File → Properties. The header appears in the “Internet headers” box at the bottom. Press Ctrl+A and Ctrl+C inside the box to copy it.
- Outlook on the web / new Outlook Open the message, choose “…” at the top right, then View → View message details.
- Thunderbird Select the message and open View → Message Source (Ctrl+U).
- Mail on a Mac Select the message and choose View → Message → All Headers. A file saved with File → Save As in the “Raw Message Source” format can also be loaded.
Most mail apps on iPhone and Android cannot show headers. Open the same mailbox in a browser on a computer instead. Outlook .msg files use a proprietary format and cannot be loaded; save the message in .eml format or copy and paste the header.
How to read the results
The DMARC result is the key to spotting spoofing
SPF checks whether the sending server is authorized by the domain, and DKIM checks whether the domain's digital signature is valid and the message was not altered on the way. However, the domain each check examines is not necessarily the From address shown on screen. A fraudster can pass SPF and DKIM with their own domain and still put a bank's address in From.
DMARC checks whether the domain that passed SPF or DKIM belongs to the same organization as the From domain, and fails the message if it does not. So to know whether the From domain was forged, look at the DMARC result. A DMARC result of fail means the message could not be shown to have the right to use the From domain — the typical result for a spoofed email.
Passing DMARC does not mean a message is safe
DMARC only guarantees that “the From domain is genuine.” If a fraudster sends from a look-alike domain they registered themselves, such as mirai-bank-login.example, every authentication check passes. Look at the “Sender domain” in the results and confirm that it matches, character for character, the domain listed on the organization's official website. For internationalized domains that start with xn--, the tool shows a caution, because they can imitate Latin letters with other characters.
Display-name and Reply-To tricks
Because the display name can be anything, some messages put a genuine-looking address inside it, as in "Mirai Bank support@mirai-bank.example" <info@other.example>. Many phones show only the display name, so the message looks as if it came from the real address. Others set Reply-To to a free-mail address such as Gmail, so that a reply goes to someone else. This tool warns about both.
On the other hand, it is common for legitimate mail sent through an email delivery service to have a Return-Path (the bounce address) in a different domain from the sender, so it is shown for reference only.
Delivery route and the sending IP address
Each time a message is handed to a server, the receiving server adds a Received header at the very top. This tool re-orders them from the bottom up (oldest first) and calculates how many seconds each hop took. When a message arrived late, the hop with the largest elapsed time shows which server held it up.
The older Received headers added on the sender's side can be forged. The sending IP address is therefore taken first from the IP address the receiving server used for the SPF check (written in Authentication-Results or Received-SPF). Addresses used inside company or home networks, such as 10.x.x.x and 192.168.x.x, are labeled “private” and are not treated as the sender.
Notes
- This tool reads and explains the verdicts that the receiving server wrote in the header. It does not query DNS to re-verify SPF, DKIM or DMARC (so that no data leaves your browser).
- The verdict is only a guide to whether there are suspicious signs. Some fraudulent emails pass authentication, and some genuine emails fail because of configuration mistakes. Before you open a link, or enter payment or personal information, confirm through another channel such as the official website, the official app or a phone call.
- The check for whether a domain belongs to the same organization as the sender is a simplified one that takes into account the main two-level suffixes such as
co.jp. - A header contains your own email address and the names of internal servers. This page does not send what you paste, but hide such details when you share the results with other people. To mask part of a screenshot, you can use the Image Redaction Tool.
- If a subject or sender name is displayed as garbled text, the Mojibake Decoder may be able to restore the original characters. To check an IP address range, use the IP Address Calculator.
Standards used
RFC 5322 (message format), RFC 2047 (encoding of non-ASCII characters in headers), RFC 5321 (Received header), RFC 8601 (Authentication-Results), RFC 7208 (SPF), RFC 6376 (DKIM) and RFC 7489 (DMARC). All are published at the RFC Editor.