1 MB XLSX sample file

An XLSX file of exactly 1,048,576 bytes. It is a valid Excel workbook (Office Open XML) file, generated for this site and checked with an independent parser.

Download

sample-xlsx-1mb.xlsx

1 MB1,048,576 bytes

Download 1 MB XLSX

Direct download. No sign-up and no waiting.

Type
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
SHA-256
6ad7e16e48b55f53a05492781e158b4972acfb5aaddd69f019822cc839784e52
Direct URL
https://sampletestfiles.com/downloads/xlsx/sample-xlsx-1mb.xlsx

What is in this file

One worksheet with a bold, frozen header row and 15,333 rows of fictional orders: text, dates, numbers and a formula in every row. 2,214 bytes of text in the workbook description property bring the file to the exact size.

Sheets1 (Orders)
Data rows15,333
Columns9
Formulas15,333 (total = quantity × unit price)
Frozen panesHeader row
MacrosNone
ContainerZIP (Office Open XML)

First bytes of the file

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

00000000  50 4b 03 04 14 00 00 00 08 00 00 00 21 5c 19 27  |PK..........!\.'|
00000010  be 30 2f 01 00 00 96 03 00 00 13 00 00 00 5b 43  |.0/...........[C|
00000020  6f 6e 74 65 6e 74 5f 54 79 70 65 73 5d 2e 78 6d  |ontent_Types].xm|
00000030  6c ad 93 cf 4e 02 31 10 c6 ef 3e 45 d3 2b d9 16  |l...N.1...>E.+..|

Preview

XLSX files cannot be shown in a browser. Download the file and open it with Microsoft Excel.

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

  • Download tests on mobile connections
  • Load-testing importers with many rows
  • Testing spreadsheet import features

Testing notes for XLSX

  • Importers that read only cached values and importers that recalculate formulas can disagree. The samples include a formula in every row.
  • A date cell is a number with a format; importers that ignore the format show values such as 45123 instead of a date.

XLSX format reference

Technical details

File namesample-xlsx-1mb.xlsx
FormatXLSX (Excel workbook (Office Open XML))
Extension.xlsx
MIME typeapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Size1,048,576 bytes (1 MB)
KindBinary
Signature50 4B 03 04
SHA-2566ad7e16e48b55f53a05492781e158b4972acfb5aaddd69f019822cc839784e52
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewNot available for this format; 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-xlsx-1mb.xlsx 'https://sampletestfiles.com/downloads/xlsx/sample-xlsx-1mb.xlsx'
sha256sum sample-xlsx-1mb.xlsx     # Linux
shasum -a 256 sample-xlsx-1mb.xlsx # macOS

On Windows, run Get-FileHash sample-xlsx-1mb.xlsx -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 XLSX file?
One worksheet with a bold, frozen header row and 15,333 rows of fictional orders: text, dates, numbers and a formula in every row. 2,214 bytes of text in the workbook description property bring the file to the exact size.
Do the workbooks contain macros?
No. They are plain .xlsx files with one worksheet, a frozen header row and simple multiplication formulas.