Free ODT sample, test and dummy files

The word-processor format of LibreOffice and the OpenDocument standard: a ZIP package of XML parts. Download valid ODT test files in 18 exact sizes, from 5 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.odt
MIME type
application/vnd.oasis.opendocument.text
Kind
Binary
Category
Documents

Create a ODT file of any size

Choose any size from 4,096 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.

ODT files by size

Every file below is a valid OpenDocument Text file of exactly the stated size. Open a file's page for its checksum and contents. ODT files cannot be displayed by a browser, so their pages show the file's details instead of a preview.

ODT sample files by size
FileSizeContentsDownload
5 KB ODT samplesample-odt-5kb.odt 5 KB5,120 bytes Sections: 0 Download ODT
10 KB ODT samplesample-odt-10kb.odt 10 KB10,240 bytes Sections: 110 Download ODT
25 KB ODT samplesample-odt-25kb.odt 25 KB25,600 bytes Sections: 745 Download ODT
50 KB ODT samplesample-odt-50kb.odt 50 KB51,200 bytes Sections: 1,260 Download ODT
100 KB ODT samplesample-odt-100kb.odt 100 KB102,400 bytes Sections: 2,845 Download ODT
200 KB ODT samplesample-odt-200kb.odt 200 KB204,800 bytes Sections: 5,960 Download ODT
500 KB ODT samplesample-odt-500kb.odt 500 KB512,000 bytes Sections: 15,368 Download ODT
1 MB ODT samplesample-odt-1mb.odt 1 MB1,048,576 bytes Sections: 31,845 Download ODT
2 MB ODT samplesample-odt-2mb.odt 2 MB2,097,152 bytes Sections: 63,919 Download ODT
3 MB ODT samplesample-odt-3mb.odt 3 MB3,145,728 bytes Sections: 106,942 Download ODT
5 MB ODT samplesample-odt-5mb.odt 5 MB5,242,880 bytes Sections: 193,221 Download ODT
10 MB ODT samplesample-odt-10mb.odt 10 MB10,485,760 bytes Sections: 408,773 Download ODT
15 MB ODT samplesample-odt-15mb.odt 15 MB15,728,640 bytes Sections: 623,894 Download ODT
20 MB ODT samplesample-odt-20mb.odt 20 MB20,971,520 bytes Sections: 842,634 Download ODT
25 MB ODT samplesample-odt-25mb.odt 25 MB26,214,400 bytes Sections: 1,061,908 Download ODT
30 MB ODT samplesample-odt-30mb.odt 30 MB31,457,280 bytes Sections: 1,281,397 Download ODT
50 MB ODT samplesample-odt-50mb.odt 50 MB52,428,800 bytes Sections: 2,159,399 Download ODT
100 MB ODT samplesample-odt-100mb.odt 100 MB104,857,600 bytes Sections: 4,353,822 Download ODT

What is an ODT file?

ODT is the text-document member of the OpenDocument family, an open standard maintained by OASIS and published as ISO/IEC 26300. It is the native format of LibreOffice Writer, and Microsoft Word and Google Docs both open and save it.

Like DOCX, an ODT file is a ZIP archive of XML. The text is in content.xml, styles in styles.xml and document properties in meta.xml, and a manifest lists every part. Unlike DOCX, the package announces its own type: the first entry is an uncompressed file called mimetype.

How to recognise an ODT file

Software recognises an ODT file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file. An ODT file is a ZIP package. Its first entry is named "mimetype" and is stored uncompressed, so the media type can be read as plain text from byte 38 onwards.
Extension.odt
MIME typeapplication/vnd.oasis.opendocument.text
StandardOASIS OpenDocument 1.3; ISO/IEC 26300
ContainerZIP, with an uncompressed "mimetype" entry first
Main partcontent.xml
Related types.ods spreadsheets, .odp presentations, .ott templates

What to test for

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

Strengths of ODT

  • An open standard that no single vendor controls, required by many governments.
  • The package names its own type in its first entry, which makes detection more dependable than for DOCX.

Limitations of ODT

  • Round trips through Microsoft Word can shift layout, numbering and fonts.
  • Fewer libraries and online services handle it than handle DOCX.

Typical uses of ODT test files

  • Testing document uploads in public-sector and education software, where ODT is often mandatory
  • Checking conversion between ODT, DOCX and PDF
  • Verifying MIME detection of ZIP-based formats
  • Testing text extraction and indexing

Software that opens ODT

  • LibreOffice Writer and Apache OpenOffice
  • Microsoft Word
  • Google Docs
  • Collabora Online and ONLYOFFICE
  • odfpy and the ODF Toolkit libraries

Specifications

Related

ODT sample files: questions

Will the ODT samples open in Microsoft Word?
Yes. Word has opened OpenDocument text files since Word 2007 Service Pack 2. The samples use only headings, paragraphs, a list, a table and one image.
What gives each ODT sample its exact size?
One embedded PNG image that is stored in the package without compression. Its pixel dimensions are chosen so that the whole document comes to the stated byte count.
What is the MIME type of an ODT file?
The MIME type is application/vnd.oasis.opendocument.text. The file extension is .odt.
Is a sample ODT file the same as a dummy or example ODT file?
Yes. Sample, test, dummy and example ODT files are different names for the same thing: an ODT 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 ODT file.