How to Fix Excel File Opens as a PDF Instead of a Spreadsheet
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.

- 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.
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.
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.
Navigate to the folder containing the Excel file that is opening as a PDF. Right-click on the file to open the context menu.
From the right-click menu, hover over 'Open with' and select 'Choose another app' from the extended list.
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'.
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.

Verify and Change the File Extension
Check if the file was incorrectly named or saved with a .pdf extension despite containing spreadsheet data.
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. Download and Install: Download WPS Office Free from the official website and follow the on-screen instructions to complete the installation.
- 2. Locate the Spreadsheet: Find the Excel file on your computer that is currently opening as a PDF.
- 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. Edit Your Data: Double-click the file to open it natively in WPS Spreadsheets and begin editing your data immediately.

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.




