A job applicant emails a CV as a .docx. A supplier sends terms and conditions as a Word attachment. You are on a phone, a borrowed laptop or a work machine without Office, and all you need is to read the document, or to copy its text into a form, a ticket or an email without dragging along fonts, colours and odd spacing.
This guide explains what is inside a .docx file, how to open one on any device without Microsoft Word, and how to extract clean plain text. It also covers the problems you will meet, such as old .doc files, password-protected documents and text trapped in images.
What a .docx file really is
A .docx file is not a single blob of text. It is a ZIP archive containing a set of XML files and media, following the Office Open XML standard. If you rename a copy of report.docx to report.zip and open it, you will see folders such as word/, with the main text in word/document.xml, images in word/media/ and styles in word/styles.xml.
That structure explains a few things:
- Any program that understands the standard can read the text. You do not need Word itself.
- Formatting and text are stored separately. Paragraphs refer to styles, so extracting "just the text" is a well-defined operation.
- Images are separate files. A scanned page pasted into Word is an image, not text, and no text extraction will find words in it.
The older .doc format, used by Word 97 to 2003, is a different binary format. Many lightweight tools, including ours, handle only .docx.
Plain text versus formatted text
When you copy from a Word document and paste into a web form, you often get hidden baggage: non-breaking spaces, smart quotes, tab characters, or formatting that the form strips unpredictably. Plain text (.txt) is just characters and line breaks. It pastes the same way everywhere, which is why it is useful for CMS fields, support tickets, code comments and data imports.
View a .docx and extract its text in your browser
Our DOCX Viewer & Word to Text tool reads the file on your device and shows both a formatted preview and the plain text.
- Open DOCX Viewer & Word to Text.
- Drop your .docx file onto the box, or click it to choose a file (up to 50 MB).
- Check the file name, size and the Words, Characters and Paragraphs tiles.
- Use the Preview tab to read the document with its headings, lists, tables and images.
- Switch to the Plain text tab to see the extracted text.
- Click Copy text to copy it, or download it with the .txt or .html buttons.
- Click Open another file to start again.
The preview reproduces standard content: headings, paragraphs, bold and italic, lists, tables and images. If the document uses features the viewer cannot show exactly, such as custom styles, text boxes or charts, a note under the preview tells you how many items were affected. The .html download is a simple, readable web page of the document, which is handy for publishing a policy or notice online.
Other ways to open a .docx without Word
On a computer
- Word for the web opens .docx files free with a Microsoft account and shows them almost exactly as desktop Word would.
- Google Docs: upload the file to Google Drive and open it with Google Docs. It can then be downloaded as plain text via File → Download → Plain text (.txt).
- LibreOffice Writer opens .docx files offline and can save them as text.
- macOS: Quick Look (select the file and press Space) previews Word documents, and TextEdit can open them and save as plain text.
On a phone
On iPhone and iPad, the Files app and Mail can preview Word attachments. On Android, what is available depends on the installed apps; Google Drive and Microsoft's own Word app can open .docx files. A browser-based viewer works on both without installing anything.
On the command line
On macOS, textutil -convert txt document.docx writes a plain-text copy. On any system with the open-source converter Pandoc installed, pandoc document.docx -t plain -o document.txt does the same. These are the best choice for converting many files at once.
Word for the web and Google Docs are better when you need exact layout or want to edit and send the file back. A local viewer is quicker when you only need to read or extract, and it avoids uploading personal documents such as CVs or contracts to an account.
Cleaning up the extracted text
Extracted text is usually close to ready, but a few clean-ups are common:
- Extra blank lines and spaces. Our tool already collapses runs of blank lines. For tabs, double spaces and indentation, run the text through Remove Extra Spaces.
- Repeated terms or placeholders. Replace template markers such as "[Company Name]" in one step with Find and Replace.
- Length limits. If the text is going into a form with a limit, check it with the Word Counter first.
If you need to make changes and keep the Word format, open the file in the Online Word Editor instead, which can export a new .docx.
Troubleshooting
"Old .doc files are not supported"
The file is in the pre-2007 binary format. Open it in Word, Word for the web, Google Docs or LibreOffice and save it as .docx, then try again.
"Could not read this file"
The document may be password-protected, damaged, or not really a Word file despite its extension. Encrypted .docx files cannot be read without the password. Ask the sender for an unprotected copy, or open it in Word with the password and save a copy without protection.
The plain text is empty
The document probably contains only images, such as a scanned letter pasted into Word. Save the image and use Image to Text to recognise the words.
Some content is missing
Text inside text boxes, shapes, headers, footers or charts may not appear in the extracted text or preview. If that content matters, open the document in a full word processor.
Frequently asked questions
Can I open a .docx file without Microsoft Word?
Yes. Browser viewers, Word for the web, Google Docs, LibreOffice and the built-in previewers on Mac and iPhone can all open .docx files.
Is my document uploaded when I view it?
No. Our DOCX viewer reads the file inside your browser, so the document and its text stay on your device.
How do I convert a .docx to .txt?
Open it in a DOCX-to-text tool and download the .txt file, or use Save As / Download as plain text in Word, Google Docs or LibreOffice.
Why does my .docx open as a ZIP file?
A .docx is technically a ZIP archive of XML files. If a system does not recognise the extension, it may treat it as an archive. Make sure the file name ends in .docx and open it with a word processor or viewer.
Can I extract images from a Word document?
Rename a copy of the file to .zip, open it and look in the word/media folder, where the original images are stored.