Word document converters
DOCX is the file format of Microsoft Word since Word 2007. It is a zip archive of XML files that describe the text, paragraphs, styles, tables and pictures, and it opens in Word, LibreOffice Writer, Apple Pages and Google Docs. Unlike a PDF, the text flows: it rewraps when you edit it.
Convert Word document
What to know about Word document
- The text is stored as paragraphs with styles, so headings show up in Word's navigation pane.
- Pictures are stored as separate image files inside the zip archive.
- Page size and margins are part of the document, but the exact position of each line is decided by Word.
File extensions: .docx
Where you meet Word document files
Google Docs, LibreOffice and Pages produce DOCX when you choose Word format. Recruiters and applicant tracking systems often ask for CVs as .docx, publishers and editors want manuscripts in it so they can use Track Changes, and lawyers negotiate contracts by sending marked-up .docx files back and forth. The format is standardised as Office Open XML (ECMA-376 and ISO/IEC 29500), which is why other programs can read and write it.
Word document compared with other formats
- DOCX or PDF
- A PDF keeps every line in place and looks the same everywhere, but is hard to edit. A DOCX can be changed by anyone with a word processor, and its layout depends on the fonts and program used to open it. Edit in DOCX, then export a PDF for the version you send out.
- DOCX or Markdown
- Markdown is plain text with a few symbols, which works well in Git, wikis and note apps and never locks you into one program. DOCX handles page layout, headers and footers, comments and tracked changes. Pandoc can convert between the two when a Markdown text has to go to someone who works in Word.
- DOCX or Plain text
- A text file holds only characters and opens anywhere, but loses headings, tables, pictures and formatting. A DOCX keeps all of that. Use TXT when the text goes into a script, a translation tool or a form field that strips formatting anyway.
Common problems with Word document files
The layout changes on another computer
Word lays out the text again each time it opens a file, using the fonts installed on that computer. A missing font is replaced by a similar one, which moves line and page breaks. In Word for Windows you can embed the fonts under File › Options › Save › Embed fonts in the file. When the layout must not move at all, send a PDF.
Comments and tracked changes go to the client
Hidden or collapsed tracked changes and comments are still in the file, and the recipient can show them again. Before sending, accept or reject all changes and delete all comments on the Review tab. In Word for Windows, File › Info › Check for Issues › Inspect Document also finds comments, hidden text and author names.
"Word found unreadable content"
A .docx is a zip archive, and a download or copy that was cut off, for example, breaks it. Let Word try to recover the contents, or in Word for Windows use File › Open, click the arrow next to Open and choose Open and Repair. LibreOffice Writer sometimes opens files Word refuses. If the zip itself still opens, the text is in word/document.xml inside it.
The text is only available as a PDF
When the original Word file is lost, the text can be rebuilt from the PDF's text layer. Paragraphs, headings, bold and italic come back, but tables become lines of text and the layout needs checking. A scanned PDF has no text to rebuild, so it needs OCR first. Tool: Convert PDF to Word.
Questions about Word document
What is the difference between .doc and .docx?
.doc is the older binary format of Word 97 to 2003. .docx is the zip-and-XML format introduced with Word 2007. Current Word versions open both, and File › Save As with Word Document (.docx) converts an old file. Use .docx unless the recipient's software can only read .doc.
Can a .docx file contain macros?
No. Word does not save VBA macros in a .docx; a document with macros has to be saved as .docm. A file that ends in .docx and still asks you to enable macros or editing content deserves suspicion, and Word opens files from the internet in Protected View for that reason.
How can I open a .docx without Microsoft Word?
LibreOffice Writer is free and opens and saves .docx. Google Docs opens it after upload to Google Drive, and Word for the web is free with a Microsoft account. Apple Pages opens .docx on a Mac, iPhone and iPad. Complex layouts can look slightly different in each.