- Open XML (docx, xlsx, pptx/m) reduces size, improves reliability and makes it easier to detect macros.
- To share without editing, use PDF/XPS; to interoperate with other suites, export to ODF with caution.
- Excel: xlsb is key for large workbooks; CSV/TXT/Unicode for reliable data exchange.
- The web version limits advanced features; for macros, big data, and design, use the desktop.

If you work with Word , Excel, or PowerPoint, sooner or later you'll encounter dozens of extensions and options for saving and sharing your files. Choosing the right format isn't just a technical matter: it affects document size, compatibility, editing capabilities, and even security (macros).
In this guide, we've gathered in one place all the file formats that Microsoft Office and Microsoft 365 can open, save, or export , what they're for, when to use each one, and what you should keep in mind when sharing with older versions, with other suites (like OpenDocument ), or when working on the web version versus the desktop.
Open XML and modern extensions: the foundation of everything
For years, Word, Excel, and PowerPoint have saved by default in Open XML formats (docx, xlsx, pptx). These files are, internally, ZIP packages containing XML and resources, which offers key advantages: smaller size (compression greatly reduces the file size), better recovery if a component is corrupted, privacy (metadata is easy to detect and remove using the Document Inspector), and interoperability (anyone with an XML editor and a ZIP utility can inspect them).
An important feature of Open XML is the distinction between files with and without macros. Files with extensions ending in "x" (docx, xlsx, pptx) cannot contain macros , while those ending in "m" (docm, xlsm, pptm) can. This makes it much easier to recognize at a glance whether a file can execute code.
In addition to documents, there are variations for templates and add-ins: Word uses dotx and dotm, Excel uses xltx and xltm, and PowerPoint uses potx and potm; modern add-ins in Excel use xlam and in PowerPoint use ppam. There is also the Strict Open XML Spreadsheet (xlsx “strict”), a stricter ISO variant for Excel workbooks.
Extensions per application: what each program creates
Word primarily works with .docx (documents without macros) and .docm (documents with macros). For templates, it uses .dotx and .dotm . These extensions ensure the best compatibility with modern features (such as AutoSave and accessibility checks) (see Word formats explained ).
Excel uses .xlsx (workbook without macros), .xlsm (workbook with macros), .xltx , and .xltm (templates). There is also .xlsb , a binary workbook designed for faster loading and saving and for handling large volumes of data efficiently; it is compatible with VBA and newer features, but it is not XML and its contents are not as easily manipulated outside of Excel (see Excel formats ).
PowerPoint saves in .pptx (presentations without macros) and .pptm (with macros). For templates, there are .potx and .potm ; for individual slides, there are .sldx and .sldm ; and for ready-to-play presentations, .ppsx and .ppsm . In addition, the suite includes the Office theme (.thmx) which applies consistent styles to documents, worksheets, and presentations (see PowerPoint formats ).

