• Home
  • Buy Microsoft Word
  • Word Basics
  • Document Formatting
  • About Me
  • Contact

Sue's Word Tips

Microsoft® Word Tips and Tutorials

Microsoft® Word Tips and Tutorials
  • Home
  • Getting Started
    • Download Free Trial
    • Buying & Installing Word
  • Word Basics for Beginners
  • Using Word
    • About Word
    • Shortcuts and Tips
    • Word File Extensions
  • Working with Documents
    • Document Formatting
    • Creating Documents
    • Clipart & Images
  • Getting Help
    • Troubleshooting Articles
    • How to Find Help
    • Windows Help for Word Users

About Docx Files and Compatibility Mode

June 16, 2009 by Sue Huckle

Do you wonder why Word 2007 documents have a new file extension, docx? After all, Word documents have used the filename suffix .doc for years. So why the X in Word 2007?

Why the X in docx?

The X stands for XML (Extensible Markup Language), which is the programming language behind the scenes in Office 2007 programs.

Previous versions of Word were based on binary data. Binary data is, by nature, prone to corruption, and “bloated.”

By changing the background code, Microsoft was able to create new tools and features in Word 2007 that would not have been possible otherwise.

What’s so great about XML?

Compared to binary files, XML is compact, portable, and stable. In other words, a Word 2007 document is less susceptible to irreparable damage.

Smaller file sizes

Let’s perform an experiment to compare file sizes between identical binary- and XML-based documents.

For this experiment, I created a Word document containing text and a photo:

small-brown-fox

Then, I saved it as a Word 97–2003 (binary) document and also as a Word 2007 (XML) document.

docx and doc file size comparison
File size comparison: the Microsoft Office Word 2007 document is smaller than the identical Word 97–2003 version

As you can see, the size of the .doc file is 102kb, but the size of the .docx file is 91kb. That is a savings of 11 kb.

Eleven kilobytes may not seem like much, but this is a very small file with only two sentences of text and one photo. Now imagine millions of large documents across an entire organization…data storage requirements can significantly be reduced by converting older Word documents to the docx format.

XML is portable

XML is an open specification. It is easily shared between different operating systems, such as Windows, Unix, or Mac OSX.

A Word 2007 file is actually a zip folder containing XML files and files that contain other information such as graphics and styles.

Anyone using a text or XML editor can unzip a Word 2007 document, then open the XML file that contains the textual data.

icon

Unzip a docx file


Let’s unzip a Word document so you can see XML in action.

Open Word 2007 and create a document with text and some graphics, then save it as test.docx to your desktop. Now change the name of the file to test.zip.

Unzip the file using the unzip utility that comes with Windows or your favorite Zip program.

Here is how to open test.zip using Windows XP:

  1. Right-mouse click the test.zip icon on your desktop.
  2. Select Extract all from the menu.
  3. Click Next and accept the default folder name and location.
  4. Click Finish.

You should now have a folder named Test on your desktop. If you open the folder, you will see several folders and an XML file inside.

Open the Word folder. The document that contains your textual data is named document.xml. Open it with a text editor and view it. You will see the XML markup, but you can also see bits and pieces of your original text mixed in.

You can find your photo(s) in the Media folder.

Word 2007 documents are less prone to irreparable damage

The unzipping technique is one way to recover file information if a docx file becomes corrupted.

But one advantage to using docx files, is that they are less likely to become corrupted in the first place. That is because XML is more stable than binary data.

If a Word 2007 document does become damaged, you can try an Open and Repair procedure to recover the file. (See my Troubleshooting tips for instructions.)

Using compatibility mode

One problem with the new docx format is that it can cause difficulties when sharing documents with users of previous versions. Often, co-workers complain that they cannot open docx files. (This is usually because they don’t have the compatibility pack installed.)

But Word 2007 is backward compatible, meaning it was designed to work with previous versions.

You can work with and save Word 2007 documents in the format of previous versions (97-2003)…these documents are saved with the .doc file extension. This is called compatibility mode.

However, working in compatibility mode will cause you to lose some functionality. (For instance, you will not be able to use the newest chart features.)

You can always tell if you are in compatibility mode by looking at the title bar on the ribbon.

Compatibility Mode showing in the title bar

The name of your document will be followed by [Compatibility Mode].

If you share documents with co-workers who use previous versions you can still work in Word 2007 mode so you can take advantage of its features, but also save it as a .doc file to share. Then you can have the best of both worlds.

More Word Tips:

  • How to Open docx Files
  • Convert docx to doc Files for Easy File Sharing
  • How to Open docx Files without Word
  • File Extensions New for Word 2007 docx, docm, dotx, dotm

Filed Under: Word File Extensions Tagged With: compatibility mode, docx

About Me

Sue Huckle Hi, I'm Sue. Thanks for stopping by! I hope you find the answers you need to your Microsoft Word questions.

Categories

  • About Word (4)
  • Creating Documents (3)
  • Document Formatting (18)
  • Getting Help (4)
  • Getting Started (5)
  • Graphics and Images (7)
  • Microsoft Word Basics (13)
  • Shortcuts and Tips (7)
  • Troubleshooting (17)
  • Windows Help for Word Users (7)
  • Word File Extensions (10)

Recent Posts

  • 5 Steps for Avoiding Microsoft Word Formatting Mishaps
  • Showing the Microsoft Word Developer Tab
  • Alternate Characters on Keyboard

Connect with Me

  • facebook
  • google+
  • linkedin
  • email
  • rss

Company Pages

  • Home
  • About
  • Contact
  • Privacy Policy
  • Advertising Disclosure
  • Disclaimer

Categories

  • About Word
  • Creating Documents
  • Document Formatting
  • Getting Help
  • Getting Started
  • Graphics and Images
  • Microsoft Word Basics
  • Shortcuts and Tips
  • Troubleshooting
  • Windows Help for Word Users
  • Word File Extensions

Tags

autotext building blocks clip art compatibility mode docm docx dotm dotx formatting forms grammar and spell check headers and footers mail merge microsoft office options and settings Outlook PDF review tables the ribbon tips tutorials windows settings Word 2003 Word 2007 Word 2010 Word 2013 word calendars word numbering word styles

Return to top of page

Copyright © 2008 - 2019 by Sue Huckle Web Communications. All rights reserved. No affiliation with Microsoft Corporation is intended or implied.
Customized by Sue Huckle on the Genesis Framework.