Document tool

Remove Macros from Excel (XLSM to XLSX)

Remove macros from an Excel workbook. Converts .xlsm to .xlsx with every formula, pivot table and style preserved exactly.

XLSM XLSX
PrivConvert
Privacy-first conversion
No files stored
In-memory processing
Deleted instantly
No sign-up needed

Complete the security check to begin

The only difference between the two formats is permission to run code

An .xlsm file is an .xlsx file with one extra piece inside it: a VBA project. Everything else — the sheets, the formulas, the charts, the formatting — is stored identically. That single difference is why the two extensions exist at all: it lets a mail server, an upload form or a security policy decide whether a workbook is allowed to execute code without having to open it and look.

Which means converting between them is not really a conversion. It is a removal. And because .xlsx has nowhere to store macro code, a workbook that has genuinely been converted cannot be carrying any.

Why your spreadsheet comes back unchanged

Most converters would open the workbook in a spreadsheet engine and save it again as .xlsx. That produces a macro-free file, but it also rewrites every sheet along the way, and complex workbooks do not survive the round trip cleanly: pivot table configuration gets simplified, conditional formatting rules shift, chart styling changes, slicers break. A financial model is exactly the kind of file people need to de-macro, and exactly the kind that suffers most.

This tool takes the workbook apart, removes the macro pieces, and puts every remaining piece back byte for byte. Nothing is re-rendered because nothing needs to be. Your formulas are the same formulas, your pivot tables have the same configuration, your styles are the same styles — they are the identical bytes that went in. The side benefit is speed: the job takes milliseconds regardless of how complicated the spreadsheet is.

Two kinds of macro, and the one that gets missed

VBA is the macro system people know about, and it lives in a single part of the file that is easy to find and delete. But Excel also still runs Excel 4.0 macros, a system from 1992 that stores its code in what looks like an ordinary worksheet listed alongside your real ones. A converter that deletes the VBA project and stops there hands back a file it calls macro-free that still contains working macro code — and attackers have relied on precisely that.

Both kinds are removed here. Removing an Excel 4.0 sheet also means repairing the workbook’s sheet list, or Excel finds an entry pointing at a sheet that no longer exists and declares the file damaged. And because a security claim is worth nothing unless it is checked, the finished workbook is re-inspected from scratch before you get it: if any macro part, macro marking or macro reference is still reachable, the conversion fails and returns an error instead of a file. A missed edit becomes a refusal, never a false assurance.

Word and PowerPoint work the same way

The same macro-enabled split exists across Office, and the same reasoning applies: use DOCM to DOCX for Word documents and PPTM to PPTX for presentations. If you need to automate this across a large archive, all three are available on the API — this one at /api/convert/xlsm-to-xlsx.

About Converting XLSM to XLSX

XLSM is an Excel workbook that is allowed to carry macro code. It is byte-for-byte an XLSX with one extra part — a VBA project — and that single difference is why mail gateways and IT policy treat the two formats completely differently. When you need to move away from XLSM, the usual reason is simple: routinely blocked by email and upload filters.

Converting your XLSM spreadsheet to XLSX solves that. XLSX is the modern Microsoft Excel format — a ZIP of XML that stores multiple sheets, formulas, charts and formatting. It is the standard for business spreadsheets. In practice you gain formulas, charts and multiple sheets and open xml standard. PrivConvert runs the whole XLSM-to-XLSX conversion in server memory and deletes your file the instant the XLSX is ready — nothing is stored, logged or reused.

When this conversion helps

  • You need formulas, charts and multiple sheets
  • You need open XML standard
  • You need compact and robust
  • Sharing a XLSM spreadsheet with someone whose software expects XLSX

Tips for best results

  • After converting, open the XLSX and skim the formatting — complex layouts occasionally need a small touch-up.
  • Files up to 250 MB are supported, and you can batch-convert several XLSM files at once; each is processed privately and deleted immediately.

How to Convert XLSM to XLSX Online

Here is how a XLSM → XLSX conversion works on PrivConvert, from start to finish. What you gain with XLSX: formulas, charts and multiple sheets.

1
Upload your XLSM file

Drag and drop your file into the upload area, click to browse your device, or paste a URL to a file hosted online. You can upload files up to 250 MB and batch convert up to 20 files at once.

2
Automatic conversion

Once uploaded, the conversion from XLSM to XLSX starts automatically. The process runs entirely in an isolated environment - your data never leaves the secure pipeline.

3
Download your XLSX file

Your converted file is ready instantly. Click the download button to save it to your device. The file is deleted from memory immediately after download.

Why choose PrivConvert?

