Independent product studio · Swedenhello@karelialabs.com

Guide

Hidden data in Word, Excel and PowerPoint files: a reference

Short answerA .docx, .xlsx or .pptx file is a ZIP package of XML parts, and several parts hold facts about the people and computers behind it. The table names each item, its part and what it can reveal.

Updated

Part names are the usual ones; the PureDoc engine finds parts through the package's relationships, so a file can use other names. Rows follow what the engine inspects and its test files plant.

ItemPart of the fileWhat it can reveal
Author (creator), Last saved by (lastModifiedBy)docProps/core.xmlWho wrote the file and who saved it last
Created, modified, last printed, revisiondocProps/core.xmlWhen the file was made, changed and printed, and a revision number
Title, subject, keywords, category, status, descriptiondocProps/core.xmlWorking titles and notes typed into the properties
Company, ManagerdocProps/app.xmlA company name and a manager's name
Application, AppVersion, Template, TotalTime, statistics, titles of partsdocProps/app.xmlProgram and version, template name, minutes of editing, page and word counts, part titles such as sheet names
Custom propertiesdocProps/custom.xmlAny extra field with a name and a value
ThumbnaildocProps/thumbnail.jpeg or another picture typeA small picture of the first page
Attached template, mail merge sourceattachedTemplate and mailMerge in word/settings.xmlPaths that can include the user name (C:\Users\name\...) and the address list a letter was merged with
rsids, document id, document variablesrsids and docId in word/settings.xml; rsid attributes in every Word partIDs that link edits to editing sessions and tie copies together; stored values
Comment and tracked-change authorsword/comments.xml, commentsExtended, commentsIds, commentsExtensible, people.xml; w:ins, w:del and other change marksNames, initials and dates of everyone who commented or changed the text
Last saved folder, document id, reserved byx15ac:absPath, xr:revisionPtr and fileSharing userName in xl/workbook.xmlThe folder the workbook was saved in, an ID and a user name
Linked workbooksxl/externalLinks/ parts and their relationshipsFull paths and web addresses of other workbooks
Notes, threaded comments, personsThe sheet's comments part, xl/threadedComments/, xl/persons/person.xmlAuthor names, account IDs and dates; a note starts with its author's name in bold
Pivot refresh, shared-workbook historyPivot cache definitions; revision and user name partsWho refreshed a pivot table and when; shared-workbook users and history
Data connectionsxl/connections.xmlA server, an account or a file path
PowerPoint comment authorsppt/commentAuthors.xml, ppt/authors.xml, ppt/comments/Names, initials, account IDs, presence info and comment dates
Editing sessions, co-authorsppt/revisionInfo.xml, ppt/changesInfos/Editing sessions with dates, and co-authors' names
Printer settingsprinterSettings parts, such as xl/printerSettings/printerSettings1.binThe printer's name
Custom XML, digital signaturecustomXml parts; digital signature partsData stored beside the document, possibly an owner or user name; the signer's name
PicturesJPEG, PNG and TIFF files in the package; cNvPr and docPr name, descr, titleGPS, camera, dates and software (EXIF, XMP, IPTC, PNG text, TIFF tags); original picture file names
ZIP containerEntry dates, NTFS and Unix times, comments and extra fieldsTimes from the computer that wrote the file

Author and Last saved by

Both sit in docProps/core.xml. Office fills them from the user name set in the program, so a document passed from person to person keeps its first author and shows who saved it last.

The template path

Word stores the attached template in word/settings.xml (attachedTemplate), with its path in that part's relationships; a template in the user's own folder gives a path with the Windows user name in it. In Excel, x15ac:absPath in xl/workbook.xml holds the folder the workbook was last saved in.

rsids

Word gives each editing session a revision-save ID (rsid), lists them in word/settings.xml and writes them as attributes such as rsidR in every Word part. They hold no name but show which text came from the same session; files that share rsids share history.

How to look at this in your own file

The free Word, Excel and PowerPoint metadata checker shows what a file carries and only reads it. PureDoc lists the same items on a receipt and writes a clean copy: comment and change authors become "Author" and the text stays; data connections are kept and marked "?"; hidden sheets, slides, text and speaker notes are listed and kept. By hand: rename a copy to .zip and open docProps/core.xml.

FAQ

Where is the editing time stored?

In docProps/app.xml, as TotalTime, counted in minutes.

Do comments keep their author after cleaning?

With PureDoc the text stays and every author, initial and date is replaced (a required date becomes 1980-01-01). An option removes all comments.

Are the old .doc, .xls and .ppt files covered?

No. This reference covers .docx, .xlsx, .pptx and their macro and template variants; PureDoc refuses the old binary formats.

More guides

More from Karelia Labs