When to use each Office format (docx/xlsx/pptx, variants with macros and templates)
For general text documents, .docx is the standard format . It guarantees compatibility, a small file size, and all modern features. Use .docm only when you really need macros (VBA or XML), and for security, it's best to sign macros and only share them with people you trust.
In Excel, the standard format is .xlsx . If your workbook includes macros or Excel 4.0 macro sheets , choose .xlsm . When performance is critical (very large workbooks, many calculations, or pivot tables), .xlsb can make a difference in opening and saving speeds, while maintaining VBA compatibility.
For templates that you will reuse (budgets, reports, forms), use .dotx / .dotm , .xltx / .xltm , and .potx / .potm . Avoid using templates with macros if they are not essential: this reduces security warnings and potential blocks in corporate environments.
Export for sharing or printing: PDF and XPS
When the goal is to preserve the design and avoid changes, choose PDF (.pdf). It's perfect for sending proposals, manuals, or documents that will be printed (including commercial printing ). The format keeps the elements as you designed them and is not easily edited.
There is also XPS (.xps), a paper XML specification with a similar purpose: it preserves formatting but makes editing more difficult. It is less common than PDF, but some organizations use it due to internal policies or Windows environments.
Publish to the web: HTML and MHT/MHTML
If you need to publish a document as a webpage, you can export it to HTML (.htm, .html) . Office creates a folder containing the file and all its resources (images, scripts). For a single file that encapsulates everything, there's MHT/MHTML , a "single-file webpage ," useful for sending by email or archiving with embedded resources.
Interoperability with other suites: ODF (OpenDocument)
Office opens and saves spreadsheets in OpenDocument format ( .ods ) (other apps also support .odt and .odp, but we're focusing on Excel here). This is useful if you collaborate with Google Docs or OpenOffice/LibreOffice users , as they can open it natively.
However, since the features are not identical between suites, saving and reopening in ODF may result in changes or loss of formatting. Practical recommendation: work in xlsx/docx/pptx while creating and reviewing, and only export to ODF as the final exchange format if explicitly requested.
Data formats and exchange in Excel: CSV, TXT, DIF, and SYLK
Excel shines when it acts as a data bridge. For data exchange with other systems, you have several text and legacy formats, each with its own "when to use it." Choosing the right one saves you from problems with accents, line breaks, or separators.
- CSV (.csv): text file with comma separated values. There are platform variants (Windows, Macintosh, MS-DOS) that aim to make tabs, line breaks and other characters interpret well on that system. Excel saves only the active sheet.
- Tab-delimited text (.txt): the fields are separated with tabulators. Also with Windows/Mac/MS-DOS variants, and option unicode text (for wide character encoding). As CSV, save the current sheet.
- DIF (.dif): classic format of data exchange. Saves only the active sheet; it's used less today, but still appears in legacy integrations.
- SYLK (.slk): Format symbolic link for exchange between legacy applications; retains some tabular metadata. Also active sheet only.
- PRN (.prn): “Formatted text (space delimited)”. Intended for outputs such as Lotus and space-aligned printed lists; saves only the active sheet.
Practical tip: If you're importing into a system that only accepts a specific delimiter, choose CSV (comma) or TXT (tab) as required. If there's a risk with accents or special characters, opt for Unicode Text . For legacy automations, DIF/SYLK is still useful.
Special and legacy formats in Excel
Excel can open but not save to certain older or third-party formats. For example, .dbf (dBase III/IV) files will open, but you cannot save to dBase from modern Excel. There is also support for opening .xlw (Excel 4.0 workbook) files, although you cannot save with that extension.
In the "opens but with caveats" category is .xlr (Microsoft Works 6.0–9.0). To work with these files, it's advisable to convert them to .xlsx/.xlsm/.xlsb and check compatibility before using them in production.
Formats not supported in Excel (modern versions)
Some file formats can no longer be opened or saved in Excel 2007/2010/2013/2016 and later versions. Avoid relying on them and migrate as soon as possible.
- Excel chart (.xlc) from Excel 2.0/3.0/2.x.
- lotus 1-2-3 in all its variants: .wk1, .wk2, .wk3, .wk4, .wks, .fmt, .fm3.
- Microsoft Works (.wks).
- DBASE II (.dbf) in its specification 2.
- Quattro Pro for MS-DOS and Windows: .wq1, .wb1, .wb3.
If you need to recover data from one of these formats, the most sensible thing to do is to convert it with an intermediate tool (a specific converter or by first opening it in an application that still supports it and re-exporting it to CSV, XLSX or similar).
Plugins and Automation: XLA and XLAM
Excel supports both legacy .xla add-ins (Excel 97–2003) and modern .xlam add-ins , which are macro-enabled and XML-based. If you develop in-house solutions, consult the troubleshooting guide for add-ins and strive to offer both 64-bit and 32-bit versions whenever possible to cover both environments.
XML, data and previous standards
Beyond Open XML, Excel can work with XML Data (.xml) and XML Spreadsheet 2003. These formats are useful if you're going to exchange information with other applications that process XML or if you need custom schemas. Keep in mind that the modern standard for workbooks is .xlsx/.xlsm , which is more compact and robust.
Clipboard: Formats that Excel understands when pasting
When you copy and paste, Excel can receive data in multiple formats from the Office Clipboard (if you can't paste external content, see You can't paste external content ). This includes WMF/EMF images , BMP bitmaps , text formats (tab-style, CSV, RTF rich text ), OLE objects, and even single-file MHT/MHTML or traditional HTML web pages. Because of this, pasting from other applications preserves content and formatting much better.
Backward compatibility and checker
Opening older documents in Office is straightforward: they open and you can continue working on them. When saving to a previous version, Office runs a compatibility checker that alerts you to features not supported by the target version and allows you to remove or replace them. If you're collaborating across versions, the most practical approach is to save in the current format and, if necessary, provide an additional export.
Do you still have documents in older binary formats ( .doc, .xls, .ppt )? Open the file and choose File > Save As (or "Save a copy" if it's on OneDrive/SharePoint) to create the Open XML version . You'll gain in size, reliability, and features.
When to choose 64-bit or 32-bit Office/Microsoft 365
The 64-bit versions of Office make better use of memory and are ideal if you work with very large files or complex models in Excel (multiple pivot tables, external connections, Power Pivot, 3D Map, Power View, or Get & Transform). They also help in PowerPoint with very large images and videos and in Project with files larger than 2 GB.
The 32-bit version is still recommended if you rely on 32-bit COM plug-ins or controls with no 64-bit alternative, if your VBA code uses legacy API declarations that are difficult to port, or if you handle OLE objects/servers and 32-bit Access .mde/.ade/.accde databases . Additionally, computers with less than 4 GB of RAM or 32-bit systems can only install the 32-bit edition.
OpenDocument vs. Open XML: Which is better by default?
OpenDocument was designed for suites like OpenOffice/LibreOffice, while Open XML is native to Microsoft Office. Office supports ODF and you can open and save files, but using non-equivalent functions may result in data loss or changes in presentation or behavior. Therefore, unless your organization requires it, the most sensible approach is to work in docx/xlsx/pptx and export to ODF only for occasional exchange.
Office desktop vs. web version: differences that influence the format
Microsoft 365 on the web is free and practical, but it has its limitations. Word Web lacks tools such as comprehensive citation and bibliography management , watermarks, advanced design and printing options, and the "pro" collaboration feature for combining and comparing documents. Even so, it handles basic editing and simple co-authoring very well.
In Excel Web you can create and edit pivot tables, but not pivot charts (you can only view them), there are no advanced formulas or external connections or references, and analytical views like Power View, Power Pivot, or complex slicers like Timeline are missing . For serious analysis and data modeling, the desktop version wins hands down.
PowerPoint Web offers a more limited selection of transitions and animations , doesn't play certain embedded videos , has limited rich formatting options for shapes and text (no gradients or eyedroppers), and lacks the Designer and ink support. For complex presentations, the desktop version is preferable.
Furthermore, the web version doesn't work offline , and to edit a local file, you must upload it to OneDrive first. All of this doesn't change the format you "should" use, but it does explain why, for documents with macros, large Excel models, or elaborate designs , the desktop and the .xlsm/.xlsb/.pptm/.dotm formats remain the standard.
Legacy Binary Formats: When They Still Make Sense
The .doc, .xls, and .ppt formats (97–2003) are maintained for compatibility, but are no longer recommended as a standard. You lose the advantages of Open XML and expose yourself to more problems when recovering corrupted files or collaborating. Use these formats only if an older application requires them, and plan for their migration.
Quick tips for choosing a format
- Modern, editable document: docx/xlsx/pptx.
- Macros necessary: docm/xlsm/pptm (digital signature if possible).
- Performance on large books: xlsb.
- reusable templates: dotx/xltx/potx (or “m” variants if they have macros).
- Share without editing: PDF (or XPS under Windows policies).
- Publish as web: HTML or MHT/MHTML (single file).
- Exchange data with systems: CSV/TXT (Unicode if there are accents), DIF/SYLK if requested.
- Mixed work with other suites: Keep your work in Open XML and export to ODF at the end.
Choosing the right format not only avoids compatibility issues; it saves you time , reduces integration errors, and improves the experience for those who receive your files. With these guidelines, you can make informed decisions in every case.
Table of Contents
- 1 Open XML and modern extensions: the foundation of everything
- 2 Extensions per application: what each program creates
- 3 When to use each Office format (docx/xlsx/pptx, variants with macros and templates)
- 4 Export for sharing or printing: PDF and XPS
- 5 Publish to the web: HTML and MHT/MHTML
- 6 Interoperability with other suites: ODF (OpenDocument)
- 7 Data formats and exchange in Excel: CSV, TXT, DIF, and SYLK
- 8 Special and legacy formats in Excel
- 9 Formats not supported in Excel (modern versions)
- 10 Plugins and Automation: XLA and XLAM
- 11 XML, data and previous standards
- 12 Clipboard: Formats that Excel understands when pasting
- 13 Backward compatibility and checker
- 14 When to choose 64-bit or 32-bit Office/Microsoft 365
- 15 OpenDocument vs. Open XML: Which is better by default?
- 16 Office desktop vs. web version: differences that influence the format
- 17 Legacy Binary Formats: When They Still Make Sense
- 18 Quick tips for choosing a format