5 MB XLSX sample

An XLSX file of exactly 5,242,880 bytes. It is a valid Excel workbook (Office Open XML) file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 5 MB sample, test or dummy XLSX file.

Download

sample-xlsx-5mb.xlsx

5 MB5,242,880 bytes

Download 5 MB XLSX

Created in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.

Type
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
SHA-256
6f15c066e36f5729065048b9b8dffda1625b70b2b96068cb90b367ed23f8d205
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

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

Sheets1 (Orders)
Data rows56,480
Columns9
Formulas56,480 (total = quantity × unit price)
Frozen panesHeader row
MacrosNone
ContainerZIP (Office Open XML)

First bytes of the file

The first 64 bytes of sample-xlsx-5mb.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 61 01 00 00 96 03 00 00 13 00 00 00 5b 43  |.0a...........[C|
00000020  6f 6e 74 65 6e 74 5f 54 79 70 65 73 5d 2e 78 6d  |ontent_Types].xm|
00000030  6c b2 b1 af c8 cd 51 28 4b 2d 2a ce cc cf b3 55  |l.....Q(K-*....U|

Preview

XLSX files cannot be shown in a browser. Download the file and open it in an application that reads XLSX, such as Microsoft Excel.

Where 5 MB matters

A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. These are the default limits a file of this size is useful for testing:

SystemLimitNote
PHP2 MB per uploaded file by default (upload_max_filesize)A 5 MB upload fails on an untuned PHP installation.
Vercel Functions4.5 MB request bodyLarger uploads must go directly to object storage.
Amazon S3 multipart upload5 MiB minimum part sizeThis file is exactly one minimum part.
AWS Lambda6 MB synchronous invocation payload5 MB of binary data exceeds it once base64-encoded.
Browser localStorageAbout 5 MB per originStoring this file as text fills the quota.
Django2.5 MB in memory by defaultLarger uploads are streamed to a temporary file instead of held in memory.

All 5 MB sample files

Use this file for

  • Testing image resizing and memory use
  • Verifying formula handling
  • Load-testing importers with many rows

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-5mb.xlsx
FormatXLSX (Excel workbook (Office Open XML))
Extension.xlsx
MIME typeapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Size5,242,880 bytes (5 MB)
KindBinary
Signature50 4B 03 04
SHA-2566f15c066e36f5729065048b9b8dffda1625b70b2b96068cb90b367ed23f8d205
Created2026-10-14
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewNot available for this file; details only
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategorySpreadsheets

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-xlsx-5mb.xlsx     # Linux
shasum -a 256 sample-xlsx-5mb.xlsx # macOS

On Windows, run Get-FileHash sample-xlsx-5mb.xlsx -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 5 MB?
Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 5 MB XLSX file?
One worksheet with a bold, frozen header row and 56,480 rows of fictional orders: text, dates, numbers and a formula in every row. 1,699 bytes of text in the workbook description property bring the file to the exact size.
How many rows are in the 10 MB XLSX sample?
The exact row count is listed on each download page. Because XLSX is compressed, a 10 MB workbook holds a few hundred thousand rows.