How to convert XLSM to HTML
- Drop your XLSM files into the box above, or tap choose files.
- Check that HTML is selected, and move the quality slider if you want smaller files.
- Press Convert, then download each file or all of them as a ZIP.
Why convert XLSM to HTML?
XLSM files are often blocked by email and security filters, and the macros only work in desktop Excel. An HTML table opens in any browser and can be put straight onto a website or into an email.
XLSM and HTML compared
| Property | XLSM | HTML |
|---|---|---|
| Full name | Excel Macro-Enabled Workbook | HyperText Markup Language |
| Made by | Microsoft, 2007 | W3C |
| Type | XLSX that can carry VBA macros | Web page |
| Best for | Workbooks with macros | Showing a table on a website or in an email |
| Opens in | Excel on Windows and Mac; macros do not run elsewhere | Every browser |
Good to know
- Macros cannot be stored in HTML, so they are left out. Everything else in the workbook comes across.
- You get one web page with a table for each sheet. Open it in any browser, or copy the table into a website or email.
What is an XLSM file?
XLSM is an Excel workbook that is allowed to contain VBA macros. Apart from macros it is the same as XLSX. Many email systems block XLSM attachments because macros can be harmful.
Opens in: Excel; other apps open the data but cannot run the macros.
What is an HTML file?
HTML is the language of web pages. A spreadsheet saved as HTML becomes a table you can open in any browser, put on a website or paste into an email.
Opens in: Every web browser.
This page converts files with code that runs in your browser. Nothing is uploaded. After you have used it once, it even works with your internet switched off.
Questions
How do I convert XLSM to HTML?
Add your XLSM files to the converter at the top of this page, check that HTML is selected and press Convert. Each file is converted in your browser, usually in a few seconds, and you can then download it, or all files together as a ZIP. Nothing is uploaded.
Will I lose quality converting XLSM to HTML?
Every value comes across as a table on a web page. Formulas show their results, and colours and charts are not included.
Is it safe to convert my XLSM files here?
Yes. The conversion runs inside your browser on your own device and your files are never sent to a server, so nobody else can see them. You can check by switching off your internet after the converter has loaded: it still works.