XLSM XLSB
File conversion

Convert XLSM to XLSB

QUICK ANSWER
Is it possible to convert XLSM to XLSB?
Yes - XLSM converts to XLSB.

The fastest path is Microsoft Excel: File > Save As, then choose Excel Binary Workbook (.xlsb). The main benefit is a smaller, faster file - XLSB typically reduces file size by 30-50% for data-heavy workbooks, with no loss of VBA macros or formulas.

4 programs
Also to XLSB: SLK · XLAM

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert XLSM to XLSB?

People convert XLSM to .XLSB when a workbook is slow to open or the file has grown too large - XLSB stores everything in a compact binary structure instead of XML, so it loads faster and uses less disk space. It is the standard fix for workbooks with hundreds of thousands of rows, many formulas, or heavy pivot tables. XLSB supports VBA macros just like XLSM, so there is no functional downside for Excel users.

How to convert XLSM to XLSB

Microsoft Excel - Save As PAID

Open the .xlsm file, go to File > Save As, and choose Excel Binary Workbook (*.xlsb) from the format dropdown; no data, macros, or formatting is lost.

LibreOffice Calc FREE

Open the .xlsm in LibreOffice Calc, choose File > Save As, and pick Microsoft Excel Binary (.xlsb); complex pivot tables or advanced formatting may not convert perfectly.

Command line - LibreOffice CLI

Convert with: libreoffice --headless --convert-to xlsb file.xlsm

Programs that convert XLSM

Microsoft Excel
Microsoft Excel for Mac
LibreOffice Calc
Apache OpenOffice Calc (OpenOffice.org Calc)

About these formats

Quality & what to watch

  • VBA macros are fully preserved - XLSB is a macro-capable format, so no code is stripped during conversion.
  • XLSB files are typically 30-50% smaller than the equivalent .xlsm for numeric and formula-heavy workbooks; text-heavy or sparse files may shrink less.
  • XLSB is a proprietary binary format: Google Sheets and LibreOffice can open it but may struggle with complex pivot tables, charts, or advanced formatting.

Frequently asked questions

Does converting XLSM to XLSB remove the macros?
No - XLSB supports VBA macros just like XLSM, so all code is retained. The conversion only changes how the data is stored, not what the file can contain.
How much smaller will the XLSB file be?
Typically 30-50% smaller for workbooks with lots of numbers and formulas; files that are mostly text or images may shrink less.
Can I open an XLSB file in LibreOffice or Google Sheets?
Both can open .xlsb files, but support for advanced features like complex pivot tables and VBA macros is limited - use Excel for full fidelity.
Should I always use XLSB instead of XLSM?
Only when file size or load speed is a real problem - XLSM is easier to share with non-Excel users and can be inspected or diffed as plain text, which XLSB cannot.