How to Fix Downloads Saved as HTML Instead of Excel Files
Question details
Users are experiencing an issue where files that should be downloaded as Excel spreadsheets are instead being saved or identified as HTML web pages.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Downloading a spreadsheet report or document from a website or email portal.
- Observed behavior
- The downloaded file is saved with an .html or .htm extension, or opens directly in a web browser instead of launching the spreadsheet application.
Ensure that your internet connection is stable and verify with the website provider that the requested download is explicitly exported as a supported Excel format (.xlsx or .xls) rather than a web data table.
Download Using a Private Window or Different Browser
Browser extensions or corrupted cache data can interfere with file downloads, incorrectly converting or renaming them to HTML.
Often, security add-ons or download manager extensions in your primary web browser modify the way files are processed. Using a private browsing mode temporarily disables most extensions, helping you identify if the browser is causing the issue.
Launch your current web browser and open a Private or Incognito window (e.g., press Ctrl+Shift+N in Google Chrome or Ctrl+Shift+P in Firefox/Edge).
Navigate back to the website or email link and try downloading the spreadsheet file once more.
If the file still downloads as an HTML document, close the window and attempt the download using a completely different web browser.

Manually Rename the File Extension
Sometimes the downloaded file contains the correct spreadsheet data but is assigned the wrong file extension by the operating system.
Run a Full System Antivirus Scan
Malware or viruses can hijack browser settings and manipulate how file types are processed and saved onto your local drive.
Seamlessly Open and Manage Your Spreadsheets with WPS Office
If you frequently encounter format compatibility issues or need a reliable way to open various spreadsheet files, WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office. It effortlessly handles standard formats and web queries, ensuring your data remains accurate and easy to edit.
- 1. Download the Software: Visit the official WPS website to download and install WPS Office for free on your device.
- 2. Open WPS Spreadsheet: Launch the application and select 'Spreadsheet' from the home screen.
- 3. Load Your File: Click on 'File' > 'Open' and select your downloaded document to view and convert it securely.

Frequently Asked Questions
Why do Excel files download as Chrome HTML documents?
This commonly happens when your operating system's default file association for .xlsx or .xls files has been mistakenly reassigned to your web browser (like Google Chrome) instead of your spreadsheet application. It can also occur if the website's server misconfigures the download headers.
Can I open an HTML file in Excel or WPS Spreadsheet?
Yes, standard spreadsheet applications can open HTML files that contain tabular data. You can launch your spreadsheet software, navigate to File > Open, and select the HTML file. Once opened, you can save the document correctly as an .xlsx workbook.
How do I change the default program for downloaded spreadsheets on Windows?
Go to Windows Settings > Apps > Default apps. Scroll down and click on 'Choose default apps by file type'. Locate .xlsx and .xls in the list, click on the current default app (which might be a browser), and select your preferred spreadsheet software from the popup menu.
What if renaming the file extension to .xlsx doesn't work?
If renaming the extension results in a corrupted file error or displays garbled text, it means the website generated a literal web page rather than exporting a spreadsheet file. In this case, you will need to contact the website administrator to request the correct file format.




