Change the Default App for DOCX and Excel Files in Windows 10
Question details
The user wants DOCX and Excel files to open in an installed alternative to Microsoft Office by default.

- Product
- Windows 10 default apps
- Device & OS
- Windows 10
- Scenario
- Opening Office documents and spreadsheets with an installed application such as LibreOffice.
- Observed behavior
- Windows prompts the user to purchase Microsoft Office instead of opening the files with the preferred application.
Make sure your preferred application is installed and can open the file types you use. Have a DOCX file and an Excel file, such as an XLSX file, available to set their defaults separately.
Choose a Default App Using Open With
Use the file's context menu to replace the app that opens each Office file type.
In File Explorer, right-click a DOCX file and select Open with > Choose another app.
Select your preferred application, such as LibreOffice Writer. Check Always use this app to open .docx files, then select OK.
Right-click an XLSX file and select Open with > Choose another app. Select your preferred spreadsheet application, check Always use this app to open .xlsx files, and select OK.
Use the same Open with menu for any other file types you use, such as DOC or XLS, because each extension can have a separate default app.

Set Office File Defaults in Windows Settings
Use Settings to review and change default applications by file extension.
Set WPS Office as the Default for Documents and Spreadsheets
Install WPS Office, then use Windows 10's Open with menu to make WPS Writer and WPS Spreadsheet the default apps for your Office files.
- 1. Install WPS Office: Download and install WPS Office, then locate a DOCX file in File Explorer.
- 2. Set the DOCX default: Right-click the DOCX file and select Open with > Choose another app. Select WPS Office, check Always use this app to open .docx files, and select OK.
- 3. Set the XLSX default: Right-click an XLSX file and select Open with > Choose another app. Select WPS Office, check Always use this app to open .xlsx files, and select OK.
- 4. Check other file types: Repeat the Open with process for other extensions you use, such as DOC and XLS, to open them in WPS Office by default.

Frequently Asked Questions
Why does Windows ask me to buy Office when I open a DOCX file?
The file type may be associated with Microsoft Office. Right-click the file, select Open with > Choose another app, and choose an installed alternative as the default.
Will changing the DOCX default also change Excel files?
No. Windows manages defaults by file extension. Repeat the Open with process for .xlsx and any other spreadsheet extensions you use.
What if my preferred application is not in the list?
Select More apps in the Open with dialog. If necessary, select Look for another app on this PC and browse to the installed application's program file.
Where can I see default apps by file type?
In Windows 10, go to Start > Settings > Apps > Default apps, then select Choose default apps by file type.




