.DOCX

DOCX File

Microsoft Word Open XML Document
Ask a question
QUICK ANSWER

A DOCX file is a Microsoft Word document in the Open XML format introduced with Word 2007. You do not need to buy Microsoft Office to open one - LibreOffice Writer, Google Docs, and Word for the web all handle DOCX for free. To share a fixed copy, open the file and export it as PDF.

Developer: Microsoft Category: Text Files Open standard MIME: application/vnd.openxmlformats-officedocument.wordprocessingml.document
OPENS ON Windows macOS Linux Android iOS Web
Related: .DOC · .ODT · .GDOC · .LST

On this page

19k+ extensions indexed
Last reviewed Jun 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DOCX file format?

Files with the .docx extension contain formatted text documents, possibly with graphic elements, stored in a format native to Microsoft Word and introduced with Word 2007. .docx files are part of the Office Open XML (OOXML) specification, standardized as ISO/IEC 29500. Each .docx file is compressed using the ZIP archive method and built on XML, using the markup languages WordprocessingML and DrawingML, developed by Microsoft.

.docx is the successor of the proprietary binary format .doc. It offers better portability across programs and platforms thanks to its open specification. .docx does not support macros - to enable macro use, a file must be saved in the .docm format instead. Most office suite applications support .docx, and files can be converted to other formats such as .odt.

.docx files are so widely used that virtually every advanced word processor supports them. Beyond dedicated desktop software, .docx files can be opened and edited for free in online editors such as Google Docs and Word for the web. These web editors closely resemble their desktop counterparts, making them accessible to most users without any additional software.

Security & safety

RISK: LOW

Plain DOCX cannot run macros, which makes it safer than the older .doc or the macro-enabled .docm: a normal .docx is essentially a container of text and images. The residual risks are (1) macro-enabled documents disguised by extension - a real .docm or a renamed file can carry VBA macro malware, so never click 'Enable Content' on a document you didn't expect; and (2) embedded links/objects and template injection. Modern Office opens documents from e-mail/the internet in Protected View. Opening an unknown DOCX in Google Docs or LibreOffice is generally safe because the text renders without executing Word VBA.

Format details

in a nutshell
FULL NAMEMicrosoft Word Open XML Document
DEVELOPERMicrosoftsince 2007 (Word 2007 / Office Open XML); ISO/IEC 29500 in 2008
CATEGORYText Files
MIME TYPEapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
TYPEZIP-based Office Open XML package (zipped XML)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
A DOCX is a ZIP archive, so it starts with "PK" (50 4B 03 04) like any ZIP. It is distinguished from a plain ZIP by its internal structure: [Content_Types].xml plus a word/document.xml part. This is unlike the older .doc, which is an OLE2 binary starting with D0 CF 11 E0.

Programs that open DOCX files

Windows3 apps
Microsoft Word Paid The native editor; double-click to open and edit. Word is the highest-fidelity option.
LibreOffice Writer Open-source Free, full-featured. Double-click to open; File > Save As to keep DOCX or export to PDF.
WPS Office Writer Freemium Free Word-like editor (formerly Kingsoft); opens and edits DOCX with a familiar ribbon UI.
macOS3 apps
Microsoft Word Paid Double-click to open and edit DOCX natively.
Apple Pages Free Free on Mac; File > Open imports the DOCX, and File > Export To > Word saves back to DOCX.
LibreOffice Writer Open-source Free alternative; double-click to open and edit.
Linux1 app
LibreOffice Writer Open-source Pre-installed on most distros; double-click to open and edit DOCX, save back as DOCX/PDF.
Android3 apps
Microsoft Word (mobile) Freemium Tap the file to view/edit; basic editing is free on small-screen devices.
WPS Office Freemium Popular free Android office app; opens and edits DOCX.
Google Docs (app) Free Open the DOCX from Drive to view and edit on the phone.
iOS1 app
Apple Pages Free Free on iPhone/iPad; opens DOCX and can export back to Word format.
Web2 apps
Google Docs Free Upload to Google Drive, open with Google Docs; download as DOCX or PDF afterwards.
Word for the web Free Upload the DOCX to OneDrive and open in Word online (free Microsoft account) - highest compatibility online.