Converting XLSM to XLSX should not mean handing a stranger a permanent copy of your data. PrivConvert processes everything in memory and forgets it instantly.

No human ever sees it

Your files are handled entirely by automated code. No staff, partner or AI model ever reads, stores or trains on your data.

Zero data retention

Files are processed in volatile memory (RAM) and purged the instant your download is ready — nothing is ever written to disk, cached or backed up.

Encrypted transfers

Every upload and download is protected with TLS 1.3, so your spreadsheet cannot be intercepted on the way to the server or back to you.

No account required

Convert instantly with no sign-up, no email and no profiling cookies. We never build a profile around you or the files you convert.

XLSM vs XLSX - Format Comparison

FeatureXLSMXLSX
File extension.xlsm.xlsx
Full nameOffice Open XML Macro-Enabled SpreadsheetOffice Open XML Spreadsheet
Introduced20072007
EncodingBinaryBinary
EditableYesYes
Open standardYesYes
Supported by PrivConvertYes (as input)Yes (as output)
Privacy-safe conversionIn-memory, zero storage
Max file size250 MB per file
Batch supportUp to 20 files simultaneously

Why people pick PrivConvert for XLSX

Thousands of people trust PrivConvert with their files because privacy here is structural — enforced by how the service runs, not just promised.

250 MB Max file size
450+ Conversion tools
0 sec File retention
100% Free to use

Frequently Asked Questions

Does this actually remove the macros, or just rename the file?
It removes them. Renaming an .xlsm to .xlsx does not work — Excel reads the package contents, not the extension, and will report the file as corrupt. This converter rebuilds the workbook package without the VBA project, without any Excel 4.0 macro sheets, and with the macro-enabled markings replaced by the plain ones. The removal is then verified: the rebuilt file is re-examined from scratch and if any trace of macro code is still reachable, no file is produced at all. You never get a download that we could not confirm was clean.
Will my formulas, pivot tables and formatting survive?
Yes, exactly as they were. This is the reason the tool works the way it does. The obvious approach — opening the workbook in a converter and re-saving it — rewrites every sheet, and complex workbooks come back approximated: pivot tables lose configuration, conditional formatting drifts, chart styling changes. Instead, this edits the package directly and copies every other part of the workbook byte for byte. Formulas, named ranges, pivot tables, slicers, charts, conditional formatting, cell styles and defined tables are untouched, because they are literally the same bytes.
Why would I need to do this?
Usually because something refuses to accept the file. Mail gateways strip or quarantine macro-enabled attachments, upload forms reject them, and many organisations block them at the endpoint entirely — all for good reason, since macro-enabled Office files have been a primary malware delivery route for years. If the workbook itself does not need its macros, converting to .xlsx makes it deliverable. The other common case is archiving: keeping a long-term copy of a workbook without keeping executable code alongside it.
What is an Excel 4.0 macro sheet, and why does it matter?
It is an older macro system that predates VBA and that Excel still executes. Unlike VBA, which sits in one binary part of the file, an Excel 4.0 macro lives in the workbook’s sheet list like an ordinary sheet — which means a converter that simply looks for the VBA project and deletes it will leave the macro sheet behind completely intact. Attackers have used exactly that gap. This converter removes both kinds, repairs the sheet list so Excel does not then report a damaged workbook, and refuses to return a file if either kind is still present.
Is a macro-free workbook the same thing as a safe workbook?
No, and we would rather say so plainly than let the tool imply otherwise. This removes macro code. It does not remove embedded OLE objects or external data links, because those are legitimate parts of an ordinary .xlsx and deleting them would destroy content you may need. If you were sent a workbook you do not trust, removing the macros meaningfully reduces the risk but is not a substitute for not opening it. What this tool guarantees is precisely what it claims: no VBA and no Excel 4.0 macros in the output.
Can I convert a whole folder of workbooks at once?
Yes. Drop up to 20 files together and you get a ZIP back. If one file cannot be converted the rest still succeed, and a PRIVCONVERT-ERRORS.txt inside the ZIP lists which were skipped and why, so a single bad file never costs you the run.
Do you keep my workbooks, or run the macros to inspect them?
Neither. The macros are never executed — nothing in this conversion interprets VBA, it is treated purely as bytes to be discarded. The file is processed entirely in memory on a server with swap disabled, so it is never written to storage, never logged and never retained, filename included. There is nothing to delete afterwards because nothing was kept.
How fast is it?
Milliseconds, for essentially any workbook. Because the package is edited rather than re-rendered, the work is proportional to file size rather than to spreadsheet complexity — a 50 MB workbook with thousands of formulas takes about as long as an empty one.

Further Reading