1 MB ODS sample file

An ODS file of exactly 1,048,576 bytes. It is a valid OpenDocument Spreadsheet file, generated for this site and checked with an independent parser. Use it wherever you need a 1 MB sample, test or dummy ODS file.

Download

sample-ods-1mb.ods

1 MB1,048,576 bytes

Download 1 MB ODS

Direct download. No sign-up and no waiting.

Type
application/vnd.oasis.opendocument.spreadsheet
SHA-256
9cf9466d931d2de37c4114378fb5463165992844c9630a308af46dff8454d7ed
Direct URL
https://www.sampletestfiles.com/downloads/ods/sample-ods-1mb.ods

What is in this file

One sheet with a bold header row and 16,862 rows of fictional orders: text, dates, numbers and an OpenFormula expression in every row. 2,004 bytes of text in the document description, in meta.xml, bring the file to the exact size.

Sheets1 (Orders)
Data rows16,862
Columns9
Formulas16,862 (total = quantity × unit price)
Cell typesText, number, date and formula
ODF version1.3
MacrosNone
ContainerZIP (OpenDocument package)

First bytes of the file

The first 64 bytes of sample-ods-1mb.ods as a hex dump: offset, bytes, then the same bytes as text. The ODS signature is 50 4B 03 04.

00000000  50 4b 03 04 14 00 00 00 00 00 00 00 21 5c 85 6c  |PK..........!\.l|
00000010  39 8a 2e 00 00 00 2e 00 00 00 08 00 00 00 6d 69  |9.............mi|
00000020  6d 65 74 79 70 65 61 70 70 6c 69 63 61 74 69 6f  |metypeapplicatio|
00000030  6e 2f 76 6e 64 2e 6f 61 73 69 73 2e 6f 70 65 6e  |n/vnd.oasis.open|

Preview

ODS files cannot be shown in a browser. Download the file and open it in an application that reads ODS, such as LibreOffice Calc and Apache OpenOffice.

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:

SystemLimitNote
nginx1 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 multipart1 MB per file by default (max-file-size)A file of exactly 1 MB is at the limit.
Next.js API routes and Server Actions1 MB by defaultLarger bodies need the size limit raised in configuration.
Cloud Firestore documents1 MiB (1,048,576 bytes)The same number of bytes as this file.
Apache Kafka messagesAbout 1 MB by defaultBrokers reject larger records unless message.max.bytes is raised.

All 1 MB sample files

Use this file for

  • Finding the first upload limit in a new stack
  • Testing spreadsheet import alongside XLSX and CSV
  • Checking date and number conversion

Testing notes for ODS

  • Dates are real dates in ODS and serial numbers in XLSX, so code written for one format mishandles the other.
  • Rows and cells can be run-length encoded with a "repeated" attribute. A sheet that looks empty may declare a million repeated rows, and a reader that expands them literally runs out of memory.

ODS format reference

Technical details

File namesample-ods-1mb.ods
FormatODS (OpenDocument Spreadsheet)
Extension.ods
MIME typeapplication/vnd.oasis.opendocument.spreadsheet
Size1,048,576 bytes (1 MB)
KindBinary
Signature50 4B 03 04
SHA-2569cf9466d931d2de37c4114378fb5463165992844c9630a308af46dff8454d7ed
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewNot available for this file; details only
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategorySpreadsheets

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-ods-1mb.ods 'https://www.sampletestfiles.com/downloads/ods/sample-ods-1mb.ods'
sha256sum sample-ods-1mb.ods     # Linux
shasum -a 256 sample-ods-1mb.ods # macOS

On Windows, run Get-FileHash sample-ods-1mb.ods -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 ODS file?
One sheet with a bold header row and 16,862 rows of fictional orders: text, dates, numbers and an OpenFormula expression in every row. 2,004 bytes of text in the document description, in meta.xml, bring the file to the exact size.
What do the ODS samples contain?
One sheet of fictional orders with a bold header row. Each row has text, a date, numbers and a formula that multiplies quantity by unit price.