1 MB EML sample file
An EML file of exactly 1,048,576 bytes. It is a valid Email message file, generated for this site and checked with an independent parser.
Download
sample-eml-1mb.eml
1 MB1,048,576 bytes
Download 1 MB EMLDirect download. No sign-up and no waiting.
- Type
- message/rfc822
- SHA-256
83e1220a0229820455830cb1f1e329bab625924a4d12a91f3766409d45805b6b- Direct URL
https://sampletestfiles.com/downloads/eml/sample-eml-1mb.eml
What is in this file
A single-part plain-text message with standard headers and 3,149 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 | 3,149 |
|---|---|
| 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-1mb.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 MB)
Date: Thu, 01 Jan 2026 09:00:00 +0000
Message-ID: <sample-1mb@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello,
The file was built to an exact byte count, which makes size limits easy
to verify. A parser that works on ten rows may still fail on ten
thousand, so test both. Line numbers and byte offsets in this file makePreview
Shows the first 64 KB of the file.
Where 1 MB matters
A 1,048,576-byte file: exactly the default upload limit of nginx, Spring Boot and Next.js. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| nginx | 1 MB by default (client_max_body_size) | A multipart upload of this file exceeds the limit by the size of the form boundaries. |
| Spring Boot multipart | 1 MB per file by default (max-file-size) | A file of exactly 1 MB is at the limit. |
| Next.js API routes and Server Actions | 1 MB by default | Larger bodies need the size limit raised in configuration. |
| Cloud Firestore documents | 1 MiB (1,048,576 bytes) | The same number of bytes as this file. |
| Apache Kafka messages | About 1 MB by default | Brokers reject larger records unless message.max.bytes is raised. |
Use this file for
- Download tests on mobile connections
- Checking attachment extraction
- Testing help-desk and archiving software
Testing notes for EML
- An HTML body is untrusted HTML and needs sanitising before display.
- Header values can be folded across lines and encoded with RFC 2047 encoded-words; parsers that read headers line by line get subjects wrong.
Technical details
| File name | sample-eml-1mb.eml |
|---|---|
| Format | EML (Email message) |
| Extension | .eml |
| MIME type | message/rfc822 |
| Size | 1,048,576 bytes (1 MB) |
| Kind | Text |
| SHA-256 | 83e1220a0229820455830cb1f1e329bab625924a4d12a91f3766409d45805b6b |
| 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-1mb.eml 'https://sampletestfiles.com/downloads/eml/sample-eml-1mb.eml'
sha256sum sample-eml-1mb.eml # Linux
shasum -a 256 sample-eml-1mb.eml # macOSOn Windows, run Get-FileHash sample-eml-1mb.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 MB?
- Yes. It is 1,048,576 bytes, which is 1 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 1 MB EML file?
- A single-part plain-text message with standard headers and 3,149 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.