What is a DOCX file?

DOCX is the Word document format. It is a ZIP package of XML files that holds text, styles and pictures. The layout can change on a computer that lacks your fonts, so send a PDF when the look must stay exactly the same.

Drop your file here

or select file

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

About DOCX file:

01DOCX at a glance

Full name
Office Open XML Document (Microsoft Word)
Type
ZIP package of XML files for formatted text
Extension
.docx (templates .dotx, macro-enabled .docm)
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document
First bytes (hex)
50 4B 03 04 (the letters PK, a ZIP file)
Standard
ECMA-376 and ISO/IEC 29500. Default in Word since Word 2007

02What is a DOCX file

DOCX is the default document format of Microsoft Word since Word 2007. It stores text, styles, tables, pictures and page settings, so you can keep editing the document later. Google Docs, LibreOffice, Apple Pages and many other programs can open it.

A DOCX file is a ZIP archive. Rename a copy to .zip and open it, and you find XML files for the text, the styles and the settings, plus a folder with the pictures. That is why DOCX is usually smaller than the old .doc format, and why other tools can read or repair it.

The layout of a DOCX is calculated by the program that opens it. A different program, a different version or a missing font can move lines, change page breaks and change the page count. If the look must stay exactly the same, send a PDF.

A DOCX can keep things you did not mean to share: tracked changes with deleted text, comments, and the author name in the file properties. Check them before you send the file to a client or sell it. A DOCX cannot run macros. A file that can is saved as .docm.

03Good and bad sides

Good

  • Easy to edit in Word, Google Docs, LibreOffice and Pages
  • Keeps styles, tables, pictures, headers and footers
  • Usually smaller than the old DOC format
  • Supports tracked changes and comments for teamwork

Bad

  • The layout can change on another computer or in another app
  • Fonts are not stored in the file unless you embed them
  • Can hold hidden data: author, comments, deleted text
  • Print shops and print-on-demand services want PDF or images

04Best for

  • Letters and reports you keep editing

    This is what DOCX is made for. Styles, tables and images stay editable.

  • Working together

    Tracked changes and comments work in Word, Google Docs and LibreOffice. Remove them before you share the final file.

  • Sending a final document

    The layout can change on another computer, and it can hold hidden data (author, comments, deleted text). Save as PDF if it must stay fixed.

  • Print

    Print shops ask for PDF. A DOCX can print differently on their computer. Save as PDF first.

  • Long-term archive

    DOCX is an open standard, but the layout depends on the program. PDF/A is safer for archives.

05How to open it

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

06Convert and compare

Related formats: PDF, TXT

Sources