Remove macros from a Word document with this free online tool. Upload your .docm or .dotm file, and the tool first shows you what is inside it: the VBA macro project and its size, a signed macro part, macro data, ActiveX controls, and embedded objects. Then it strips the macros out and gives you a clean .docx file, or a clean .dotx file for a template, with the same text. Your file stays in your browser the whole time. Nothing is uploaded, and no account is needed.
A macro is a small program inside a Word file. It can save time when you write it yourself, but a macro from an unknown file can do harm, and that is why Word blocks macros in files from the internet by default since July 2022. Many email services and security tools block .docm files too, so a document with macros often never reaches the reader. Word has no simple way to strip macros out of a file. You can save a copy as .docx, but Word warns you that the macros will be lost, and a template or a file with ActiveX controls needs more care. This tool checks the file first, lists what it finds, removes the macro parts and the links that point at them, and then reads the new file again to prove it is clean.

Why remove macros from a Word document?
A .docm file looks like a normal Word document, but it can run code when it opens. That is the whole point of a macro, and it is also the risk. A file from a colleague, a client, or a download site can hold a macro you never asked for. Even a macro you wrote yourself becomes a problem when you share the file, because the reader’s Word or email service may block it. A clean .docx opens everywhere, with no warning and no block.
Word blocks macros from the internet
Since July 2022, Word blocks macros in files that come from the internet by default. The reader sees a warning bar and must choose to allow the macro before it can run. Many readers will not do that, and some company policies block macros outright. If your document only needs its text, tables, and pictures, a clean .docx is the safer file to send.
See what is inside before you remove it
Nothing is removed blind. After the upload, you see a table with each finding: the VBA macro project and its size in KB, a signed macro part if one is there, macro data, ActiveX controls, and embedded objects. You press the button only after you have read the report. The tool then builds a new document and reads it again to prove the result before you download it.
Macros, ActiveX controls, and embedded objects are not the same thing
A macro lives in the VBA project part of the file. An ActiveX control is a button or a box in the document that can run code, and it lives in its own parts with links from the document. An embedded object is a file pasted inside the document, such as an Excel sheet, and it can hold real content you want to keep. This tool removes the VBA project, the signed macro part, the macro data, and the ActiveX controls, with the links that point at them. It does not remove embedded objects. It only flags them in the report, so you can open the file in Word and check them yourself.
Private by design
Your document never leaves your device. The work happens in your browser with JavaScript. That matters for files with client names, prices, and internal plans in them. No file is stored on any server, and nothing is kept after you close the page. A macro file should never be uploaded to a random server to be cleaned, because the macro code goes with it. Here the file never leaves your computer.
How to remove macros from a Word document
- Drop your .docm or .dotm file into the upload area, or click to choose it from your device. You can also press Try the sample document to see the tool work first. A plain .docx or .dotx file works too, to check that it has no macros.
- Read the report. It shows the file type, the VBA macro project and its size, a signed macro part, macro data, ActiveX controls, embedded objects, and the links to macro parts that will be removed.
- Press Remove macros and make the new document. The tool drops the macro parts, the ActiveX parts, the links that point at them, and the ActiveX controls in the text, then switches the file type from macro-enabled to normal.
- Wait a few seconds, read the check line that proves the result, and download your new file. A .docm becomes a .docx, and a .dotm becomes a .dotx.
What the tool keeps, and what it does not do
The new document keeps the same text on every page. The paragraphs, tables, pictures, and formatting do not change. The sample on this page had a real VBA macro project of 4.5 KB and 1 link to the macro part. After removing them, the file went from 37.3 KB to 35.9 KB, and every paragraph kept its text. A second test file with a signed macro part, macro data, 1 ActiveX control, and 3 macro links had 5 parts removed, and its embedded object stayed in the file, flagged in the report. The tool handles files up to 50 MB. Password protected files are refused with a clear message, and old .doc files are not accepted. Your original file is never changed. The tool always builds a new file for you to download.
The tool does not show the macro code. It tells you the size of the macro project and removes it. If you want to read the code before you remove it, open the file in Word first and look at the macros there. The tool also does not remove embedded objects, because they can hold real content. Open the new file in Word and check any flagged object yourself before you share the file.
Frequently asked questions
How do I remove macros from a Word document?
Upload your .docm file, read the report, and press Remove macros and make the new document. Download the new .docx file when it is ready. The macro project, the signed macro part, the macro data, and the ActiveX controls are all gone.
Does it work with Word templates (.dotm)?
Yes. Upload the .dotm file the same way. The tool removes the macros and gives you a clean .dotx template. The template keeps its text and formatting.
What happens to ActiveX controls?
They are removed. The tool drops the ActiveX parts, the links that point at them, and the control elements in the document text. The rest of the document stays the same.
What happens to embedded objects?
They stay in the file. An embedded object, such as an Excel sheet pasted into the document, can hold real content, so the tool only flags it in the report. Open the new file in Word and check the flagged object yourself before you share it.
Does the tool read or show the macro code?
No. It reports the macro project and its size, then removes it. If you want to read the code first, open the file in Word and look at the macros there before you use this tool.
Will the text and the formatting change?
No. The text stays exactly the same. Only the macro parts, the ActiveX controls, and the links to them go away. The sample on this page keeps all of its text after the macro project is removed.
Is my document uploaded to a server?
No. The whole job runs in your browser. Your file never leaves your device, and nothing is stored after you close the page.
Related tools
If your document still needs work, strip private details from it with the Word Document Cleaner, take the pictures out with Remove Images from Word Document, clean the links out with Remove Hyperlinks from Word Document, or clean the links out of a spreadsheet with Remove Hyperlinks from Excel Spreadsheet.
Need a Custom Solution or Help?
We can build a custom tool for your workflow, fix an issue, or help you get the most from our free tools.
