.XLSB

XLSB File

Microsoft Excel Binary Workbook
Ask a question
QUICK ANSWER

An XLSB file is a Microsoft Excel workbook saved in binary format instead of the usual XLSX. It holds the same spreadsheets and can contain macros, but opens and saves faster for large files. Open it with Microsoft Excel, free LibreOffice Calc, Google Sheets, or WPS Office. To maximize compatibility, open it and save as .xlsx.

Developer: Microsoft Category: Spreadsheet Files Open standard MIME: application/vnd.ms-excel.sheet.binary.macroEnabled.12
OPENS ON Windows macOS Linux Web
Related: .ODS · .NUMBERS · .XLSX · .GSHEET

On this page

19k+ extensions indexed
Last reviewed Jul 5, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XLSB file format?

.xlsb files are binary spreadsheet workbooks generated by Microsoft Excel 2007 and later. They store spreadsheet data organized in columns and rows, where cells can contain text, images, charts, macros, and formulas.

Creation of the XLSB format

.xlsb was introduced alongside Microsoft Excel 2007, which also brought the .xlsx format, both replacing the older .xls format. The binary workbook format is designed to facilitate working with large spreadsheets. It may be opened by older versions of Microsoft Excel, though certain features may not be fully supported in such cases.

XLSB vs XLSX

Both .xlsb and .xlsx are ZIP-based OPC packages - opening either in an archive tool reveals a folder structure of internal parts. The critical difference lies inside: .xlsx stores sheet data as XML files, while .xlsb stores the same data as binary BIFF12 record streams (.bin parts such as xl/worksheets/sheet1.bin). Because XML parsing is skipped entirely, reading and writing .xlsb files takes significantly less time, which is especially important when working with very large workbooks. The binary format also raises the formula length ceiling to 8,192 characters, compared to the 1,024-character limit of the legacy .xls format.

Note on macros and security

.xlsb files can contain macros - scripts executed on the device of whoever opens the file. Because macro support is built into the format itself (it is always macro-enabled, unlike .xlsx), .xlsb attachments are sometimes exploited by malicious actors. Exercise special caution when opening .xlsb files received from unknown sources to avoid exposing your system to potential threats.

Security & safety

RISK: MEDIUM

Unlike plain XLSX, an XLSB CAN contain VBA macros (it embeds xl/vbaProject.bin), so treat an unexpected .xlsb like an .xlsm: Excel opens internet/email files in Protected View and may warn that macros are disabled - leave protection on and don't enable macros for files you didn't expect. Malicious macro-bearing workbooks are a real phishing vector. Opening the file in Google Sheets or LibreOffice avoids Excel's VBA engine entirely if you only need to read the data.

Format details

in a nutshell
FULL NAMEMicrosoft Excel Binary Workbook
DEVELOPERMicrosoftsince 2007 (Excel 2007)
MIME TYPEapplication/vnd.ms-excel.sheet.binary.macroEnabled.12
TYPEZIP-based OPC package with binary (BIFF12) cell records
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
XLSB is a ZIP/OPC package like XLSX, so the first bytes are the same ZIP "PK" header. The difference is internal: the sheet data is stored as binary .bin parts (xl/worksheets/sheet1.bin) using the BIFF12 record stream instead of the XML used by XLSX. Distinguish by the .bin members and the binary content type.

Programs that open XLSB files

Windows3 apps
Microsoft Excel Paid Native app. Double-click to open and edit with full feature support; Save As .xlsx to convert.
LibreOffice Calc Open-source Free; double-click to open XLSB (read/write support added years ago). Save As to XLSX/ODS/CSV.
WPS Office Spreadsheets Freemium Free Excel-compatible app; opens and edits XLSB.
macOS2 apps
Microsoft Excel Paid Native editing; double-click to open.
LibreOffice Calc Open-source Free; opens XLSB and exports XLSX/CSV. Apple Numbers cannot open XLSB directly - convert first.
Linux1 app
LibreOffice Calc Open-source Pre-installed on most distros; double-click to open XLSB.
Web2 apps
Google Sheets Free Upload to Google Drive and open with Google Sheets; it imports XLSB and lets you download as XLSX/CSV/PDF.
Excel for the web Free Upload to OneDrive and open in Excel online (free Microsoft account); can view and re-save.

Technical details

deep spec
Container formatZIP-based OPC package - identical outer structure to .xlsx and .xlsm
Cell data encodingBIFF12 binary record streams stored in .bin parts (e.g., xl/worksheets/sheet1.bin)
Macro supportAlways macro-enabled; no macro-free variant exists (contrast .xlsx vs .xlsm)
MIME typeapplication/vnd.ms-excel.sheet.binary.macroEnabled.12
Magic bytes50 4B 03 04 ("PK" ZIP local-file-header signature at offset 0)
Max rows per worksheet1,048,576 (2²⁰)
Max columns per worksheet16,384 (columns A-XFD)
Formula length limit8,192 characters per formula (vs 1,024 characters in legacy .xls)
File size vs XLSXTypically 40-75% smaller than an equivalent .xlsx for large data-heavy workbooks
Load/save performanceSignificantly faster than .xlsx on large workbooks; binary records eliminate XML parse overhead
EncryptionSupported via Office Open XML encryption (AES-128 or AES-256)
Third-party compatibilityPartial - LibreOffice Calc and Google Sheets can open .xlsb but with limited fidelity for complex features
Released2007 (Excel 2007)
Open standardYes · royalty-free
Specificationlearn.microsoft.com

XLSB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XLSB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XLSB files.

Frequently asked questions

How do I open an XLSB file without Excel?
Use the free LibreOffice Calc (opens XLSB directly), Google Sheets (upload to Drive), or WPS Office. All can read it and re-save as XLSX or CSV.
What's the difference between XLSB and XLSX?
Both are ZIP packages, but XLSX stores sheets as XML while XLSB stores them as binary records. XLSB is smaller and faster for huge workbooks; XLSX is more widely compatible and human-readable inside.
How do I convert XLSB to XLSX?
Open the file in Excel or LibreOffice Calc and choose Save As > Excel Workbook (.xlsx). If it contains macros, save as .xlsm instead.
Why is XLSB faster and smaller than XLSX?
Excel reads/writes XLSB's binary records directly without parsing XML, so large files open, save and recalculate faster and take less disk space.
Can an XLSB file contain macros or viruses?
Yes - XLSB is a macro-capable format (like XLSM), so it can carry VBA macros. Open unexpected XLSB files in Protected View and don't enable macros unless you trust the source.
Can Google Sheets open XLSB?
Yes. Upload it to Google Drive and open with Google Sheets; it imports the data and lets you download as XLSX, CSV or PDF.

References

1Microsoft - [MS-XLSB]: Excel Binary File Format (.xlsb) Structurelearn.microsoft.com
2Microsoft Support - File formats that are supported in Excelsupport.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.BCBitComet Incomplete Download File
7.EXEWindows Executable (Portable Executable)
8.NOMEDIAAndroid No-Media Marker File
9.RPMSGRestricted Permission Message
10.AVIFAV1 Image File Format (AVIF)

Related extensions

.ODSOpenDocument Spreadsheet
.NUMBERSApple Numbers spreadsheet
.XLSXMicrosoft Excel Open XML Workbook
.GSHEETGoogle Sheets Shortcut (Link to a Google Sheets spreadsheet)
.XLSMMicrosoft Excel Macro-Enabled Workbook (Open XML)
.XLSMicrosoft Excel 97-2003 Workbook (Binary Interchange File Format, BIFF8)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z