Set LibreOffice to Save in MS Office Formats by Default
In this article
Yes, you can make LibreOffice save files in Microsoft Office formats (DOCX, XLSX, PPTX) by default. This is done in the program's settings under Tools > Options > Load/Save > General. The exact menu labels may differ slightly depending on your LibreOffice version and operating system, but the steps below work for recent versions on Windows, macOS, and Linux.
What You'll Need
- LibreOffice installed (any recent version, e.g., 7.x or newer)
- A document open in Writer, Calc, or Impress to test the settings (optional)
Step-by-Step
- Open LibreOffice – Launch any component (Writer, Calc, Impress, or the Start Center). You don't need a document open for this; the settings are global.
- Open the Options dialog – Go to Tools > Options on the menu bar. On macOS, this is under LibreOffice > Preferences instead.
- Navigate to Load/Save – In the left panel of the Options window, expand the Load/Save section by clicking the arrow next to it.
- Select General – Click on General under Load/Save. You'll see a section titled “Default file format and ODF settings” on the right.
- Change the document type to Word – In the dropdown labeled Document type, select Word document. Then, in the Always save as dropdown, choose Word 2007-365 (.docx). This sets Writer to save as DOCX by default.
- Change the document type to Spreadsheet – Repeat the same process for spreadsheets: select Spreadsheet as the document type, and choose Excel 2007-365 (.xlsx) in the “Always save as” dropdown.
- Change the document type to Presentation – Select Presentation as the document type, and choose PowerPoint 2007-365 (.pptx).
- Apply and confirm – Click OK to save the changes. You may also see a warning about changing the default format; click Yes to confirm.
- Test the setting – Open a new document in Writer, type something, and press Ctrl+S (or Cmd+S on Mac). The “Save As” dialog should now show .docx as the file type. If it does, you're done.
Common Mistakes
- Changing only one document type – Many users set Writer to DOCX but forget that Calc and Impress have their own separate settings. You must repeat the process for each type you use.
- Selecting the wrong “Always save as” option – Make sure you pick the format with “2007-365” in the name (e.g., .docx, .xlsx, .pptx). Choosing “Word 97-2003” would save in the older .doc format, which is not what most people want.
- Not confirming the warning – When you click OK, LibreOffice may show a prompt asking if you really want to change the default. If you click “No” or close the dialog, the change won't stick.
- Looking under “Load/Save > Microsoft Office” – There's a separate section for Microsoft Office compatibility settings, but the default format is in the General submenu, not there.
Tips
- Use the same setting for all components – If you regularly exchange files with MS Office users, set all three (Word, Excel, PowerPoint) to their modern formats. This avoids accidental ODF files.
- Keep ODF as an option – You can still save in ODF manually via File > Save As and choosing the format from the list. The default only affects the initial selection.
- Check the “Warn when not saving in ODF” option – In the same dialog, there's a checkbox that warns you when you save in a non-ODF format. If you find that annoying, uncheck it. If you want a reminder, leave it checked.
- Export to PDF is unaffected – The default format setting does not change how PDF export works; you can still use File > Export As > Export as PDF.
Troubleshooting
If the settings don't seem to take effect, try these in order:
- Restart LibreOffice – Close all LibreOffice windows (including the Start Center) and reopen the program. Some settings may only apply to new sessions.
- Check that you're editing the right profile – If you have multiple LibreOffice installations (e.g., a system-wide and a user install), the Options dialog may be showing settings for a different profile. Make sure you're using the same shortcut you normally use.
- Look at the file extension in the Save dialog – When you press Ctrl+S, the “Save As” dialog shows the file name with the extension. If it still says .odt, go back to Options and double-check the “Always save as” dropdown.
- Try a fresh document – Existing documents might have been created with a specific format and may still save in that format if you use “Save” instead of “Save As”. Open a new document and test again.
- Reset the user profile as a last resort – If nothing works, you can reset LibreOffice's user profile (this restores all settings to defaults). Close LibreOffice, rename the profile folder (e.g.,
~/.config/libreofficeon Linux,%APPDATA%\LibreOfficeon Windows) to something likelibreoffice_backup, and restart LibreOffice. Then redo the steps. Warning: This will remove your custom settings, but it won't delete your documents.
Frequently Asked Questions
Will this change affect documents I already have?
No. The default format only applies to new documents or when you use “Save As” on an existing document. Existing files will continue to save in their original format unless you explicitly choose a different one.
Does LibreOffice support all Microsoft Office features?
LibreOffice can open and save most DOCX, XLSX, and PPTX files, but complex formatting, macros, or embedded objects may not render perfectly. For basic documents, spreadsheets, and presentations, it works well.
Can I set different defaults for different components?
Yes, the setting is per document type. You can set Writer to DOCX, Calc to XLSX, and Impress to PPTX independently, or mix them with ODF if you prefer.
Will this affect the file extension shown when I save?
Yes. When you press Ctrl+S on a new document, the “Save As” dialog will automatically show the chosen extension (e.g., .docx). You can still change it manually.
Does this work on Mac?
Yes, the steps are the same, except you open Preferences via LibreOffice > Preferences instead of Tools > Options.
What if I want to go back to ODF as default?
Simply repeat the steps and choose ODF Text Document (.odt), ODF Spreadsheet (.ods), or ODF Presentation (.odp) in the “Always save as” dropdown.