Download .XLSX Sample Files

Jump to:     File Information     Download     How to Open

What is an XLSX File?

An XLSX file is a Microsoft Excel workbook in the Office Open XML format, the default since Excel 2007. Like DOCX, it is a ZIP archive of XML files that holds the worksheets, cell values, formulas, formatting and charts. It replaced the older binary XLS format.

XLSX files open in Excel, Google Sheets, LibreOffice Calc, Apple Numbers and WPS Office, and libraries such as openpyxl, pandas, Apache POI and SheetJS can read and write them.

Download XLSX Sample Files

Below are two Excel workbooks with simple data tables. They hold the same data as our CSV samples.

[10.4 KiB]
[14.3 KiB]

XLSX Sample File Details

SampleData rowsColumnsFile size
Sample1.XLSX100Student ID, Grade10.4 KB
Sample2.XLSX250Employee ID, Salary, Leaves, Bonus14.3 KB

Each workbook has a single worksheet with a header row followed by plain values: whole numbers, and letter grades from A to E in Sample 1. There are no formulas, charts or macros.

What You Can Test With These XLSX Files

  • Spreadsheet imports: bulk upload features that read Excel files.
  • Parsing libraries: openpyxl, pandas, Apache POI, SheetJS and others.
  • Conversion: XLSX to CSV and back, compared with our matching CSV samples.
  • Previews: spreadsheet viewers in web apps and file managers.
  • Uploads: forms that accept application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.

How to Read an XLSX File

# Python with pandas (needs openpyxl)
import pandas as pd
df = pd.read_excel("sample-2.xlsx")
print(df.shape)  # (250, 4)

# Convert to CSV with LibreOffice
libreoffice --headless --convert-to csv sample-1.xlsx

XLSX vs Other Spreadsheet Formats

FormatTypeFormulas and formatting
XLSXZIP of XML filesYes
XLSBinary (Excel 97 to 2003)Yes
ODSZIP of XML files (LibreOffice)Yes
CSVPlain textNo, values only

Microsoft Excel Spreadsheet (.XLSX)

Developer:

Microsoft

Category:

Format:

Binary

MIME Type:

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

More Filetypes