Skip to content

What’s Really Inside a Word, Excel, or PowerPoint File (And How to See It)

Every Word, Excel, and PowerPoint file you save is actually a ZIP archive packed with small XML files. That means you can crack open any .docx, .xlsx, or .pptx file using nothing more than Windows Explorer or a free compression tool, no special software required. Whether you want to see which fonts are embedded in a document, investigate why a file is behaving strangely, or simply satisfy your curiosity about what Office is doing behind the scenes, this simple four-step method gives you a clear view of everything inside.

Very occasionally it’s helpful or necessary to dig into the structure of an Office document.  Maybe you’re trying to figure out why a document is misbehaving or to get a list of all the fonts used.

Look inside Office file .docx .xlsx .pptx

Many Office users can go through their entire life without needing to open a Microsoft Office file, but if you ever do, here’s how.

  1. Copy any .docx .xlsx .pptx or other modern Office file
    • Not password protected.
    • Make a copy of the document, leave the original safely intact.
  2. Rename the file to .zip ending.
    • That will allow any compression program or Windows/Mac to open the file and view the contents.
    • For example. OfficeWatch.docx renames to OfficeWatch.docx.zip
    • All modern Office documents with four letter extensions (docx, xlsx etc) are really ZIP compressed files.
  3. Extract the file contents to your computer in a separate folder.
    • Any compression program will do, WinZIP, 7zip, WinRAR (long time Office Watch recommendation) or the simple unpacking tool in Windows or Mac.
    • In Windows, right-click on any .ZIP file choose Extract All … and follow the wizard. That will unzip all the files into a new folder.
  4. View the small files that make up a modern Office document.
    • Mostly XML (text) files that can be opened in Notebook or other text editor.
    • Look for a sub-folder with the name of the app; Word, Excel etc … Here’s a sample Word document contents.

Document.xml contains the document text etc itself

fontTable.xml has a list of all fonts used

styles.xml lists all the styles in the document.

OpenDocument format too

You can do the same thing with OpenDocument ODF files like .odt documents.

Look, rarely touch

This trick is great for looking inside Office documents but editing the XML files is rarely needed or wise.  The structure of Office docs is complicated and interconnected, changing the raw contents might break something.

Myth Busting about Office document formats

How to list all fonts in a Word document

List fonts in a Word document: method 2

Stop Using Old Office Document Formats Now

What is the ‘Custom XML’ feature in Word?

Office now supports ODF version 1.3 documents

There are two official document standards: why?

Solving The Font Embedding Problem in Word and PowerPoint

About this author

Office-Watch.com

Office Watch is the independent source of Microsoft Office news, tips and help since 1996. Don't miss our famous free newsletter.

Office 2024 - all you need to know. Facts & prices for the new Microsoft Office. Do you need it?

Microsoft Office upcoming support end date checklist.