Spreadsheet · 12 files
Sample Excel (XLSX) Files
Excel workbooks from 100 to 100,000 rows and 100 KB to 50 MB, a workbook filled to the 1,048,576-row maximum, an invoice, and a formatted workbook with frozen headers, filters, date and currency formats, formulas (SUM, AVERAGE, COUNTIFS) and a bar chart.
All 12 XLSX files
Download all with curl
# 12 files, 106 MB in total
while read -r url; do curl -LO --fail "$url"; done <<'EOF'
https://files.samplefiles.com/spreadsheet/xlsx/sample-invoice.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-100-rows.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-formatted.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-100kb.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-1k-rows.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-1mb.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-10k-rows.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-5mb.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-10mb.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-100k-rows.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-max-rows.xlsx
https://files.samplefiles.com/spreadsheet/xlsx/sample-50mb.xlsx
EOF| File | Size | Details | Download |
|---|---|---|---|
| Invoice XLSX (with formulas)sample-invoice.xlsx | 5.7 KB | 6 rows | Download |
| XLSX, 100 rowssample-100-rows.xlsx | 15.9 KB | 100 rows | Download |
| XLSX with formatting, formulas and a chartsample-formatted.xlsx | 18.7 KB | 100 rows | Download |
| 100 KB XLSX filesample-100kb.xlsx | 97.4 KB | 857 rows | Download |
| XLSX, 1,000 rowssample-1k-rows.xlsx | 112 KB | 1,000 rows | Download |
| 1 MB XLSX filesample-1mb.xlsx | 993 KB | 9,166 rows | Download |
| XLSX, 10,000 rowssample-10k-rows.xlsx | 1 MB | 10,000 rows | Download |
| 5 MB XLSX filesample-5mb.xlsx | 4.8 MB | 45,879 rows | Download |
| 10 MB XLSX filesample-10mb.xlsx | 9.7 MB | 91,751 rows | Download |
| XLSX, 100,000 rowssample-100k-rows.xlsx | 10.5 MB | 100,000 rows | Download |
| XLSX at the 1,048,576-row limitsample-max-rows.xlsx | 30.3 MB | 1,048,575 rows | Download |
| 50 MB XLSX filesample-50mb.xlsx | 48.4 MB | 457,577 rows | Download |
FAQ
Do any files contain formulas or charts?
Yes. The formatted workbook has a summary sheet with SUM, AVERAGE and COUNTIFS formulas and a bar chart. The other workbooks contain plain values.
What is the difference between XLSX and XLS?
XLSX (Excel 2007 and later) is a zipped XML format with up to 1,048,576 rows per sheet. XLS is the older binary format, limited to 65,536 rows. We have samples of both.
Which file tests the row limit?
The max-rows workbook has exactly 1,048,576 rows: a header plus 1,048,575 records. Use it to test import limits, memory use and streaming readers.
Can I load these files directly from my code?
Yes. Files are served from files.samplefiles.com with permissive CORS headers, so fetch(), <video>, <audio> and <img> can use the URLs directly.