A .doc file is a document created in Microsoft Word, the word processor that comes with Microsoft Office

.doc is the file format that Microsoft Word used from 1997 through 2003. When you save a document in Word, it gets the .doc extension at the end of the filename — for example, "Resume.doc" or "Letter.doc". The file contains the text you typed, plus formatting like bold, italics, fonts, colors, margins, and page breaks.

Microsoft replaced .doc with a newer format called .docx starting in 2007. The difference is technical: .docx files are smaller, more secure, and work better with other software. But both formats do the same job — they hold a formatted document that you can open, edit, and print.

You will encounter .doc files most often when someone sends you an older document by email, or when you download a template or form from a website that was created years ago. Many organizations still use them, especially in government and law offices where older systems are common.

Key Takeaways

  • .doc files are Word documents created before 2007, and .docx files are the newer version that Word uses now.
  • You can open a .doc file in Microsoft Word, Google Docs, LibreOffice, or any modern word processor — you do not need the exact version that created it.
  • If you have an old .doc file and want to keep it, you can convert it to .docx by opening it in Word and saving it with the new format.
  • Older .doc files sometimes lose formatting when you open them in newer software, especially if they use uncommon fonts or complex layouts.

How to open a .doc file on Windows or Mac

If you have Microsoft Word installed, double-click the .doc file and it opens automatically. Word handles both .doc and .docx files without any extra steps.

If you do not have Word, you have free options. Google Docs opens .doc files in your web browser — go to Google Drive, click "New," select "File upload," and choose your .doc file. It converts to Google's format automatically. LibreOffice is a free desktop program that opens .doc files on Windows, Mac, or Linux. Microsoft Word Online is also free if you have a Microsoft account; upload your file to OneDrive and open it there.

On a Mac, you can also use Pages (Apple's word processor) or Microsoft Word for Mac if you have it. On Windows, WordPad (built into Windows) can open .doc files, though it may not display all the formatting correctly.

The difference between .doc and .docx

.doc is an older, proprietary format that only Microsoft Word could create properly. .docx is newer and based on an open standard, which means other companies can build software that reads and writes it. .docx files are also compressed, so they take up less storage space.

In practice, the difference matters only if you are working with very old software or if you need to send documents to someone using Word 97 or 2000. Most people and organizations have moved to .docx. If someone sends you a .doc file today, it is usually because they are using an older version of Word or because the document is old and has never been converted.

When you open a .doc file in newer software like Word 2016 or later, Google Docs, or LibreOffice, it usually reads correctly. However, some formatting may shift — fonts might change if the original font is not installed on your computer, or complex layouts might reflow differently. The text itself is never lost.

Converting a .doc file to .docx

Open the .doc file in Microsoft Word, then go to File > Save As. In the dialog box, find the dropdown menu that says "Save as type" and select "Word Document (.docx)". Choose where you want to save it and click Save. Word creates a new .docx version and leaves the original .doc file untouched.

If you use Google Docs, upload the .doc file, and it automatically converts to Google's format. You can then download it as .docx by clicking File > Download > Microsoft Word (.docx).

LibreOffice works the same way: open the .doc file, go to File > Save As, and choose the .docx format from the dropdown.

Why you might still see .doc files

Government agencies, law firms, and large corporations often keep .doc files because they have systems built around them and changing everything would be expensive and risky. Courts sometimes require documents in .doc format specifically. Universities and schools may have old templates in .doc that nobody has updated.

You might also receive .doc files from people who learned Word years ago and never switched to newer versions, or from organizations in countries where software updates happen slowly. Some older scanning and document management systems also output .doc by default.

None of this means .doc files are broken or unsafe. They work fine in modern software. It just means that .doc has not completely disappeared, even though .docx has been the standard for nearly two decades.

What to do if a .doc file will not open

First, check that the file actually ends in .doc. Sometimes a file is named "Document.doc" but is actually a different format — right-click it, select Properties (Windows) or Get Info (Mac), and look at the file type listed there.

If it really is a .doc file and will not open, try a different program. If Word will not open it, try Google Docs or LibreOffice. If the file is corrupted, you can sometimes recover it by opening Word, going to File > Open, and selecting the file — Word has a built-in recovery tool that may fix minor corruption.

If you received the file by email and it will not open, ask the sender to resend it or to save it in .docx format instead. Files sometimes get damaged during email transfer, especially if they are very large.

Frequently Asked Questions

Is a .doc file the same as a .docx file?

No. .doc is the older format from Word 1997–2003, and .docx is the newer format from Word 2007 onward. Both hold formatted text documents, but .docx is smaller and more compatible with other software. You can open either one in modern Word, Google Docs, or LibreOffice.

Can I open a .doc file without Microsoft Word?

Yes. Google Docs, LibreOffice, Microsoft Word Online, and Apple Pages all open .doc files for free. On Windows, even WordPad can open them, though formatting may not display perfectly.

Will I lose formatting if I open a .doc file in Google Docs?

Most formatting stays intact, but some may shift. Fonts might change if they are not available on Google's servers, and complex layouts might reflow. The text itself is never lost. If formatting is critical, open the file in Microsoft Word instead.

Should I convert all my old .doc files to .docx?

Only if you plan to keep using them. If a .doc file sits in storage and you rarely open it, there is no reason to convert. If you edit it regularly or need to share it with others, .docx is more compatible and takes up less space.

What does the "x" in .docx stand for?

The "x" does not stand for anything specific. Microsoft added it to show that .docx is a different format from .doc. The same pattern appears in other Microsoft formats: .xlsx for Excel spreadsheets and .pptx for PowerPoint presentations.