What Is a .XLSX File? (.xlsx, .xlsm, .xlsb, .xltx)
A .xlsx file is a Microsoft Excel workbook, the default Excel file extension since Excel 2007. It stores one or more worksheets of cells, formulas, charts, formatting and pivot tables in a compressed Office Open XML package. Related Excel extensions are .xlsm (macros), .xlsb (binary) and the older .xls.
- Extension
- .xlsx, .xlsm, .xlsb, .xltx
- Full name
- Microsoft Excel Open XML Spreadsheet
- Type
- Document file
- MIME type
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- Developed by
- Microsoft (Office Open XML, standardized as ECMA-376 and ISO/IEC 29500)
About XLSX files
If you are asking "what is the file extension of Excel", the answer depends on the version and the content. Workbooks saved by Excel 2007 or later default to .xlsx. Workbooks containing VBA macros must be saved as .xlsm, large workbooks can be saved as binary .xlsb for faster loading, templates use .xltx (or .xltm with macros), and files from Excel 97 to 2003 use .xls.
Like .docx, an .xlsx file is a ZIP archive of XML parts, one per sheet plus shared strings, styles and charts. That compression keeps files small, and each sheet can hold up to 1,048,576 rows and 16,384 columns, far beyond the 65,536-row limit of the old .xls format. Very large data sets load faster as .xlsb, which keeps the same features in a binary encoding.
Plain .xlsx files cannot contain macros, so a spreadsheet that asks you to enable macros will be .xlsm, .xlsb or .xls; treat unexpected ones with caution. Google Sheets, Apple Numbers and LibreOffice Calc open .xlsx well, but complex formulas, Power Query connections, VBA and some chart types may not survive the round trip.
What XLSX files are used for
- Budgets, financial models and accounting exports
- Data lists, inventories and contact sheets
- Reports with charts and pivot tables
- Templates for recurring calculations (.xltx)
- Macro-driven tools and dashboards (.xlsm)
How to open a .xlsx file
Windows
Microsoft Excel opens all Excel file extensions. Without Office, use Excel for the web with a free Microsoft account or LibreOffice Calc.
Mac
Apple Numbers opens .xlsx files for free, as do Excel for Mac and LibreOffice Calc. Press Space in Finder for a Quick Look preview.
iPhone and iPad
Preview it in the Files app, or edit it in Numbers or the Microsoft Excel app.
Android
Open it in Google Sheets or the Microsoft Excel app.
Online / any browser
Upload it to Google Drive and choose Open with > Google Sheets, or open it in Excel for the web from OneDrive.
How to convert a .xlsx file
In Excel use File > Save As and choose CSV, PDF, Excel 97-2003 Workbook (.xls), Excel Binary Workbook (.xlsb) or Excel Macro-Enabled Workbook (.xlsm). Note that CSV saves only the active sheet and drops formulas and formatting.
In Numbers choose File > Export To > Excel, CSV or PDF; in Google Sheets choose File > Download.
Renaming .xlsm to .xlsx does not remove the macros cleanly and Excel will refuse to open the result; use Save As instead.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming XLSX files
- For reports that are regenerated regularly, put the period at the front in sortable form, for example 2026-03_sales-report.xlsx, rather than "March sales.xlsx".
- Keep macro-enabled tools clearly labelled; the .xlsm extension already signals macros, but adding _tool or _macro to the name helps colleagues who hide extensions.
- Excel cannot open two workbooks with the same file name at once, even from different folders, so give exported copies distinct names.
Renaming lots of .xlsx files? See how to rename xlsx files with ai, use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .xls file is a spreadsheet in Microsoft Excel's legacy binary format, the default for Excel 97 through Excel 2003. It stores worksheets, formulas, charts and formatting, but each sheet is limited to 65,536 rows and 256 columns. Many older systems and bank exports still produce .xls files today.
A .csv file is a plain-text table where each line is a row and commas separate the columns. It has no formatting, formulas or multiple sheets, which makes it the universal format for moving data between spreadsheets, databases, banking portals, CRMs and code. Any text editor or spreadsheet app can open it.
A .docx file is a Microsoft Word document saved in the Office Open XML format used by Word 2007 and later. It stores text, formatting, images, tables, comments and tracked changes in a compressed ZIP package, and it is the default format for editable documents in Word, Google Docs exports and most office suites.
A .pptx file is a Microsoft PowerPoint presentation, the default PowerPoint file extension since Office 2007. It stores slides, layouts, text, images, charts, animations, embedded audio and video, and speaker notes in a compressed Office Open XML package. Older PowerPoint files use .ppt; slide shows use .ppsx.
Frequently Asked Questions
What is the file extension for Excel?
Modern Excel saves workbooks as .xlsx by default. Macro-enabled workbooks use .xlsm, binary workbooks use .xlsb, templates use .xltx, and Excel 97-2003 files use .xls.
What is the difference between .xlsx and .xlsm?
They are the same format, but .xlsm may contain VBA macros and .xlsx cannot. Excel forces you to choose .xlsm when you save a workbook that has macros.
When should I use .xlsb?
Use .xlsb for very large workbooks; it opens and saves faster and is usually smaller, but other apps such as Google Sheets and Numbers support it less well than .xlsx.
How do I open an .xlsx file without Excel?
Use Google Sheets, Excel for the web, LibreOffice Calc, or Apple Numbers on a Mac, iPhone or iPad.