.doc

DOC file: what it is and how to open it

A DOC file is a Word document in the binary format Word used from Word 97 to Word 2003, before DOCX. Drop one here to read its text without Word.

Drop your DOC file here

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

What is a DOC file?

DOC was Microsoft Word’s default format from Word 97 through Word 2003, so letters, forms, theses and contracts from those years are still .doc files. Word 2007 made DOCX the default, but current versions of Word still open .doc files and can save in the format.

A .doc is a binary file that only makes sense to software that knows Microsoft’s layout. Microsoft published the full specification, [MS-DOC], in 2008 and still revises it. Word 6.0 and Word 95 also wrote .doc files, in older layouts that many apps no longer open.

A .doc can carry VBA macros, small programs that run inside Word. Macros became a common way to spread malware, which is why Office now blocks them in files that come from the internet.

What is inside

A DOC file is a Compound File: a small file system inside one file, the same container old .xls, .ppt and Outlook .msg files use. The WordDocument stream begins with the File Information Block, which identifies the file and points to every other part, and it holds the text. The 1Table stream holds the formatting, the styles and the table that says where each piece of text belongs.

Pictures sit in the Data stream, embedded objects such as charts in ObjectPool, and macros in a storage of their own. Because the text can be stored in pieces out of order, a damaged .doc often gives up only readable fragments when its tables are lost.

Inside a DOC file. Each stream is a file inside the Compound File.

How to open a DOC file

Windows

  • Microsoft WordPaid, through Microsoft 365 or a one-time Office purchase. Opens .doc in Compatibility Mode; File, Info, Convert turns it into a .docx.
  • LibreOffice WriterFree and open source. Opens and saves .doc, including password-protected Word 97 to 2003 files.
  • Universal File Opener for WindowsOursShows the document’s text offline. The original stays read-only, and macros never run.

Mac

  • PagesIncluded with every Mac. Opens .doc files for editing and exports to Word or PDF.
  • LibreOffice WriterFree and open source, for Apple silicon and Intel Macs. Opens, edits and saves .doc.

iPhone and iPad

  • PagesFree from Apple. Opens .doc files for editing.
  • Collabora OfficeFree, built on LibreOffice. Opens and edits .doc.

Android

  • Google DocsFree. Opens and edits .doc files from Word 97 onward in Office Compatibility Mode.
  • Collabora OfficeFree, built on LibreOffice. Opens and edits .doc.
  • Universal File OpenerOursReads the text offline and can save it as a new, text-only DOCX to edit. Formatting, tables and pictures are not carried over.

In a browser

  • Google DocsFree with a Google account. Upload the file to Google Drive and open it; files older than Word 97 are not supported.
  • Universal File OpenerOursDrop the file on this page to read its text. No Word, no account, nothing uploaded.

Won’t open?

Windows asks which app to use

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

Word opens it read-only or says the file type is blocked

Word opens old formats such as Word 95 in Protected View with editing turned off. To change that, use File, Options, Trust Center, Trust Center Settings, File Block Settings, or open the file in LibreOffice.

A Security Risk bar says macros are blocked

Office blocks macros in files from the internet, but the text still opens. Only if you trust the sender, right-click the file, choose Properties and select Unblock. Our apps never run macros.

Google Docs will not open it

Google Docs reads .doc files from Word 97 onward, not older ones. Open it in LibreOffice or Word, save it as .docx, then upload that copy.

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 that fails, drop it here to recover whatever text is still readable.

Convert a DOC file

  • To DOCXIn Word on Windows, File, Info, Convert, then save. In LibreOffice, File, Save As and pick the Word .docx type. In Pages, File, Export To, Word.
  • To PDFIn Word, File, Save a Copy (or Save As) and choose PDF. In LibreOffice, File, Export As, Export as PDF. In Pages, File, Export To, PDF.
  • To an editable DOCX on AndroidIn Universal File Opener choose Edit as Word copy. You get a new DOCX with the recovered text, and the original .doc stays as it was.

DOC files in our apps

Universal File Opener reads the text of Word 97 to 2003 files on Android, Windows and in the browser, and never runs macros. On Android, Edit as Word copy saves the text as a new DOCX, without formatting.

Get it on Google PlayGet it from Microsoft Store
All Android tools and limits for DOC files
  • Choose Edit as Word copy to save the recovered text as a new DOCX and open it for editing. Conversion is free and keeps the source DOC.
  • Extract supported Word 97-2003 text. Older or damaged files may provide only readable fragments.
  • A .doc that is really RTF under the wrong name gets the RTF preview, and one that is really a saved web page gets a sanitized HTML preview with a 16 MB cap.
  • Search and copy the recovered text, count its words, read it aloud, and save it as a .txt, which is free.
  • Hex view for raw inspection when a file is damaged.

Legacy DOC limitations

  • The original DOC is read-only. Use the converted DOCX copy for editing.
  • The DOCX copy contains text only. Formatting, images, tables, headers and page layout are not retained.
  • The legacy Word preview can recover text, but layout, formulas, comments and embedded objects may be incomplete.
  • If no text can be recovered, UFO identifies the legacy format and suggests a compatible copy.

Walkthrough: Edit Word documents on Android