oletools
Python tools to analyse Office documents, OLE files and RTF for VBA and Excel 4 macros, embedded objects and DDE links.
Python CLI · Open source · Data analysis and case notes · github.com
- Takes
- File
- Pricing
- Free, open source
- Footprint
- Passive · no contact with target
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 27, 2026
Python tools to analyse Office documents, OLE files and RTF for VBA and Excel 4 macros, embedded objects and DDE links. It takes file. Read the cons before you build a workflow on it.
What it does
oletools is an open-source package of Python tools for analysing Microsoft OLE2 files, such as Office 97-2003 documents, MSI files and Outlook messages, as well as RTF files and newer OpenXML Office files. Tools like olevba, oleid, oleobj, rtfobj and mraptor detect, extract and analyse VBA macros, Excel 4 macros, embedded OLE objects and DDE links.
Investigators and malware analysts use it to check whether a suspicious document carries macros or embedded payloads before anyone opens it, and to extract the code for closer study. It also reads document metadata, which helps when attributing a file.
Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.
- +Free, open source and widely used in malware analysis
- +Covers old and new Office formats plus RTF
- +Works offline from the command line
- +Usable as a Python library
- −Focused on Microsoft formats only
- −Output assumes some malware analysis knowledge
- −Releases come slowly
When to use it
- 01Use it when you receive a suspicious Office document and want to see whether it contains macros.
- 02Use it when you need to extract embedded objects or code from a document for analysis.
Next steps from this result
Suggested from the inputs oletools takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
Docs (opens in new tab)pip install -U oletools olevba suspicious.docm
Technical details
Listing verified by an editor on Nov 27, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Passive · no contact with target
- Pricing
- Free, open source
- Platforms
- Python CLI
- Repository
- decalage2/oletools 3,461 stars
- Language
- Python
- Last commit
- Jan 2026
- Listed
- Nov 27
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used oletools? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to oletools
Listed tools that take the same inputs, closest match first.
- AI Voice DetectorFreemium · Passive · APIWhat it does
Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API.
FileNo ratings yetVerified yesterday - ALEAPPOpen source · PassiveWhat it does
Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs.
FileNo ratings yetVerified yesterday - APKLeaksOpen source · PassiveWhat it does
Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets.
FileNo ratings yetVerified yesterday