logo
search
File Format & Compatibility

How to Fix Excel File Opens as a PDF Instead of a Spreadsheet

Natalie TaylorNatalie Taylor Oct 19, 2026 869 views

Question details

The user is unable to edit their spreadsheet because their Excel file is automatically opening in a PDF viewer instead of a dedicated spreadsheet application.

How to Fix Excel File Opens as a PDF Instead of a Spreadsheet
Product
Excel
Device & OS
not provided
Scenario
Attempting to open and edit a standard spreadsheet file (like XLS or XLSX).
Observed behavior
The file launches in a PDF format or a document viewer that does not support spreadsheet editing, making the data read-only.
Before you start

Verify that the file extension is actually an Excel format (such as .xls or .xlsx) and ensure you haven't accidentally downloaded or exported the original spreadsheet as a .pdf file.

Solution 1Recommended

Change the Default Application for Excel Files

Use this solution to reassign .xls and .xlsx files to open with a compatible spreadsheet editor rather than your system's PDF viewer.

Often, this issue occurs because the operating system's file associations have been altered, causing spreadsheet files to default to a web browser or PDF reader. Resetting the default app will permanently fix the issue for all future files.

1
Locate the problematic file

Navigate to the folder containing the Excel file that is opening as a PDF. Right-click on the file to open the context menu.

2
Access the 'Open with' menu

From the right-click menu, hover over 'Open with' and select 'Choose another app' from the extended list.

3
Select a spreadsheet application

Look for your preferred spreadsheet software (like WPS Office or Microsoft Excel) in the list of applications. If you don't see it, scroll down and click 'More apps'.

4
Set as the permanent default

Check the box at the bottom that says 'Always use this app to open .xlsx files' (or .xls files), then click 'OK' to apply the changes.

Change the Default Application for Excel Files
Settings Applied: Once applied, the file icon should change to match your spreadsheet software, indicating the default app has been successfully updated.

Open and Edit Excel Files Seamlessly with WPS Office

Set WPS Office as your default application to correctly open, edit, and save XLS and XLSX files without them incorrectly opening as uneditable PDFs.

  1. 1. Download and Install: Download WPS Office Free from the official website and follow the on-screen instructions to complete the installation.
  2. 2. Locate the Spreadsheet: Find the Excel file on your computer that is currently opening as a PDF.
  3. 3. Set WPS as Default: Right-click the file, select 'Open with' > 'Choose another app', select WPS Office, and check the 'Always use this app' box.
  4. 4. Edit Your Data: Double-click the file to open it natively in WPS Spreadsheets and begin editing your data immediately.
Perfect compatibility with Microsoft Excel formats (.xls, .xlsx, .csv)Built-in PDF viewer and converter for easy file managementLightweight, fast, and entirely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why does my downloaded Excel file open as a PDF on my mobile phone?

Mobile devices often default to a built-in document viewer or PDF reader if a dedicated spreadsheet application isn't installed. Installing a compatible app like WPS Office and opening the file directly from within the app will resolve this.

How do I change default file associations on a Mac?

Right-click (or Control-click) the Excel file and select 'Get Info'. Look for the 'Open with:' section, choose your preferred spreadsheet application from the dropdown menu, and click the 'Change All...' button to apply it to all similar files.

Can I convert a file that is actually a PDF back into an Excel spreadsheet?

Yes. If the file was exported or saved as a PDF instead of an Excel format, you can use PDF to Excel conversion tools, such as the one built into WPS Office, to extract the tables and data back into an editable spreadsheet format.

What should I do if changing the default app doesn't work?

Verify the file's actual extension by checking its properties. If the extension is .pdf, the file is a PDF. If the extension is .xlsx but it still opens incorrectly, try repairing or reinstalling your spreadsheet application to fix broken registry keys.