Everything about DOCX files
What a DOCX file is, how to open, edit and convert it, and how to share Word documents without the formatting breaking.
Learn about DOCX Business enquiryWhat is a DOCX file?
DOCX is the standard file format for documents made in Microsoft Word and many other word processors. Microsoft introduced it with Office 2007, replacing the older binary .doc format.
A DOCX file uses the Office Open XML standard (ECMA-376 / ISO/IEC 29500). It is a compressed ZIP package of XML files that hold the text, styles, images, tables and settings. This makes DOCX files smaller, easier to recover when damaged, and readable by many different apps.
Why DOCX is everywhere
Rich formatting
Headings, styles, tables, images, headers and footers, footnotes, comments and tracked changes.
Smaller files
ZIP compression keeps documents much lighter than the old .doc format, especially those with images.
Open standard
An ISO standard, so Word, Google Docs, LibreOffice, WPS Office and Apple Pages can all read it.
Safer by default
DOCX can't contain macros. Macro-enabled documents use a separate .docm extension.
Easy to recover
Because it's plain XML inside, text can often be rescued from a damaged file.
Automation friendly
Developers can create and edit DOCX with libraries such as python-docx, docx4j or the Open XML SDK.
How to open and edit a DOCX file
| Device | Free options | Paid options |
|---|---|---|
| Windows | LibreOffice Writer, WPS Office, Word for the web | Microsoft Word (Microsoft 365) |
| Mac | Apple Pages, LibreOffice, Google Docs | Microsoft Word for Mac |
| Android | Google Docs, WPS Office, Microsoft Word app (basic editing) | Microsoft 365 for full features |
| iPhone / iPad | Pages, Google Docs, Microsoft Word app (basic editing) | Microsoft 365 for full features |
| Browser | Google Docs, Word for the web, Zoho Writer | β |
Converting DOCX files
DOCX β PDF
In Word, go to File β Save As (or Export) and pick PDF. In Google Docs, go to File β Download β PDF. A PDF keeps the layout exactly the same on every device. Use it for sharing final copies.
PDF β DOCX
Open the PDF in Word (it converts it automatically), or upload it to Google Drive and open it with Google Docs. Scanned PDFs need OCR first. Complex layouts may need some clean-up.
DOC β DOCX
Open the old .doc file in Word and choose File β Info β Convert, or save it again as Word Document (.docx).
DOCX β Google Docs / ODT
Upload to Google Drive and open with Google Docs, or open in LibreOffice and save as .odt (OpenDocument Text).
What's inside a DOCX file?
Rename any report.docx to report.zip and unzip it. You'll see a folder structure like this:
report.docx
βββ [Content_Types].xml β list of parts and their types
βββ _rels/.rels β links to the main document
βββ docProps/
β βββ core.xml β title, author, dates
β βββ app.xml β app info, page & word count
βββ word/
βββ document.xml β the main text
βββ styles.xml β headings, fonts, styles
βββ settings.xml
βββ fontTable.xml
βββ media/ β images (image1.png β¦)
βββ _rels/document.xml.rels
Tips for better Word documents
- Use built-in styles (Heading 1, Heading 2β¦) instead of manual bold text, so you get an automatic table of contents and a clean structure.
- Embed or use common fonts such as Calibri, Arial or Noto Sans, so the document looks the same on other computers.
- Compress pictures (Picture Format β Compress Pictures) to keep email attachments small.
- Remove hidden data with File β Info β Check for Issues β Inspect Document before sending outside your organisation.
- Send a PDF when the reader only needs to read or print, and the DOCX when they need to edit.
- Hindi and Indian languages: Unicode fonts like Mangal, Nirmala UI or Noto Sans Devanagari display correctly everywhere.
Frequently asked questions
What's the difference between DOC and DOCX?
DOC is the older binary format used up to Word 2003. DOCX (Word 2007 and later) is XML-based, smaller and more reliable. All modern apps support DOCX.
Can I open a DOCX file without Microsoft Word?
Yes. Google Docs, LibreOffice, WPS Office, Apple Pages and Word for the web can all open and edit DOCX files for free.
Why does my document look different on another computer?
Usually a font is missing or the app is different. Use common fonts, embed fonts when saving, or send a PDF for a fixed layout.
How do I fix a DOCX file that won't open?
In Word, use File β Open, select the file, click the arrow next to Open and choose Open and Repair. You can also try opening it in LibreOffice or Google Docs.
Is a DOCX file safe to open?
DOCX files can't run macros, so they're safer than .docm or old .doc files. Still, open attachments only from people you trust and keep your software updated.
Business enquiry
Interested in partnering, advertising or working with docx.in? Send us a message and we'll reply within 1β2 business days.