Extract embedded files and macros from office documents.
Switch branches/tags
Nothing to show
Clone or download
John Davison
Latest commit 20a53da Jun 7, 2018
Failed to load latest commit information.
.gitignore added excel files to .gitignore Jan 24, 2012
LICENSE added MIT license Aug 11, 2014
README.md updated readme Dec 10, 2013
officeparser.py fixed a variable scoping issue Jun 7, 2018



officerparser.py is a python script that parses the format of OLE compound documents used by Microsoft Office applications.

Some useful features of this script include

  • macro extraction
  • embedded file extraction
  • format analysis

Execute the script with the --help option to view all available options.

useful options


This extracts all macro code that can be detected in an office document. Use the -o or --output-dir option to specify the directory to store the files.