Spreadsheet sample files
XLSX, ODS, CSV and TSV files with realistic tabular data, from a handful of rows to hundreds of thousands.
Formats in this category
| Format | What it is | Sizes |
|---|---|---|
| XLSX sample files.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | The default Microsoft Excel format: a ZIP package of XML worksheets. | 10 KB to 10 MB |
| CSV sample files.csv text/csv | Tabular data as plain text, one record per line. The universal import and export format. | 1 KB to 20 MB |
| ODS sample files.ods application/vnd.oasis.opendocument.spreadsheet | The spreadsheet format of LibreOffice Calc and the OpenDocument standard, with typed cells and formulas. | 10 KB to 1 MB |
| TSV sample files.tsv text/tab-separated-values | Tabular text with a tab between fields and a line break between rows. Simpler than CSV, because nothing is quoted. | 1 KB to 10 MB |
About these files
Import-from-spreadsheet is one of the most requested features in business software and one of the easiest to get wrong. Dates, number formats, delimiters, encodings and sheer row counts all cause trouble.
The XLSX and ODS samples contain typed cells, dates and formulas. The CSV and TSV samples contain customer data as plain text. The curated library adds CSV files with exactly 100, 1,000 and 10,000 rows, a workbook with several sheets, and deliberately awkward CSV: quoted fields, semicolon delimiters and a byte order mark.
Ready-made samples
Hand-designed files with realistic content or a specific edge case.
| File | Format | Size | Contents | Download |
|---|---|---|---|---|
| Sample customers CSV (100 rows)sample-customers.csv | CSV | 7.84 KB8,028 bytes | Data rows: 100 | Download CSV |
| CSV with quoted fields, embedded commas and line breakssample-csv-quoted-fields.csv | CSV | 324 B324 bytes | Data rows: 6 | Download CSV |
| Semicolon-delimited CSV with decimal commassample-csv-semicolon-delimited.csv | CSV | 2.02 KB2,066 bytes | Data rows: 25 | Download CSV |
| CSV with a UTF-8 byte order mark and non-ASCII textsample-csv-utf8-bom.csv | CSV | 193 B193 bytes | Data rows: 6 | Download CSV |
| Sample orders workbook XLSX (250 rows, with formulas)sample-orders.xlsx | XLSX | 20.3 KB20,827 bytes | Data rows: 250 | Download XLSX |
| Sample CSV file with 1,000 rowssample-csv-1000-rows.csv | CSV | 79.8 KB81,739 bytes | Data rows: 1,000 | Download CSV |
| Sample CSV file with 10,000 rowssample-csv-10000-rows.csv | CSV | 818 KB837,484 bytes | Data rows: 10,000 | Download CSV |
| Sample XLSX with multiple sheets (3 sheets)sample-xlsx-multiple-sheets.xlsx | XLSX | 8.21 KB8,407 bytes | Sheets: 3 (Orders, Customers, Summary) | Download XLSX |
Popular downloads by size
Jump straight to a file. Every size is exact to the byte.
Or browse every format at one size: 1 KB, 5 KB, 10 KB, 25 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB, 10 MB, 20 MB.
What to test
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
- Performance testing
Large, predictable inputs for measuring throughput, memory use and processing time.
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
Related categories
Spreadsheet files: questions
- Is the same data available as both CSV and XLSX?
- The files share the same pool of fictional people, but the columns differ: the workbooks model orders with formulas, and the CSV files model customer records.