Others

Change the Default App for DOCX and Excel Files in Windows 10

Aamir Naveed AkramAamir Naveed Akram Nov 25, 2026 870 views

Question details

The user wants DOCX and Excel files to open in an installed alternative to Microsoft Office by default.

Change the Default App for DOCX and Excel Files in Windows 10
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.
Before you start

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.

Solution 1Recommended

Choose a Default App Using Open With

Use the file's context menu to replace the app that opens each Office file type.

1
Open the app chooser

In File Explorer, right-click a DOCX file and select Open with > Choose another app.

2
Set the document app

Select your preferred application, such as LibreOffice Writer. Check Always use this app to open .docx files, then select OK.

3
Set the spreadsheet app

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.

4
Repeat for other extensions

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.

Choose a Default App Using Open With
Application not listed?: In the app chooser, select More apps. If the application still does not appear, select Look for another app on this PC and browse to its program file.
Open Office files with WPS

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. 1. Install WPS Office: Download and install WPS Office, then locate a DOCX file in File Explorer.
  2. 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. 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. 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.
Open DOCX documents and XLSX spreadsheets with WPS Office.Compatible with Microsoft Word and Excel file formats.Use familiar document and spreadsheet editing tools.Get started with a free Office suite.
microsoft office alternative - wps office

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.