.DOT

DOT File

Microsoft Word 97-2003 Document Template
Ask a question
QUICK ANSWER

A DOT file is a Microsoft Word 97-2003 document template holding preset styles, boilerplate text, page layout, and optionally VBA macros. Double-clicking one creates a new document from it rather than opening the template for editing. Open it in Microsoft Word or the free LibreOffice Writer; to edit the template itself, right-click and choose Open. The main safety concern is embedded VBA macros.

Developer: Microsoft Category: Layout Files MIME: application/msword
OPENS ON Windows macOS Linux Android Web
Related: .OXPS · .PUB · .IDML · .INDD

On this page

19k+ extensions indexed
Last reviewed Jun 17, 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 DOT file format?

.dot files are used by Microsoft Word versions 97 to 2003. They store document templates - reusable starting points that define text formatting and other document elements, including formal headers, footers, styles, and macros. Templates can be freely edited, customized, or created from scratch.

Like .doc documents, .dot files are saved in binary format using the OLE2 Compound File Binary structure (the same container used by legacy Excel and PowerPoint files). The template is not identified by a different file signature - the magic bytes D0 CF 11 E0 A1 B1 1A E1 are shared with .doc, .xls, and .ppt - but by its extension and an internal fTemplate flag set inside the file's FIB (File Information Block). In practice, renaming a .doc to .dot causes Word to treat it as a template.

A key behavior: double-clicking a .dot file normally opens a new unsaved document based on the template rather than the template itself. To edit a .dot file directly, right-click it and choose Open inside Word. Word's own global default template is Normal.dot.

.dot template files were supported by the following versions of Microsoft Word:

  • Word 97
  • Word 2000
  • Word 2002 (XP)
  • Word 2003

Starting with Word 2007, Microsoft moved to the Open XML format. Template files now use the .dotx extension (macro-free) or .dotm extension (macro-enabled). Word 2007 and later can still open .dot files without issue.

Security & safety

RISK: MEDIUM

The real risk in .dot files is VBA macros. Because templates run automatically when a document is based on them, malicious .dot/.dotm templates were a classic macro-malware vector ('enable content' phishing), and a poisoned Normal.dot can infect every new document. Modern Word opens templates from email/internet in Protected View with macros disabled - do not enable macros in a template from an untrusted source. Opening in LibreOffice is generally safer because its macro engine differs from Word VBA. The template's text and styles are harmless; only embedded macros and linked objects pose a threat. If Word behaves oddly at startup, a corrupted Normal.dot/Normal.dotm is a common (non-malicious) cause - renaming it forces Word to rebuild a clean one.

Format details

in a nutshell
FULL NAMEMicrosoft Word 97-2003 Document Templateaka Word template (legacy), DOT template file
DEVELOPERMicrosoftsince 1997 (Word 97); template concept dates back to early Word, OLE-based .dot from Word 97-2003
CATEGORYLayout Files
MIME TYPEapplication/msword
TYPEOLE2 Compound File Binary (binary)
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
D0CF11E0A1B11AE1
ASCII
········
Identical header to .doc, .xls, .ppt and other legacy Office binaries (the OLE2 "magic number"). A .dot is internally the same as a .doc - it contains a "WordDocument" stream - and is identified as a template by its extension and the fTemplate flag in the document properties, not by a different signature.

Programs that open DOT files

Windows3 apps
Microsoft Word Paid Double-click to create a new document FROM the template. To edit the template itself, right-click > Open, or in Word use File > Open and select the .dot.
LibreOffice Writer Open-source Free, full-featured. Opens .dot for editing or as a template; File > Save As to convert to .dotx/.docx/.odt. The best no-cost option.
WPS Office Writer Freemium Opens and edits legacy Word templates; the former 'Kingsoft Writer'. Use wps.com, not old kingsoftstore links.
macOS2 apps
Microsoft Word Paid Opens .dot the same way as on Windows; double-click for a new document, File > Open to edit the template.
LibreOffice Writer Open-source Free alternative for Apple silicon and Intel; opens and converts .dot templates.
Linux1 app
LibreOffice Writer Open-source Preinstalled on most distros; double-click to open the .dot, or use File > Templates to manage it.
Android1 app
Microsoft Word (mobile) Freemium Install Word for Android; tap the file to view/edit. Editing is free on small-screen devices.
Web1 app
Google Docs Free Upload the .dot to Google Drive and open with Google Docs; it imports as an editable document (template behavior is not preserved). Download back as .docx.

