1 KB EML sample file

An EML file of exactly 1,024 bytes. It is a valid Email message file, generated for this site and checked with an independent parser.

Download

sample-eml-1kb.eml

1 KB1,024 bytes

Download 1 KB EML

Direct download. No sign-up and no waiting.

Type
message/rfc822
SHA-256
151f362b2ff6e7ec292a7150122c88e3159aa7ae9f6932b9745925c4d6371659
Direct URL
https://sampletestfiles.com/downloads/eml/sample-eml-1kb.eml

What is in this file

A single-part plain-text message with standard headers and 2 body paragraphs. Addresses use the reserved example.com and example.org domains. Lines of hyphens at the end bring the message to the exact size.

Body paragraphs2
HeadersFrom, To, Subject, Date, Message-ID, MIME-Version, Content-Type
Content typetext/plain; charset=us-ascii
Line endingsCRLF, wrapped at 72 characters

How the file begins

The opening lines of sample-eml-1kb.eml, exactly as they appear in the file.

From: "SampleTestFiles Samples" <samples@example.com>
To: "Test Recipient" <recipient@example.org>
Subject: Sample email message (1 KB)
Date: Thu, 01 Jan 2026 09:00:00 +0000
Message-ID: <sample-1kb@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

A parser that works on ten rows may still fail on ten thousand, so test
both. The file was built to an exact byte count, which makes size limits
easy to verify. The people, companies and addresses mentioned in these

Preview

Shows the file contents.

Where 1 KB matters

The smallest practical test file: 1,024 bytes, small enough to travel in a single network packet. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Ethernet1,500 bytes (typical MTU)A 1 KB payload fits in one packet with its headers.
Browser cookies4,096 bytes per cookie1 KB is well inside the limit; the 5 KB sample is over it.

All 1 KB sample files

Use this file for

  • Smoke tests in CI that must run in milliseconds
  • Testing email parsers and import features
  • Checking attachment extraction

Testing notes for EML

  • Header values can be folded across lines and encoded with RFC 2047 encoded-words; parsers that read headers line by line get subjects wrong.
  • An HTML body is untrusted HTML and needs sanitising before display.

EML format reference

Technical details

File namesample-eml-1kb.eml
FormatEML (Email message)
Extension.eml
MIME typemessage/rfc822
Size1,024 bytes (1 KB)
KindText
SHA-256151f362b2ff6e7ec292a7150122c88e3159aa7ae9f6932b9745925c4d6371659
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryEmail & Calendar

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-eml-1kb.eml 'https://sampletestfiles.com/downloads/eml/sample-eml-1kb.eml'
sha256sum sample-eml-1kb.eml     # Linux
shasum -a 256 sample-eml-1kb.eml # macOS

On Windows, run Get-FileHash sample-eml-1kb.eml -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

Related files

Questions about this file

Is this file exactly 1 KB?
Yes. It is 1,024 bytes, which is 1 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 KB EML file?
A single-part plain-text message with standard headers and 2 body paragraphs. Addresses use the reserved example.com and example.org domains. Lines of hyphens at the end bring the message to the exact size.
Are the email addresses real?
No. They use example.com and example.org, which are reserved for documentation and cannot receive mail.