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
- 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 paragraphs | 2 |
|---|---|
| Headers | From, To, Subject, Date, Message-ID, MIME-Version, Content-Type |
| Content type | text/plain; charset=us-ascii |
| Line endings | CRLF, 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 thesePreview
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:
| System | Limit | Note |
|---|---|---|
| Ethernet | 1,500 bytes (typical MTU) | A 1 KB payload fits in one packet with its headers. |
| Browser cookies | 4,096 bytes per cookie | 1 KB is well inside the limit; the 5 KB sample is over it. |
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.
Technical details
| File name | sample-eml-1kb.eml |
|---|---|
| Format | EML (Email message) |
| Extension | .eml |
| MIME type | message/rfc822 |
| Size | 1,024 bytes (1 KB) |
| Kind | Text |
| SHA-256 | 151f362b2ff6e7ec292a7150122c88e3159aa7ae9f6932b9745925c4d6371659 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Email & 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 # macOSOn 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.