Email Header Analyzer - Decode & Understand Email Headers

Paste your email headers below to analyze the path, authentication, and potential security issues.

Copy and paste the full email headers from your email client.

How to Find Email Headers in Different Email Clients

Email headers contain important information about the path an email took to reach you and can help identify potential issues. Here's how to access them in popular email clients:

Example Headers

Here's what email headers typically look like:

Return-Path: <sender@example.com> Delivered-To: recipient@example.com Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.example.com (Postfix) with ESMTPS id 8DBCF21478 for <recipient@example.com>; Wed, 21 Jul 2021 14:22:01 -0700 (PDT) Authentication-Results: example.com; dkim=pass header.i=@example.com; spf=pass (example.com: domain of sender@example.com designates 209.85.221.53 as permitted sender) smtp.mailfrom=sender@example.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=example.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=; b=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X-Received: by 2002:adf:f6d3:: with SMTP id b12mr112233pfl.240.1626901321009; Wed, 21 Jul 2021 14:22:01 -0700 (PDT) From: "Sender Name" <sender@example.com> To: "Recipient Name" <recipient@example.com> Subject: Example Email with Headers Date: Wed, 21 Jul 2021 14:22:00 -0700 Message-ID: <CAXXXXX_XXXXXXX-XXXXXXXXXXacWgQGcF@mail.gmail.com>

Understanding Email Headers

Email headers are like the digital envelope of an email, containing crucial metadata about its journey from sender to recipient. They are not usually visible in standard email clients but can be accessed via "Show Original" or "View Source" options.

Key Information in Headers:

  • From/To/Cc/Bcc: Sender and recipient addresses.
  • Subject: The email's subject line.
  • Date: When the email was sent.
  • Message-ID: A unique identifier for the email message.
  • Received: A series of entries tracing the path the email took through various mail servers. Each "Received" header is added by a server that handled the email. Analyzing these can help identify the origin and route.
  • Return-Path: The address where bounce messages are sent.
  • Authentication-Results: Contains results of security checks like SPF, DKIM, and DMARC, which help verify the sender's authenticity and prevent spoofing.
  • MIME-Version & Content-Type: Define the email's format (e.g., HTML, plain text) and character encoding.

Email Authentication Explained

Why Analyze Email Headers?

  • Troubleshooting Delivery Issues: Identify where an email got delayed or rejected.
  • Detecting Phishing & Spoofing: Uncover forged sender information or suspicious routing by scrutinizing authentication results and the received path.
  • Spam Investigation: Determine the true origin of spam emails.
  • Learning Email Flow: Understand the technical journey of an email.

Common Issues Identified Through Header Analysis

  • Sender Spoofing: Mismatch between the "From" address and actual sending server
  • Missing or Failed Authentication: Emails without SPF, DKIM or with failed validation
  • Suspicious Routing: Email taking unusual paths through unexpected or known-problematic servers
  • Time Anomalies: Unusual delays between server hops that may indicate issues
  • X-Headers Anomalies: Custom headers sometimes reveal information about spam filtering or other processing

Related Tools