logo
search
File Format & Compatibility

How to Convert an Excel Workbook to HTML in Microsoft 365

Maira MehtabMaira Mehtab Sep 20, 2026 869 views

Question details

The user wants to convert an Excel workbook or specific sheet to an HTML web page format but cannot find the export option.

Product
Microsoft Excel
Device & OS
not provided
Scenario
Trying to save or export a spreadsheet as an HTML webpage using Excel for the Web in Microsoft 365.
Observed behavior
The "Save As HTML" option is missing in the File menu of Excel for the Web, preventing direct conversion to a web page format.
Before you start

Verify whether you are currently using Excel for the Web in your browser or the desktop version of Microsoft Excel, as the available export formats differ significantly between the two.

Solution 1Recommended

Open the Workbook in Desktop Excel to Save as HTML

Switch from Excel for the Web to the desktop application to access the full range of Save As formats, including HTML.

Excel Online currently does not support exporting files directly to HTML. To bypass this limitation, you must open your workbook in the desktop version of Microsoft Excel, which includes the native 'Save as Web Page' feature.

1
Open in Desktop App

While viewing your workbook in Excel for the Web, click the "Viewing" or "Editing" button on the top ribbon, and select "Open in Desktop App".

2
Access the Save As Menu

Once the file opens in your desktop version of Excel, click on the "File" tab in the top-left corner and select "Save As".

3
Select HTML Format

Click the "Save as type" dropdown menu below the file name field, and select "Web Page (*.htm;*.html)" from the list of formats.

4
Save the File

Choose whether you want to save the entire workbook or just the active sheet, select your destination folder, and click "Save".

Formatting Warning: Saving as a web page may cause you to lose certain advanced Excel features like macros and complex pivot tables.
Easy Excel to HTML Conversion

Convert Spreadsheets to HTML Easily with WPS Office

WPS Office provides a fully featured desktop spreadsheet application that lets you easily save your workbooks and sheets as HTML web pages natively, without requiring an expensive subscription.

  1. 1. Open Your Spreadsheet: Launch WPS Spreadsheets and open your .xlsx or .xls file.
  2. 2. Navigate to Save As: Click on the "Menu" button at the top left corner, hover over "Save As", and select "Other Formats" from the expanded menu.
  3. 3. Choose HTML Format: In the Save As dialog box, click the File Type dropdown menu and choose "Web Page File(*.html;*.htm)".
  4. 4. Export the File: Select your desired save location on your computer and click "Save" to instantly export your spreadsheet to HTML.
Fully compatible with Microsoft Excel formats including .xls, .xlsx, and .csv.Built-in 'Save As Web Page' functionality for instant HTML conversion.Lightweight desktop app that works smoothly on older and modern devices.Familiar tabbed user interface makes transitioning from Microsoft Office seamless.
QA img-10

Frequently Asked Questions

Why is the HTML option missing in my Excel File menu?

If you are using Excel for the Web (Excel Online) within a web browser, the HTML export option is intentionally excluded. This specific export feature is exclusively available in the desktop versions of Microsoft Excel.

Can I convert a single Excel sheet to HTML instead of the whole workbook?

Yes. When using the "Save As" Web Page (*.htm, *.html) option in desktop Excel or WPS Office, you will be prompted with a choice to save the "Entire Workbook" or just the "Selection/Sheet". Simply choose the active sheet option before finalizing the save.

Will I lose formatting when converting an Excel file to HTML?

Basic formatting like colors, bold text, and cell borders generally transfer well to HTML. However, complex elements like macros, dynamic charts, and advanced pivot tables will not function as they do in the spreadsheet app. It is recommended to review the web page in a browser after conversion.