lookup> .doc

.DOC·File Extension

Word DocumentLegacy Microsoft Word binary document format.

Extension.doc
File typeWord Document
CategoryDocument
Charset
CompressibleNo
Format familydoc

What is a .doc file?

A .doc file is a Word Document — Legacy Microsoft Word binary document format.

In the mime-db registry it maps to application/msword, and it is marked as non-compressible. When serving .doc over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to application/msword — and is delivered over HTTP via the Content-Type header.

  • Use Microsoft Word or LibreOffice to open and edit .doc files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: application/msword

Common software that reads/writes .doc:

Microsoft WordLibreOfficeGoogle Docs
.docextension of
format
docserved as
mime type
application/mswordsent via header
http header
  • Reports and letters
  • Spreadsheets and budgets
  • Presentations
  • Ebooks
  • Open the file with Microsoft Word, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .doc extension, or export this format from Microsoft Word.

What programs can open .doc files?

Common options include Microsoft Word, LibreOffice, Google Docs. You can also open many of these files with built-in viewers or a browser.

How do I create a .doc file?

Create a new file in any text editor or the app that owns the format and save it with the .doc extension.

What is the relationship between .doc and the application/msword MIME type?

application/msword is the media type identifier used for .doc files during network transfer (for example in the HTTP Content-Type header).

Updated 2026-08-18

Related extensions

Related MIME types

Related headers

Related methods

Related status codes