What is the THMX file format?
.thmx is a theme file associated with Microsoft Office 2007 and later. Unlike document templates, .thmx files do not contain any document data (such as header or footer sections) - only settings such as fonts, colors, and visual effects. The same .thmx theme can be applied to Word, Excel, or PowerPoint documents, making it the standard way to share a consistent look and formatting across all three applications.
Internally, a .thmx file is a ZIP archive built on Open Packaging Conventions (OPC), the same container used by .docx, .pptx, and .xlsx. Renaming the file to .zip lets any archive tool inspect its contents. The core entry is theme/theme1.xml, a DrawingML part that defines a color scheme, a font scheme, and a format effects scheme. Optional embedded images or custom fonts increase the file size beyond its typical few kilobytes.
Theme files can be generated in any of the above-mentioned applications. A custom theme can be built using the Design tab's theme editor panel in PowerPoint or Word. The exported theme can then be saved as a .thmx file and reused as a shared style source across documents.
Design templates such as .potx, .dotx, and .xltx each embed a theme internally; .thmx is the standalone, portable form that lets you extract and redistribute that theme on its own.
Security & safety
RISK: LOWA .thmx is styling data (colors, fonts, effects), not a macro or executable, so applying one is low risk - it cannot run code. The only real caveats: a theme may embed custom fonts or a background image, and applying a theme overwrites your document's current colors/fonts (keep a backup if you want to revert). Download themes from reputable sources; the rename-to-zip trick lets you inspect contents before applying.
Format details
in a nutshellPrograms that open THMX files
Technical details
deep spec| Container format | ZIP archive (Open Packaging Conventions / OOXML OPC); same envelope as .docx, .pptx and .xlsx |
| Core XML schema | DrawingML per ECMA-376 / ISO/IEC 29500; root element a:theme inside theme/theme1.xml |
| Magic bytes | 50 4B 03 04 ("PK") at offset 0 - standard ZIP local-file-header signature |
| MIME type | application/vnd.ms-officetheme |
| Alternate MIME type | application/vnd.openxmlformats-officedocument.themeoverride+xml (for theme override parts embedded inside OOXML documents) |
| Encoding | Binary ZIP envelope wrapping UTF-8 XML entries |
| Compression | DEFLATE applied per ZIP entry |
| Color scheme | 12 named color slots (dk1, dk2, lt1, lt2, accent1-accent6, hlink, folHlink) defined in the a:clrScheme element |
| Font scheme | Major (heading) and minor (body) font pair defined in the a:fontScheme element |
| Effects scheme | Three preset intensity levels - subtle, moderate, and intense - defined in the a:fmtScheme element |
| Content Types map | [Content_Types].xml at ZIP root maps each OPC part to its content type per the OPC specification |
| Typical file size | 5 KB - 2 MB; grows when background images or embedded fonts are included |
| Integrity check | Per-entry CRC-32 checksum (ZIP); no document-level digital signature by default |
| Scope of application | Applies uniformly to Word, Excel, and PowerPoint; the same DrawingML theme is embedded inside .potx, .dotx, and .xltx design templates |
| Released | 2007 (Office 2007 'Fluent' UI and OOXML) |
| Latest version | Office Open XML theme (ECMA-376 / ISO/IEC 29500 DrawingML theme part); current Microsoft 365 |
| Open standard | Yes · royalty-free |
| Specification | learn.microsoft.com |