Free EML sample, test and dummy files

A single email saved as text: headers, a blank line, then the body. Download valid EML test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.eml
MIME type
message/rfc822
Kind
Text
Category
Email & Calendar

Create a EML file of any size

Choose any size from 420 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

EML files by size

Every file below is a valid Email message file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

EML sample files by size
FileSizeContentsDownload
1 KB EML samplesample-eml-1kb.eml 1 KB1,024 bytes Paragraphs: 2 Download EML
5 KB EML samplesample-eml-5kb.eml 5 KB5,120 bytes Paragraphs: 14 Download EML
10 KB EML samplesample-eml-10kb.eml 10 KB10,240 bytes Paragraphs: 30 Download EML
25 KB EML samplesample-eml-25kb.eml 25 KB25,600 bytes Paragraphs: 76 Download EML
50 KB EML samplesample-eml-50kb.eml 50 KB51,200 bytes Paragraphs: 153 Download EML
100 KB EML samplesample-eml-100kb.eml 100 KB102,400 bytes Paragraphs: 306 Download EML
200 KB EML samplesample-eml-200kb.eml 200 KB204,800 bytes Paragraphs: 612 Download EML
500 KB EML samplesample-eml-500kb.eml 500 KB512,000 bytes Paragraphs: 1,531 Download EML
1 MB EML samplesample-eml-1mb.eml 1 MB1,048,576 bytes Paragraphs: 3,135 Download EML
2 MB EML samplesample-eml-2mb.eml 2 MB2,097,152 bytes Paragraphs: 6,267 Download EML
3 MB EML samplesample-eml-3mb.eml 3 MB3,145,728 bytes Paragraphs: 9,403 Download EML
5 MB EML samplesample-eml-5mb.eml 5 MB5,242,880 bytes Paragraphs: 15,670 Download EML
10 MB EML samplesample-eml-10mb.eml 10 MB10,485,760 bytes Paragraphs: 31,340 Download EML
15 MB EML samplesample-eml-15mb.eml 15 MB15,728,640 bytes Paragraphs: 47,007 Download EML
20 MB EML samplesample-eml-20mb.eml 20 MB20,971,520 bytes Paragraphs: 62,682 Download EML
25 MB EML samplesample-eml-25mb.eml 25 MB26,214,400 bytes Paragraphs: 78,348 Download EML
30 MB EML samplesample-eml-30mb.eml 30 MB31,457,280 bytes Paragraphs: 94,013 Download EML
50 MB EML samplesample-eml-50mb.eml 50 MB52,428,800 bytes Paragraphs: 156,689 Download EML
100 MB EML samplesample-eml-100mb.eml 100 MB104,857,600 bytes Paragraphs: 313,335 Download EML

More EML samples

Hand-designed files with realistic content or a specific edge case.

Curated EML sample files
FileSizeContentsDownload
Multipart email with HTML body and attachmentsample-multipart-attachment.eml 1.23 KB1,264 bytes multipart/mixed containing multipart/alternative Download EML

What is an EML file?

An .eml file contains one email message exactly as it travels between mail servers. A block of headers such as From, To, Subject and Date is followed by a blank line and the body.

Messages with formatting or attachments use MIME, which splits the body into parts separated by boundary lines and encodes binary content as base64.

How to recognise an EML file

EML files have no file signature, the magic bytes that most binary formats begin with.

No signature bytes. EML files are identified by parsing their content.

Extension.eml
MIME typemessage/rfc822
StandardsRFC 5322 and MIME (RFC 2045 to 2049)
Line endingsCRLF
Line length78 characters recommended, 998 maximum
AttachmentsMIME parts, usually base64

What to test for

These are the behaviours that most often go wrong when software handles EML files.

Strengths of EML

  • An exact copy of the message as it was transmitted, headers included.
  • Opens in every desktop mail client.

Limitations of EML

  • The nested MIME structure is intricate to parse correctly.
  • One message per file, so mailboxes need another format.

Typical uses of EML test files

  • Testing email parsers and import features
  • Checking attachment extraction
  • Testing help-desk and archiving software

Software that opens EML

  • Outlook, Apple Mail and Thunderbird
  • Python email package, MailKit and mailparser
  • Email testing tools

Specifications

Related

EML sample files: questions

Are the email addresses real?
No. They use example.com and example.org, which are reserved for documentation and cannot receive mail.
What is the MIME type of an EML file?
The MIME type is message/rfc822. The file extension is .eml.
Is a sample EML file the same as a dummy or example EML file?
Yes. Sample, test, dummy and example EML files are different names for the same thing: an EML file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy EML file.