What Is a .DOC File? (.doc, .dot)
A .doc file is a word-processing document in Microsoft Word's legacy binary format, used as the default by Word 97 through Word 2003. It holds text, formatting, images and tables in a single proprietary binary file, and is still found in older archives, government forms and email attachments.
- Extension
- .doc, .dot
- Full name
- Microsoft Word 97-2003 Document
- Type
- Document file
- MIME type
- application/msword
- Developed by
- Microsoft
About DOC files
Unlike the modern .docx, a .doc file is a compound binary file rather than a ZIP of XML, which makes it harder for other software to parse and more fragile when damaged. Current versions of Word open .doc files in Compatibility Mode, shown in the title bar, which limits some newer features until you convert the file.
Security is the main reason to be wary. The .doc format can carry VBA macros with no change of extension, and malicious macro documents were one of the most common malware delivery methods for years. Modern Office blocks macros in files downloaded from the internet by default; do not override that for a document you were not expecting.
Files are typically larger than the equivalent .docx because nothing is compressed. LibreOffice, Google Docs, Pages and TextEdit all read .doc reasonably well, though very old documents with embedded objects or unusual fonts may lose some formatting. If you maintain an archive of them, converting to .docx or PDF now is cheaper than recovering them later.
What DOC files are used for
- Documents created in Office 97 to 2003 and older archives
- Forms still distributed by some organizations in Word 97-2003 format
- Sharing with people stuck on very old software
- Templates in the legacy .dot format
How to open a .doc file
Windows
Microsoft Word opens .doc in Compatibility Mode; LibreOffice Writer and Word for the web are free alternatives.
Mac
Pages and TextEdit can open .doc files, as can Word for Mac and LibreOffice.
iPhone and iPad
The Files app previews it; Pages or Microsoft Word opens it for editing.
Android
Open it in the Microsoft Word app or Google Docs.
Online / any browser
Upload to Google Drive and choose Open with > Google Docs, which converts it to an editable Google document.
How to convert a .doc file
In Word, open the file and choose File > Info > Convert, or File > Save As and pick Word Document (.docx). LibreOffice and Pages can also save it as .docx or PDF.
For a whole folder of old .doc files, LibreOffice can batch convert from the command line with soffice --headless --convert-to docx.
Renaming .doc to .docx does not convert the file; Word will report it as corrupted or in the wrong format.
Need a Word file from a PDF or a photo? PDF to Word and JPG to Word make an editable .docx in your browser, free and without uploading.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming DOC files
- Old .doc archives often use cramped 8.3-style names such as LTR0412.DOC; when converting, give them full descriptive names with a date prefix.
- Keep the original extension visible while sorting archives so you can see at a glance which files are still legacy .doc and need converting.
- If you convert to .docx, keep the same base name so links and references still make sense, and delete or archive the old copy to avoid editing the wrong one.
Renaming lots of .doc files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .docx file is a Microsoft Word document saved in the Office Open XML format used by Word 2007 and later. It stores text, formatting, images, tables, comments and tracked changes in a compressed ZIP package, and it is the default format for editable documents in Word, Google Docs exports and most office suites.
A .rtf file is a Rich Text Format document: text with basic formatting such as fonts, sizes, bold, italics, colours, tables and images, written as readable control codes inside a plain-text file. Created by Microsoft in 1987, it remains a lowest-common-denominator format that almost every word processor can open.
A .odt file is an OpenDocument Text document, the native word-processing format of LibreOffice Writer and Apache OpenOffice. It is an open, ISO-standardized format that stores text, formatting, images and tables in a ZIP package of XML files, and is often required by governments and organizations that prefer open standards.
A .pdf file is a Portable Document Format document: a fixed-layout file that looks the same on every device, with its text, fonts, images and page geometry packed inside. It is the standard format for sharing finished documents such as invoices, contracts, forms, manuals and scanned paperwork that should not reflow.
Frequently Asked Questions
Is a .doc file safe to open?
It can contain macros, so only open .doc files from people you trust and never click "Enable Content" on an unexpected document. Previewing in Google Docs or Word for the web does not run macros.
Why does Word say "Compatibility Mode"?
The file is in the old .doc format. Use File > Info > Convert to upgrade it to .docx and unlock all current features.
Can Google Docs open .doc files?
Yes. Upload the file to Google Drive and open it with Google Docs, then download it as .docx or PDF if needed.