DevKits

application/*

application/vnd.openxmlformats-officedocument.wordprocessingml.document

File extensions: .docx

Microsoft Word Open XML document.

What is application/vnd.openxmlformats-officedocument.wordprocessingml.document?

This long media type identifies a Microsoft Word .docx document — a ZIP container holding Office Open XML parts. Serving it correctly triggers the right OS handler on download.

Typical usage

Word document downloads from web apps, mail attachments.

Common gotchas

Do not serve .docx as application/zip — even though it is a ZIP internally, the specific type is required for the OS to associate it with Word or a compatible editor.

HTTP header example

Response header

Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=utf-8

Frequently asked questions

What is the application/vnd.openxmlformats-officedocument.wordprocessingml.document MIME type?

This long media type identifies a Microsoft Word .docx document — a ZIP container holding Office Open XML parts. Serving it correctly triggers the right OS handler on download.

What file extension does application/vnd.openxmlformats-officedocument.wordprocessingml.document use?

Files served as application/vnd.openxmlformats-officedocument.wordprocessingml.document typically use the extension .docx. The most common is .docx.

How do I set the Content-Type for application/vnd.openxmlformats-officedocument.wordprocessingml.document?

Send the HTTP response header Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=utf-8. Word document downloads from web apps, mail attachments.

Is application/vnd.openxmlformats-officedocument.wordprocessingml.document an official MIME type?

Yes. application/vnd.openxmlformats-officedocument.wordprocessingml.document is officially registered with IANA, so standards-conformant clients recognize it.

What are common mistakes with application/vnd.openxmlformats-officedocument.wordprocessingml.document?

Do not serve .docx as application/zip — even though it is a ZIP internally, the specific type is required for the OS to associate it with Word or a compatible editor.

Related MIME types