Online Excel Editor
Free · No Signup · Local Processing

Remove Macros from Excel Online

Strip VBA from .xlsm and get a clean .xlsx — same result as "Save As .xlsx" in Excel. No upload, no sign-up: the file never leaves your device. Batch support included.

Drop .xlsm or .xlsx files here, or click to browse

Supports .xlsm / .xlsx · processed locally · never uploaded

How to Remove Macros from an Excel File

  1. Drop one or more .xlsm workbooks — everything is processed locally and never uploaded.
  2. Click Remove macros — the VBA project is stripped and the workbook is repackaged as .xlsx.
  3. Check the report — files with no macros are flagged as clean, encrypted files are flagged as unreadable.
  4. Download the result — a single file downloads directly; multiple files come back as a ZIP.

How It Works

A .xlsm workbook is a ZIP archive, identical to .xlsx except for one extra binary part: xl/vbaProject.bin, which holds the compiled VBA project (every module, form, and class). Excel treats the file as macro-enabled because three markers point to that part: an Override in [Content_Types].xml, a Relationship in xl/_rels/workbook.xml.rels, and the workbook’s own content type ending in “macroEnabled.main+xml”.

This tool deletes vbaProject.bin, removes both references, and flips the workbook content type to the regular spreadsheet type. The result is a plain .xlsx — exactly what Excel itself produces when you use “Save As” and pick .xlsx. All cell data, formulas, styles, and charts are untouched.

Macro removal is irreversible. Any buttons, ribbon commands, form controls, or event handlers that depend on VBA will stop working in the cleaned copy. Keep the original .xlsm if you might need the macros again.

What Macros Can Do (and Why You Might Remove Them)

VBA is a full programming language embedded in the file. A macro can read and modify every cell, open network connections, write to your disk, launch other programs, and send data to a remote server. That power is why Excel shows the yellow “Enable Content” bar — and why receiving an .xlsm from an unknown sender is a classic phishing pattern.

  • You received an .xlsm from outside your organization and only need the data, not the automation.
  • Your security policy forbids macro-enabled files, but the sender only has the .xlsm.
  • You are archiving or sharing a workbook and want to eliminate the macro-enabled warning for recipients.
  • You want to inspect the data first before deciding whether to trust the embedded code.

How This Compares to Other Ways of Stripping Macros

MethodWhere your file goesNotes
This toolNowhere — your browserFree, batch support, instant; same output as “Save As .xlsx”
Excel “Save As .xlsx”Stays on your deviceRequires a full Excel install; one workbook at a time
Antivirus / sandbox detonationUploaded to the AV vendorDetects malicious macros; doesn’t produce a clean file for you
GroupDocs / Aspose online toolsUploaded to their serversFile leaves your device; often watermarked or rate-limited

Limitations

  • Only the VBA project is removed. Excel 4.0 macro sheets (XLM), defined-name tricks, and formula-based payloads are not touched — open the cleaned file with the same care as any other spreadsheet from an untrusted source.
  • Encrypted files (Excel asks for a password before opening) cannot be read without that password.
  • Legacy .xls files use a different binary format; convert them to .xlsm or .xlsx first.
  • Only use this tool on files you own or have permission to modify. Removing macros from a workbook does not transfer any rights to its content.

Frequently Asked Questions

Is this macro remover really free?

Yes — 100% free, no sign-up, no watermark, no file limit. Everything runs in your browser.

Will my file be uploaded to a server?

No. The ZIP archive is opened, edited, and repacked entirely in your browser with JavaScript. The file never leaves your device.

Is stripping vbaProject.bin the same as “Save As .xlsx”?

Yes. The output is byte-equivalent in structure: the VBA project, its content-type override, and its relationship are removed, and the workbook content type is flipped to the plain spreadsheet type.

Will my data, formulas, and charts survive?

Yes. Only the macro binary and its references are touched. Cells, formulas, styles, charts, and pivot tables are preserved exactly.

What about files that ask for a password to open?

Those are genuinely encrypted. Without the password the archive cannot even be read, so the macros cannot be removed by this or any other honest tool.

Can I process several .xlsm files at once?

Yes. Drop multiple files; each is processed in one pass and the results download together as a ZIP.

Does this remove Excel 4.0 (XLM) macro sheets?

No. XLM macros live in a separate part of the workbook and are a known phishing vector. If you suspect XLM macros, open the file in a sandboxed environment instead of relying on this tool.

Can I undo macro removal?

Not on the cleaned copy. Always keep the original .xlsm if there is any chance you will need the macros again.

Related Tools

Need to view or edit the cleaned spreadsheet afterwards?

Open the free online Excel editor