XLSX XLSM
Free online converter

Convert XLSX to XLSM

Convert now
XLSX to XLSM converterFREE
Drop a .XLSX file here
or pick one - we convert it to .XLSM and give you the file to download

On this page

Tested on macOS, Windows & Linux
Last verified Nov 2026

More free converters

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

Open the toolbox

How to convert XLSX to XLSM

  1. Add your .XLSX file - drop it in the box above or click to browse.
  2. Convert it to .XLSM in a few seconds.
  3. Download your new .XLSM file.

What to expect

  • All spreadsheet content - formulas, charts, pivot tables, named ranges, conditional formatting - carries over unchanged; the conversion only adds the VBA macro container.
  • The .xlsm file is slightly larger than the source .xlsx because the vbaProject.bin part is present even before any macros are written.
  • Because .xlsm files can run executable code, email clients and antivirus tools flag them more aggressively than .xlsx; Excel keeps macros disabled until you explicitly click "Enable Content".

Frequently asked questions

Do I need to add macros before converting?
No - you can convert a data-only .xlsx to .xlsm first and add or record macros later.
Can LibreOffice Calc open the converted `.xlsm`?
It can read the spreadsheet data, but runs macros through its own Basic engine rather than VBA, so Excel-specific macros may fail or behave differently.
Will the `.xlsm` file work on macOS Excel?
Yes, Excel for macOS supports VBA and reads .xlsm files, but macros that call Windows-specific APIs (shell calls, Win32 functions) will break regardless of format.
Can I just rename `.xlsx` to `.xlsm`?
Excel detects the format mismatch and warns you on save - use a proper Save As or converter instead of renaming.