Free FODP test files and sample generator
A LibreOffice Impress presentation as a single flat XML file. Generate valid .fodp sample files for testing XML tooling, converters and document pipelines.
What is a .fodp file?
FODP: Flat OpenDocument Presentation. Flat ODP is a presentation as a single uncompressed XML file, useful wherever a ZIP package would be awkward to inspect or version.
Why generate a test FODP file?
- Test XML-based processing of presentation content.
- Check flat-ODF detection in a document pipeline.
- Diff presentation changes as text.
What you can put inside a .fodp file
You get 2 content options for FODP, so the file holds something meaningful rather than random padding: Title + bullets, Text-heavy. For FODP these are alternatives, so choose the one that matches what you need to test.
How a .fodp file is identified
A .fodp file has no signature at the start. A text format has no identifying leading bytes, so the extension and the reported media type are the only claims about it until a parser actually reads it, which is why validating uploads by extension alone is unsafe.
How the size lands on the exact byte
XML permits whitespace after the root element, so the padding goes there. The document still parses, and the tree is unchanged.
Negative testing with broken FODP files
- Invalid. Identifiable, but wrong inside, so it fails during parsing.
- Corrupted. The leading bytes are destroyed. Same length as the valid file.
- Incomplete. Truncated part-way, so it is genuinely shorter.
- Empty. Chosen under Content rather than File Condition: valid structure, no data.
Which failure to reach for, and what to assert for each, is covered in how to make a corrupted file for testing. For upload limits and type checks see testing file upload validation.
Sample FODP content
<office:document office:mimetype="application/vnd.oasis.opendocument.presentation"> <office:body><office:presentation>…</office:presentation></office:body> </office:document>
This shows the shape of the file. Your download is generated fresh at the size you choose, so the values will differ.
How to open and verify the file
Open in LibreOffice Impress, or process as XML with `xmllint`.
Media type application/vnd.oasis.opendocument.presentation-flat-xml · extension .fodp · category Doc & TXT
Generate a .fodp file → · questions about sizes, privacy or cost are answered on the site FAQ.
Frequently asked questions about FODP files
What identifies a .fodp file?
Nothing at the start of the file does. A text format has no identifying leading bytes, so the extension and the reported media type are the only claims about it until a parser actually reads it, which is why validating uploads by extension alone is unsafe.
How can a .fodp file be an exact number of bytes?
XML permits whitespace after the root element, so the padding goes there. The document still parses, and the tree is unchanged.
What can go inside the FODP file?
There are 2 content options for .fodp: Title + bullets, Text-heavy. For FODP these are alternatives, so pick the one matching what you need to test.
Can I download several broken FODP files at once?
Yes, select more than one File Condition and you get one ZIP containing a .fodp per condition, each named after its condition.
Can the FODP file use UTF-16 or a byte-order mark?
No, and deliberately. A .fodp file is a container rather than plain text, so rewriting its bytes as UTF-16 would not produce a UTF-16 document. It would produce a broken file. Use a text format such as CSV, JSON or XML for encoding tests.
How do I open or verify the FODP file?
Open in LibreOffice Impress, or process as XML with xmllint.