Excel to HTML

Upload an .xlsx file and convert a worksheet into an HTML table.

Excel to HTML reads an .xlsx workbook and converts one worksheet into a plain HTML table. You choose the sheet, preview the result, then copy the markup or download it as an .html file. It helps developers and content editors who need spreadsheet data in a web page or email template.

What is an .xlsx file?

An .xlsx file is the Office Open XML spreadsheet format used by modern Excel. Internally it is a ZIP archive that holds XML files for each worksheet, shared strings, styles and workbook metadata. Because it is a ZIP, every valid file starts with the bytes PK, which is a quick way to tell a real workbook from a renamed file. Converting to HTML means reading each cell's value and writing it into table rows and cells. Formatting such as colours, merged cells and formulas is not part of a simple table, so only the cell values carry over.

How to use Excel to HTML

  1. Choose the file Press Choose .xlsx file and select a workbook from your device.
  2. Select a sheet Use the Sheet menu to switch worksheets. The line next to it shows the file name and row count.
  3. Check the preview The Excel preview panel renders the table with simple borders so you can verify the data.
  4. Export Press Copy HTML to copy the markup, or Download HTML to save it as a file named after the sheet.

Frequently asked questions

Does it keep colours, merged cells or formulas?

No. The output is a plain table of cell values. Styling and merged cells are not carried over, and each cell holds the displayed value rather than a formula.

What are the size limits?

The file must be an .xlsx of 10 MB or less. A sheet is truncated to 10,000 rows and 200 columns, and a warning appears when truncation happens.

Can I convert every sheet at once?

No. One worksheet is converted at a time. Pick another from the Sheet menu to switch.

Is the preview safe?

The preview is sanitised and shown in a sandboxed frame, so scripts in cell content cannot run. The cell text in the copied markup is also HTML-escaped.

What if my workbook has no sheets?

The tool reports The workbook has no worksheets. Add data and save the file again.

Why are some trailing columns missing?

Empty cells at the end of each row are trimmed, and the table width is set by the longest remaining row.