What Is an XLSX File?
The modern Excel workbook package, its real limits, and the details that make it different from XLS and XLSM.
- Add a file Choose or drop it here
- Pick the format Change it whenever needed
- Download the result After conversion completes
The Default Excel Workbook Since Office 2007
XLSX is the default Excel Workbook format used by Excel 2007 and later. It replaced the older XLS binary workbook used through Excel 2003. The final x means Open XML without macros: Microsoft states that ordinary x-suffix Office files cannot contain VBA or XLM macros. XLSX can still contain worksheets, formulas, charts, tables, styles, drawings, links, and many Excel features. The extension is a format clue, not a promise that every program will reproduce every advanced feature.
An XLSX file normally begins with the ZIP signature PK because it is a package of separate files, not one long XML document. Inside are XML parts describing workbook settings, sheets, shared strings, styles, drawings, and their relationships. This split lets tools inspect or replace particular pieces, but it also means that renaming a CSV or random ZIP file to .xlsx does not produce a valid workbook. Excel checks the internal package, then warns when it does not agree with the extension.
The Modern Grid and the Package Parts Behind a Sheet
Excel limits a modern worksheet to 1,048,576 rows and 16,384 columns, ending at XFD. Microsoft's Office Open XML documentation gives those same inclusive row and column limits. That is a major increase from old XLS, whose sheet ends at 65,536 rows and 256 columns. It matters when converting a large text dataset: an XLSX target can hold more, but it is not unlimited. Microsoft warns that if a text or CSV dataset is larger than the Excel grid, saving after a partial load can lose data that was never loaded.
Package structure also explains some repair messages. A worksheet XML part is linked from the workbook through relationship files; styles, drawings, and shared text have their own parts. A program that creates a sheet but fails to create the correct relationship can make a file that looks like an XLSX by name but opens with an Excel repair notice. Use a real workbook writer and test the output in Excel rather than trusting an extension.
The Useful Capabilities and Boundaries of a Macro-Free Workbook
- Keep modern workbook data: Excel says XLSX preserves worksheet and chart data, formatting, and earlier Excel features.
- Use a large grid: one sheet can use 1,048,576 rows and 16,384 columns.
- Package parts separately: sheets, styles, and drawings are not one opaque binary stream.
- Cannot carry VBA or XLM: code requires XLSM instead.
- Can still have links: macro-free does not mean disconnected from external workbooks.
- Can exceed practical memory: the grid limit is not a performance guarantee.
A 32,767-character cell limit also matters for imported notes and text fields. A dataset can fit the row grid while individual descriptions exceed what Excel can store in one cell. Check source field lengths before conversion, especially when the workbook is a delivery format for logs, transcripts, or exported records.
Compatibility Depends on Features, Not Only on the Extension
Modern Excel uses XLSX by default, and LibreOffice Calc can open and save XLSX, but cross-application editing needs testing. LibreOffice documents that its VBA support is incomplete, although XLSX itself has no VBA project. Formula names, table styles, external connections, pivot behavior, and newer Excel functions can still differ. A spreadsheet that opens is not automatically a spreadsheet whose calculations and layout match the authoring program.
Cloud and mobile viewers add another distinction. They are often fine for reading and simple edits but may not expose every desktop feature. Test the output in the actual recipient application. If a workbook contains a recent function, check its calculated result after a save by the other application rather than relying on a displayed cached value.
Failures That Usually Point to Data or Package Details
A familiar failure is a huge CSV that opens with a warning that the data set is too large for the Excel grid. Microsoft advises not to save over the original after a partial load; use Get Data and Power Query on Excel for PC to analyze the complete dataset. Another is a long identifier shown as scientific notation or changed by number inference. Import that field as text and compare its character count, rather than trying to repair IDs after a save.
If Excel says that a file format or extension is not valid, do not fix it by renaming repeatedly. Compare the generator's actual file type, unzip a copy only for inspection, and regenerate with a workbook-capable tool. If Excel repairs a workbook, save the repair log and identify which part was removed before using the file as a master.
XLSX Beside the Formats It Is Often Confused With
| Feature | XLSX | Comparison |
|---|---|---|
| Container | Open XML ZIP package | XLS is binary |
| Grid | 1,048,576 x 16,384 | XLS: 65,536 x 256 |
| Macros | Not allowed | XLSM may contain them |
| Sheets | Many supported | CSV is one table |
| Formatting | Stored in style parts | CSV drops it |
| Best role | Modern editable workbook | PDF is fixed pages |
Questions About the Normal Excel Workbook Format
Can XLSX contain macros?
No. Microsoft reserves macro capability for m-suffix formats such as XLSM.
Why does an XLSX begin with PK?
It is a ZIP-based Open XML package containing separate workbook parts.
Can it hold every CSV row?
Not if the data exceeds Excel's 1,048,576-row or 16,384-column grid.
Will LibreOffice preserve everything?
It can open XLSX, but test formulas, styles, and features that matter.
Can I rename a text file to XLSX?
No. A valid workbook needs the required Open XML package structure.
The formula stored in an XLSX file and the value shown on screen are related but not identical facts. Excel can store the formula in the worksheet XML and a cached calculated value. A lightweight viewer or a library may display the cached value without calculating the formula itself. This can make a file appear correct until it is opened in another program that recalculates with different function support. For a workbook using newer Excel functions, open the converted copy in the receiving application, change a harmless test input, and confirm the dependent result updates. A matching first view is weaker evidence than a successful recalculation test.
Shared formulas and styles make the package smaller, but they are also why a careless XML edit can affect more than one cell. Excel can place shared strings in a common table and have many cells refer to them; styles are similarly referenced by index. Replacing text in one package part without respecting those references can create wrong labels or styles across a sheet. This is a practical reason to use a workbook-aware program rather than treating an XLSX file as a collection of unrelated text files. If Excel offers to repair the output, read the repair log before saving it; the removed part identifies the feature that was not written correctly.
External workbook links need their own check. An XLSX can contain formulas referring to another file, even though it has no macro project. On opening, Excel may ask whether to update links, and a recipient without the source path can see old cached values or errors. Review Data and Edit Links information in the authoring environment, then either deliver the linked source files, break links after validating values, or document that the workbook is a snapshot. Converting from XLSM to XLSX removes code but does not automatically remove these relationships.
Dates are another cross-platform failure point. Excel's common 1900 date system intentionally includes the historical 1900 leap-year compatibility error; some workbooks instead use the 1904 date system. A conversion or import that changes the date system can shift displayed dates by 1,462 days. Compare a known date after opening the XLSX in the destination program, particularly when the source originated on a Mac or comes from a system that writes spreadsheet dates directly. Do not correct hundreds of cells by eye before confirming the workbook's date-system setting.
For large files, the sheet grid is only one limit. Excel's support guidance says a text dataset larger than the grid can be analyzed through Get Data and Power Query on Excel for PC, without loading every row into a worksheet. If the final aim is reporting rather than manual cell editing, retain the original delimited data and use an import query rather than forcing an incomplete source into XLSX. Saving a partially loaded result over the original is the documented data-loss risk; preserving the original is the fix.