Technical details

deep spec
Container formatOLE2 Compound File Binary (CFBF) - the same structured-storage container as legacy .doc, .xls, and .ppt files
EncodingBinary; text content stored as Windows code-page encoding or UTF-16 LE depending on the document
Byte orderLittle-endian (required by the OLE2 specification)
MIME typeapplication/msword (also application/x-msword or application/vnd.ms-word.template.macroEnabled)
File signature (magic bytes)D0 CF 11 E0 A1 B1 1A E1 at offset 0 - identical to .doc, .xls, and .ppt (the OLE2 signature, not unique to .dot)
Template identificationfTemplate bit set in the FIB (File Information Block); extension alone also triggers template behavior in Word
Internal streamsWordDocument, 1Table/0Table, Data, and SummaryInformation streams; optional VBA Macros storage sub-directory
Macro supportFull VBA macro support via an embedded VBA storage sub-directory inside the OLE2 container
CompressionNone - streams are stored uncompressed within the OLE2 compound file
EncryptionOptional RC4 ("Office 97/2000" scheme) applied when the file is password-protected
Typical file size20 KB - 2 MB, depending on embedded content, images, and macros
Opening behaviorDouble-clicking creates a new unsaved document based on the template; to edit the template itself, right-click and choose Open
Global templateWord's default global template is stored as Normal.dot (replaced by Normal.dotm starting with Word 2007)
Supported Word versionsWord 97, Word 2000, Word 2002 (XP), Word 2003 - uses nFib-based FIB versioning to distinguish these releases
Successor formats.dotx (macro-free Open XML template) and .dotm (macro-enabled Open XML template), introduced in Word 2007
Released1997 (Word 97); template concept dates back to early Word, OLE-based .dot from Word 97-2003
Latest versionWord 97-2003 binary template (final; superseded by DOTX/DOTM in Office 2007)
Specificationlearn.microsoft.com

DOT conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DOT 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 DOT files.

Frequently asked questions

What is a DOT file?
It is a Microsoft Word 97-2003 document template - a reusable layout with preset styles, boilerplate text and sometimes macros. New documents are created from it. The modern equivalents are DOTX and DOTM.
How do I open a DOT file?
Open it in Microsoft Word or the free LibreOffice Writer (Windows/Mac/Linux). Double-clicking creates a new document from the template; to edit the template itself, right-click > Open or use File > Open inside the app.
What's the difference between DOT and DOTX?
DOT is the old Word 97-2003 binary template (OLE2); DOTX is the current ZIP/XML template (Word 2007+), macro-free. DOTM is the macro-enabled modern template. All current word processors read DOT.
Why does double-clicking a DOT open a new document instead of the template?
That is by design - templates are meant to spawn new documents. To edit the template, right-click the file and choose Open, or open it from within Word via File > Open.
How do I convert a DOT to DOCX?
Open the .dot in Word or LibreOffice Writer and Save As .docx (for a regular document) or .dotx (to keep it as a template). Google Docs can also import it and download as .docx.
Is it safe to open a DOT file?
The content is safe, but a .dot can contain VBA macros that run automatically - a known malware vector. Open unexpected templates in Protected View / with macros disabled, and never enable macros from an untrusted source.
What is Normal.dot?
Normal.dot (now Normal.dotm) is Word's global template - it holds your default styles and settings and loads for every document. If it gets corrupted, Word misbehaves; renaming it makes Word build a fresh copy.

References

1Microsoft - [MS-DOC] Word Binary File Format specificationlearn.microsoft.com
2Microsoft Support - Create and use your own template in Officesupport.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.NOMEDIAAndroid No-Media Marker File
4.PARTPartial Download File
5.EXEWindows Executable (Portable Executable)
6.DATProgram Data File (generic)
7.BINCD/DVD Disc Image (BIN/CUE)
8.MDMarkdown Document
9.TMPTemporary File
10.DBSQLite Database File

Related extensions

.OXPSOpenXPS Document (Open XML Paper Specification)
.PUBMicrosoft Publisher Document
.IDMLAdobe InDesign Markup Language
.INDDAdobe InDesign Document
.XPSXML Paper Specification Document
.BTWBarTender Label Document (barcode/label design file)

Free file tools

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

Open the toolbox

Browse file extensions A-Z