1 KB EML sample

An EML file of exactly 1,024 bytes. It is a valid Email message file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 1 KB sample, test or dummy EML file.

Download

sample-eml-1kb.eml

1 KB1,024 bytes

Download 1 KB EML

Created in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.

Type
message/rfc822
SHA-256
fcb83c22ab1b25f490806209078f24cbd83f6aa1209d4e16f77bdfda417731fe
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

A plain-text email message with standard headers and 2 paragraphs wrapped at 72 characters. Lines of dashes at the end of the body bring the file to the exact size.

Paragraphs2
Content typetext/plain, 7bit
AttachmentsNone
Line endingsCRLF (RFC 5322)
EncodingUTF-8 (ASCII characters only)

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-1024@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

Line numbers and byte offsets in this file make truncation and
corruption easy to spot. This sample file exists so that software can be
tested with realistic input. Progress bars, retry logic and timeouts all

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-256fcb83c22ab1b25f490806209078f24cbd83f6aa1209d4e16f77bdfda417731fe
Created2026-10-21
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryEmail & Calendar

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

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. For scripts and pipelines, save the file once and keep your own copy.

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 plain-text email message with standard headers and 2 paragraphs wrapped at 72 characters. Lines of dashes at the end of the body bring the file 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.