Email header analyzer

See SPF, DKIM and DMARC, the delivery route and delays. Your headers never leave this page.

Gmail: ⋮ → Show original. Outlook: File → Properties → Internet headers. Apple Mail: View → Message → All Headers.

Headers are read on this page and never uploaded. Check it: turn off Wi-Fi and paste again.

    From
    —
    Subject
    —
    Sent
    —
    Delivered in
    —

    Authentication

      Route

        All headers

        Everything runs in your browser. What you enter stays on this device and is remembered only in this browser. The only thing sent out is an anonymous page view count to Cloudflare Web Analytics, without cookies.

        How to use it

        1. Open the message and copy its headers. In Gmail use ⋮ → Show original, in Outlook File → Properties → Internet headers, in Apple Mail View → Message → All Headers. Or open a saved .eml file.
        2. Paste them into the box. The analysis updates as you paste; there is no button and nothing to upload.
        3. Read the three checks first, then the notes under them. The route shows each server the message passed through, oldest first, with the delay at every step.
        4. Copy or download the report to send to your mail admin or email provider's support.

        Your headers stay on this page

        Headers carry names, addresses, IP addresses and the subject of the message. The best-known header tools send them to their own servers to analyze them. This page doesn't: the analysis is a script that runs in your browser, so you can turn off Wi-Fi and paste again to check that it still works. Only your time zone choice is remembered, never the headers.

        How to read the results

        • SPF checks that the server that delivered the message may send for the bounce domain (Return-Path). Results are defined in RFC 7208; softfail means the domain owner marked the server as probably not allowed.
        • DKIM checks a cryptographic signature added by the signing domain (d=). A fail usually means the message was changed on the way, often by a forwarder or a mailing list (RFC 6376).
        • DMARC passes when SPF or DKIM passes for a domain that matches the visible From address (RFC 7489). This is the check that stops someone else from using your domain in From.
        • Route. Each server adds a Received line at the top, so the bottom one is the first step (RFC 5321). Delays come from the time stamps; a negative delay means two servers' clocks disagree, not that mail travelled back in time.

        The results come from the receiving server's own Authentication-Results line. Trust the topmost one: it was added by the last server, the one that put the message in the mailbox (RFC 8601).

        Frequently asked questions

        Why does my message pass SPF and DKIM but fail DMARC?

        DMARC needs the passing domain to match the From address. A newsletter sent through an email service often passes SPF for the service's bounce domain and DKIM for the service's own domain, neither of which is yours. Set up DKIM signing with your own domain in the service's settings.

        Where are the Authentication-Results in my headers?

        Receiving servers add them. If you copied the headers from your Sent folder, the message never reached a receiving server, so there are no results. Send a test to a Gmail or Outlook.com address and analyze the copy that arrived there.

        What does softfail mean, and is it bad?

        The domain's SPF record ends with ~all, which says that servers not listed are probably not allowed. RFC 7208 tells receivers not to reject mail on a softfail alone, but they may look at it more closely. If the sending server should be allowed, add it to the SPF record.

        Which delay is a problem?

        The longest step is highlighted. When one server holds a message for minutes, it was queued there: the server was scanning it, retrying a busy next server, or deliberately slowing down an unfamiliar sender.

        Can headers be faked?

        Everything below the receiving server's own lines can be written by the sender, including fake Received lines. That's why the checks are read from the topmost Authentication-Results, added by the server that delivered the message to you.

        Does this page store or send my headers?

        No. Nothing is uploaded and nothing is saved. Reload the page and the box shows the example again.