.docx.docm.dotx

DOCX file: what it is and how to open it

A DOCX file is a Microsoft Word document: text, formatting, tables and pictures in the open Office Open XML format. Drop one here to read it, no Word required.

Drop your DOCX file here

Opens on this device. Nothing is uploaded. Any other file works too.

What is a DOCX file?

DOCX is Microsoft Word’s default format, used for letters, reports, résumés, contracts and school work. It keeps text together with its styles, tables, pictures, headers and footers, footnotes, comments and tracked changes, so a document can pass back and forth between writers and reviewers.

Microsoft made DOCX the default in Word 2007, replacing the older binary .doc. Ecma International standardized it as ECMA-376 (Office Open XML) in December 2006, and ISO and IEC published it as ISO/IEC 29500 in 2008. Most word processors, including Google Docs, Pages and LibreOffice, now read and write it.

Two close relatives share the structure: .docm can hold macros, and .dotx is a template. A plain .docx cannot contain macros.

What is inside

A DOCX file is a ZIP archive with a fixed set of parts; rename a copy to .zip and you can look inside. The text lives in word/document.xml, styles and comments sit in their own XML parts, pictures are in word/media, and the title and author are in docProps.

The body is a sequence of paragraphs, each made of runs of text that share one set of formatting. DOCX stores flowing text, not fixed pages: the app that opens it works out line and page breaks itself, so layout can shift slightly between apps, especially when the original fonts are missing. A password-protected DOCX is not a ZIP at all; Word wraps the encrypted document in an older compound-file container.

Inside a DOCX file, which is a ZIP archive.

How to open a DOCX file

Windows

  • Microsoft WordPaid, through Microsoft 365 or a one-time Office purchase. Full editing and protected files.
  • LibreOffice WriterFree and open source. Opens, edits and saves .docx; complex layouts can shift.
  • Universal File Opener for WindowsOursRead with the formatting, tables and pictures, and save a PDF copy for free. Pro saves text, formatting, tables and review edits.

Mac

  • PagesIncluded with every Mac. Opens and edits .docx and exports back to Word or PDF.
  • TextEditBuilt in. Fine for simple documents.

iPhone and iPad

  • FilesBuilt in. Shows a read-only preview.
  • Pages or Microsoft WordBoth free to edit; Word’s free editing covers screens of 10.1 inches or smaller.

Android

  • Google DocsFree. Edits .docx directly or converts it to a Google Doc.
  • Microsoft WordFree for core editing on phones.
  • Universal File OpenerOursRead and edit offline, including text, formatting, tables and images. Reading is free; Pro saves Office edits.

In a browser

  • Word for the web or Google DocsFree with an account, after uploading the file to OneDrive or Google Drive.
  • Universal File OpenerOursDrop the file on this page to read it with its layout and see comments, tracked changes and hidden text. No account, nothing uploaded.

Won’t open?

Windows asks which app to use

Windows 11 has no built-in app for Word files: WordPad, which could open them, was removed starting with version 24H2. Drop the file on this page, install LibreOffice, or open it in Word for the web.

It asks for a password

The document is encrypted. Enter the password in Word or Google Docs. Nobody can recover a lost password for you, so ask the sender.

It says you need permission or a work account

The file is protected with Microsoft rights management or a sensitivity label. Open it in Word signed in with the account it was shared with; other apps cannot decrypt it.

Word says the file is corrupt

In Word choose File, Open, Browse, select the file, click the arrow next to Open and choose Open and Repair. If it came by email or download, get a fresh copy first.

The layout looks different from the sender’s

Usually a missing font or a Word-only feature. For the exact layout, ask for a PDF, or open it in Word.

Convert a DOCX file

  • To PDFIn Word, File, Save a Copy, then PDF. On a Mac without Word, open it in Pages and export to PDF.
  • To Google DocsOpen the file in Google Drive, then choose File, Save as Google Docs.
  • To OpenDocument (.odt)In Word or LibreOffice, choose Save As and pick OpenDocument Text.

DOCX files in our apps

Read and edit supported Word documents offline on Android, including text, formatting, tables and images. Complex layouts may differ from desktop Word. Legacy DOC files need a text-only DOCX copy for editing.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for DOCX files
  • Paged reading view that mirrors desktop page geometry, plus a reflow reading mode.
  • Edit paragraph text and formatting: bold through subscript, fonts, colors, alignment, spacing, styles, lists.
  • Structure editing: tables (rows, columns, merges), images (replace, resize, remove), page setup, headers/footers, page numbers, footnotes, comments, hyperlinks.
  • Review: accept or reject all tracked changes; document-wide find and replace.
  • Word to PDF: save a paginated PDF copy of a DOCX, free. A document UFO cannot render completely is refused before anything is saved.
  • Export: print with layout preserved, and save the extracted text as a .txt.
  • On tablets, edit with the same ribbon as the Windows app.

Limits

  • Complex layouts and uninstalled fonts can display differently from Microsoft Word. Macros do not run.
  • Legacy DOC files need a text-only DOCX copy for editing. The original layout is not retained in that copy.
Word editor Home ribbon with style, font, size and character formatting controls
Word editor Home ribbon with style, font, size and character formatting controls. Android 2.0.3.

Walkthrough: Edit Word documents on Android