Technical details

deep spec
Container formatZIP-based OPC (Open Packaging Conventions) archive - compatible with any standard ZIP tool
Primary markup languageWordprocessingML XML (namespace prefix w:), defined in ISO/IEC 29500 Part 1
Graphics markup languageDrawingML, shared across Office Open XML formats (.docx, .xlsx, .pptx)
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
Magic bytes50 4B 03 04 ("PK") at offset 0 - standard ZIP local-file header; distinguished from plain ZIP by internal structure
Main document partword/document.xml - contains the entire document body (paragraphs, tables, runs)
Package manifest[Content_Types].xml at archive root - declares MIME types for every part in the package
Macro supportNone; macros are prohibited - macro-enabled documents use the .docm extension instead
Style definitionsParagraph and character styles stored in word/styles.xml, applied via w:pStyle and w:rStyle attributes
Image storageBinary media files kept under word/media/, referenced via OPC relationship files in word/_rels/
Tracked changesStored inline as <w:ins> (insertion) and <w:del> (deletion) XML elements within the document part
Theme storageColor palette, font scheme, and visual effects defined in word/theme/theme1.xml
Footnotes and endnotesStored as separate package parts: word/footnotes.xml and word/endnotes.xml, linked via relationships
Headers and footersEach section's header/footer stored in independent parts (word/header1.xml, word/footer1.xml)
Character encodingUTF-8 for all XML parts within the package
Released2007 (Word 2007 / Office Open XML); ISO/IEC 29500 in 2008
Open standardYes · royalty-free
Specificationlearn.microsoft.com

DOCX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DOCX files. Be specific - include your system and software version.
No account needed · answers usually within a day
M
Margareta ErikssonAug 2026UNANSWERED
Hur öppnar man en DOCX - fil i Windows? Finns det på svenska
Waiting for an answer

Frequently asked questions

How do I open a DOCX file without Microsoft Word?
Use the free LibreOffice Writer (Windows/Mac/Linux), upload it to Google Docs, or open it in Word for the web - all free. On a Mac, Apple Pages opens DOCX too.
What is the difference between DOC and DOCX?
DOC is the older Word 97-2003 binary format; DOCX (since Word 2007) is a ZIP+XML format that is smaller, more robust, and an open standard. Any modern word processor reads both.
How do I convert a DOCX to PDF?
Open it in Word, LibreOffice Writer or Google Docs and choose Save As / Export / Download as PDF. This creates a fixed, non-editable copy that looks the same everywhere.
Can I open a DOCX on my phone?
Yes. Install Microsoft Word, WPS Office or Google Docs on Android, or use Pages/Word on iPhone/iPad. Basic editing is free on phones.
Can Google Docs open a DOCX file?
Yes. Upload the file to Google Drive and open it with Google Docs; you can edit it and download it back as DOCX or PDF.
Why does my DOCX look slightly different in LibreOffice or Google Docs?
Some Word features (certain fonts, advanced layout) are application-specific, so complex documents can shift a little in other apps. For exact fidelity use Microsoft Word, or share as PDF.
Is a DOCX file safe to open?
A plain .docx can't run macros, so it's generally safe. Be cautious only with macro-enabled .docm files or unexpected attachments - never click 'Enable Content' on a document you didn't request.

References

1ISO/IEC 29500 - Office Open XML File Formatswww.iso.org
2Microsoft - [MS-DOCX] Word Extensions to the Office Open XML formatlearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.PRO6XProPresenter 6 Bundle File
10.PRDXSoftMaker Presentations Document

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)
.TXTPlain Text File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z