What is a DOC file?

DOC is the old binary Word format used before Word 2007. It keeps text, styles and pictures in one OLE container. Modern programs still open it, but DOCX has replaced it.

Drop your file here

or select file

Images, video, audio, documents, data, archives, fonts and more.

About DOC file:

01DOC at a glance

Full name
Microsoft Word 97-2003 Document
Type
Binary file for formatted text (OLE compound file)
Extension
.doc (templates .dot)
MIME type
application/msword
First bytes (hex)
D0 CF 11 E0 A1 B1 1A E1
Made by
Microsoft Word 97 to 2003. Replaced as the default by DOCX in Word 2007

02What is a DOC file

DOC is the old file format of Microsoft Word. It was the default from Word 97 until Word 2007, when DOCX took over. It stores text, styles, tables, pictures and page settings in one binary file, so you can keep editing the document. Current versions of Word, LibreOffice, Google Docs and Pages still open it.

A DOC file is an OLE compound file: a small file system inside one file, with separate streams for the text, the document properties and the fonts. That is why the first bytes are the same for DOC, XLS and PPT files. The extension and the content tell them apart.

A DOC stores the page count and word count only when the program that saved it wrote them. Some programs leave them empty, so a tool can honestly say that the number is not stored. A DOC can also hold macros (VBA). Many programs block them and show a security warning.

DOC is a weak choice for a new file. DOCX is smaller and better supported, and PDF keeps the layout fixed. Use DOC only when the person who receives the file has very old software. The layout can still move on another computer.

03Good and bad sides

Good

  • Opens in current Word, LibreOffice, Google Docs and Pages
  • Editable: styles, tables, pictures, headers and footers
  • Works in very old versions of Word

Bad

  • Layout can change in another program or when a font is missing
  • Fonts are not stored in the file
  • Can hold macros, author data and hidden text
  • Larger than DOCX and less supported than DOCX
  • Print shops and print-on-demand services want PDF or images

04Best for

  • Sharing with people on old software

    Works in very old versions of Word, but DOCX is the normal choice today. Save as PDF if the layout must stay fixed.

  • Letters and reports you keep editing

    Styles, tables and pictures stay editable, but DOCX is smaller and better supported.

  • Print

    A DOC can print differently on another computer. Print shops ask for PDF.

05How to open it

Windows
Microsoft Word, WordPad (limited), LibreOffice Writer
macOS
Pages, Microsoft Word, TextEdit (basic layout)
iPhone and Android
Word app, Google Docs, the Files preview
Linux
LibreOffice Writer, AbiWord
Online
Google Docs, Word for the web

06Convert and compare

Related formats: DOCX, PDF

Sources