DOCX

Document Properties

Set core, extended (app), and custom document properties

Core Properties

Core metadata is written to docProps/core.xml and read back on parse. Set these fields directly on the document options:

{
  "title": "Quarterly Report",
  "subject": "Finance",
  "creator": "Jane Doe",
  "keywords": "q4, finance",
  "description": "Quarterly financial report",
  "revision": 2,
  "sections": []
}
PropertyTypeDescription
titlestringDocument title
subjectstringSubject
creatorstringAuthor
keywordsstringKeywords
descriptionstringDescription
lastModifiedBystringLast modifier
revisionnumberRevision number
lastPrintedstringLast printed date (W3CDTF)
createdstringCreation date (W3CDTF)
modifiedstringLast modified date (W3CDTF)

Extended Properties

appProperties are written to docProps/app.xml. The commonly user-set fields are template, manager, company, and application; the rest (pages, words, characters, …) are document statistics typically computed by Office:

{
  "appProperties": { "company": "Globex", "manager": "Jane Doe" },
  "sections": []
}
PropertyTypeDescription
templatestringTemplate name
managerstringManager name
companystringCompany name
applicationstringApplication name
appVersionstringApplication version
pagesnumberPage count
wordsnumberWord count
charactersnumberCharacter count
linesnumberLine count
paragraphsnumberParagraph count
totalTimenumberTotal editing time (min)
hyperlinkBasestringHyperlink base URL
docSecuritynumberDocument security level

Custom Properties

customProperties are written to docProps/custom.xml. Each value is a string:

{
  "customProperties": [
    { "name": "ProjectId", "value": "PRJ-42" },
    { "name": "Department", "value": "Finance" }
  ],
  "sections": []
}
PropertyTypeDescription
namestringProperty name
valuestringProperty value
Copyright © 2026