.DOTX

DOTX File

Microsoft Word Open XML Template
Ask a question
QUICK ANSWER

A DOTX file is a Microsoft Word template - a reusable document with predefined layout, styles, and boilerplate text. Double-clicking it creates a new document from it, not opens the template for editing. To open without Office, use free LibreOffice Writer, Word for the web, or Google Docs. To edit the template itself, right-click and choose Open instead of double-clicking.

Developer: Microsoft Category: Text Files Open standard MIME: application/vnd.openxmlformats-officedocument.wordprocessingml.template
OPENS ON Windows macOS Linux Android iOS Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

19k+ extensions indexed
Last reviewed Sep 11, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DOTX file format?

Files with the .dotx extension are template files created by Microsoft Word. A .dotx file stores document settings and page layouts - including styles, AutoText entries, and toolbar configurations - but deliberately excludes macros; macro-enabled Word templates use the .dotm extension instead.

.dotx template files are commonly used for creating multiple .docx documents with the same formatting schema. Templates allow users to reuse previously created document formatting and layouts without the need to create new ones for each document individually. .dotx files are very convenient tools for creating similar documents, such as newsletters, business plans, or resumes.

.docx is somewhat more widely recognized than .dotx, and both share many similarities - for example, they store the same types of data, such as styles, images, and text content. .dotx files offer the option to password-protect the content, a useful feature that prevents the template from being modified when multiple users are working from it.

  • .dotx combines XML structure and ZIP compression to reduce file size; its contents can be inspected by renaming it to .zip.
  • It replaces the older .dot binary template format, introduced alongside Microsoft Office 2007.
  • The default global Word template is named Normal.dotx; modifications saved to it affect the formatting of all new blank documents.

Security & safety

RISK: LOW

A plain DOTX is macro-free, so it cannot run VBA code - that makes it safer than the macro-enabled .dotm or the legacy binary .dot. A normal template is just styled text, layout and images. The residual risks: (1) a macro-enabled template (.dotm) or a renamed file could carry VBA malware via 'template injection', so never click 'Enable Content' on a template you didn't expect; (2) templates from the internet open in Office Protected View. Opening an unknown .dotx in LibreOffice or Google Docs is generally safe because the content renders without executing Word VBA.

Format details

in a nutshell
FULL NAMEMicrosoft Word Open XML Template
DEVELOPERMicrosoftsince 2007 (Word 2007 / Office Open XML)
CATEGORYText Files
MIME TYPEapplication/vnd.openxmlformats-officedocument.wordprocessingml.template
TYPEZIP-based Office Open XML document template (zipped XML)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
A DOTX is a ZIP archive (OOXML package), so it starts with "PK" (50 4B 03 04) like DOCX and any ZIP. It is distinguished from DOCX internally by its content type (…wordprocessingml.template) in [Content_Types].xml. The macro-free DOTX contrasts with the older binary .dot (OLE2, D0 CF 11 E0) and the macro-enabled .dotm.

Programs that open DOTX files

Windows3 apps
Microsoft Word Paid Double-click to start a NEW document from the template. To EDIT the template, right-click > Open (or File > Open the .dotx directly).
LibreOffice Writer Open-source Free. Double-click to create a document from it; use File > Templates > Manage to edit/organize templates.
WPS Office Writer Freemium Free Word-like editor; opens DOTX templates and creates documents from them.
macOS3 apps
Microsoft Word Paid Double-click to make a new document from the template; right-click > Open to edit the template itself.
Apple Pages Free Free on Mac; File > Open imports a DOTX (as a document); fidelity is good for simple templates.
LibreOffice Writer Open-source Free alternative; opens and uses DOTX templates.
Linux1 app
LibreOffice Writer Open-source Pre-installed on most distros; double-click to create a document from the DOTX, or manage it as a template.
Android1 app
Microsoft Word (mobile) Freemium Open the .dotx to create a document from it; basic editing is free on phones.
iOS1 app
Microsoft Word (mobile) Freemium Open the .dotx on iPhone/iPad to start a document from the template.
Web2 apps
Google Docs Free Upload to Google Drive and open with Google Docs to view/use the template content; download as DOCX/PDF.
Word for the web Free Upload the .dotx to OneDrive and open in Word online (free Microsoft account) for the highest fidelity.

Technical details

deep spec
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.template
Container formatZIP archive (Office Open XML package) - the file is a valid ZIP and can be opened with any ZIP tool
Magic bytes50 4B 03 04 ("PK") at offset 0 - identical to any ZIP file at the binary level
Content type identifierMain part carries ContentType ending in wordprocessingml.template.main+xml in [Content_Types].xml, distinguishing it from .docx at the package level
Macro supportNone - macro-free by design; macro-enabled templates use the .dotm extension
Main document partword/document.xml - the primary XML part holding body content inside the ZIP package
Styles storageword/styles.xml - defines paragraph, character, table, and list styles applied across the template
AutoText and building blocksStored in word/glossary/document.xml as a subordinate glossary document part
Theme dataCustom color, font, and effect themes stored in word/theme/theme1.xml
Open behaviorOpening a .dotx in Word creates a new unsaved .docx document; the template file itself is not directly edited
Default global templateNormal.dotx - Word's built-in fallback template; changes to it affect all new blank documents
Predecessor formatReplaces the binary .dot format (OLE2 compound document structure) superseded by Office 2007
XML encodingAll XML parts within the package use UTF-8 character encoding
Password protectionSupports write-protection and editing-restriction passwords to prevent unauthorized changes to the template
Released2007 (Word 2007 / Office Open XML)
Open standardYes · royalty-free
Specificationlearn.microsoft.com

DOTX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DOTX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DOTX files.

Frequently asked questions

How do I open a DOTX file?
Double-click it and Word (or LibreOffice Writer) opens a NEW document based on the template - that's normal template behavior. No Office? Use free LibreOffice Writer, Word for the web, or Google Docs.
What is the difference between DOTX and DOCX?
DOCX is a finished document; DOTX is a TEMPLATE. Opening a DOTX creates a new untitled document from it (leaving the template intact), whereas a DOCX opens the document itself. Structurally they're nearly identical ZIP/XML files.
How do I edit a DOTX template instead of creating a document from it?
Don't double-click (that makes a new doc). Instead right-click the .dotx > Open, or in Word use File > Open and select the template directly. In LibreOffice use File > Templates > Manage. Then edit and save as .dotx.
How do I open a DOTX without Microsoft Word?
Use the free LibreOffice Writer (Windows/Mac/Linux), upload it to Google Docs, or open it in Word for the web - all free. Apple Pages on a Mac also opens DOTX.
What is the difference between DOTX and DOTM?
DOTX is a macro-free template; DOTM is a macro-enabled template that can run VBA. Use DOTX unless you specifically need macros - it's the safer choice and won't trigger macro warnings.
How do I turn a document into a DOTX template?
In Word, open or create the document, then File > Save As and choose 'Word Template (*.dotx)'. Word stores it in your Custom Office Templates folder so you can start new documents from it.

References

1ISO/IEC 29500 - Office Open XML File Formatswww.iso.org
2Microsoft - [MS-DOCX] / Office Open XML formatslearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z