Privacy & security

Safe Office File Viewer

Got a Word, Excel, PowerPoint or RTF file you don't trust? See the VBA macros, Excel 4.0 macros, DDE fields, remote links and embedded files inside it, and what looks risky, without opening it in Office.

  • The file is read in your browser. Nothing is uploaded and no macro is run.

How it works

1

Save the attachment, then drop it on the box above. Don't open it in Word or Excel first, and don't click Enable Content.

2

Read the verdict and the findings. Auto-run macros that call Shell or download files, DDE fields and remote templates are the usual warning signs.

3

Open the macro panel and click a finding to jump to the line. Embedded files are listed with their hash so you can look them up.

What it reads

Modern files (.docx, .docm, .xlsx, .xlsm, .pptx and related) are zip packages, so it reads their parts, relationships and any vbaProject.bin. Older files (.doc, .xls, .ppt) are OLE containers, where it finds the VBA storage, macro sheets, embedded objects and summary properties. RTF files are checked for embedded objects, remote templates and DDE fields. The type is detected from the file's contents, not its extension.

What it cannot tell you

A clean result means none of the usual patterns were found, not that the file is safe. Encrypted files cannot be read, macros can be hidden in ways a static check misses, and older binary Excel macro sheets are counted but not decoded. If an email pushes you to enable macros or sign in, verify it with the sender through another channel.

Frequently asked questions

What is VBA stomping and does this check for it?

VBA stomping removes the readable macro source from a file but leaves the compiled p-code, so some scanners see nothing while Office can still run the macro. This tool compares each module's compiled data with its source and flags a module that has a lot of p-code and almost no source. It is a hint, not proof: some tools produce small modules legitimately.

Is my file uploaded?

No. The file is read and analysed in your browser tab. Nothing is sent anywhere and nothing in the file is opened or run. Embedded files are only turned into a download if you click their download button.

Does it run the macros?

No. Macros are read as text and searched for warning signs such as auto-run entry points, Shell and CreateObject calls, downloads and obfuscated strings. Reading a macro is not the same as knowing what it does, so treat the findings as a guide for where to look.

What about password-protected Office files?

Encrypted files are detected and reported, but their content cannot be read without the password, so macros, text and links inside them stay hidden. An encrypted attachment that the sender gives you a password for in the same email is a common way to get past mail filters.

What are Excel 4.0 (XLM) macros?

XLM macros are an older macro language stored as formulas in special macro sheets, often hidden or very hidden, with an Auto_Open name that runs them. They bypass the VBA checks many tools rely on. This tool lists macro sheets, hidden sheets and auto-run names, and for .xlsm and .xlsx files it shows the formulas. For old binary .xls files it reports that a macro sheet exists and how many cells it has, but does not rebuild the formulas.

What is a Follina-style link?

Follina (CVE-2022-30190) abused a remote template or object link in a Word document to make the ms-msdt: handler run commands. The tool lists every external link in the file, including attached templates, linked objects, frames and protocol handlers such as ms-msdt:, search-ms: and ms-officecmd:, and marks the risky ones.

What about other attachment types?

Use the safe HTML viewer for .html and .svg attachments, Check a PDF for PDFs, the email viewer for .eml and .msg files, and the archive virus scanner for ZIP, RAR and ISO files.

Related tools