Document & File Tools

Excel to HTML

Drop an Excel workbook and get its sheets as HTML tables. Values appear as they are displayed in Excel, with number formats, dates and percentages, or as raw values; merged cells become rowspan and colspan; the first row can become a header; and empty rows and columns are skipped. Copy the tables, add ready CSS, or download a complete page, all without uploading the file.

  • Runs in your browser
  • No sign-up
  • Free to use

How to use Excel to HTML

  1. Drop an XLSX, XLS, ODS or CSV file.
  2. Choose a sheet or all sheets.
  3. Pick formatted or raw values and the output type.
  4. Copy the HTML or download it.

Excel to HTML features

All spreadsheet formats

XLSX, XLSM, XLS, ODS and CSV via SheetJS.

Displayed values

Number formats, dates and percentages as Excel shows them.

Merged cells

Converted to rowspan and colspan.

Clean tables

thead and tbody, num class for numbers, empty rows skipped.

Safe output

All cell text is HTML-escaped.

Private

The workbook is read on your device.

When to use Excel to HTML

  • Publishing a spreadsheet table on a website or intranet.
  • Embedding Excel data in an HTML e-mail.
  • Converting a price list or timetable for a CMS.
  • Documenting a workbook’s contents in HTML.

Excel to HTML FAQ

Are formulas converted?

Formulas are exported as their calculated values, as stored in the file. Use the Excel Formula Checker to inspect the formulas themselves.

What is the difference between formatted and raw values?

Formatted values look like Excel’s display, such as 12.5% or 14 Mar 2026. Raw values are the underlying numbers and ISO dates, which suit further processing.

Are colours and fonts kept?

No. Cell styles are not exported; the tables use the provided CSS or your own. This keeps the HTML clean and consistent with your site.

Can I convert all sheets at once?

Yes. Choose “All sheets” to get one table per sheet with its name as a heading.

Does it support old .xls files?

Yes, along with .xlsx, .xlsm, .ods and .csv.

Is my workbook uploaded?

No. It is read in your browser.

Spreadsheets as web tables

Spreadsheets are where much tabular data is maintained, but the web needs HTML. Excel’s own “Save as web page” produces large files full of styling and proprietary markup. A cleaner route is to read the workbook and write simple, semantic tables that fit into any page and can be styled with a few lines of CSS.

The workbook is read with SheetJS, which understands the modern XLSX format, older binary XLS files, OpenDocument spreadsheets and CSV. Each cell can be exported as Excel displays it, applying the number format so that currencies, percentages and dates look familiar, or as its raw value for data processing. Formulas contribute the value Excel calculated when the file was saved.

Structure is preserved where it matters. Merged cells become HTML cells spanning several rows or columns, the first row can be marked up as a header with th cells, numeric cells get a class for right alignment, and line breaks inside cells become br tags. Rows and columns that are completely empty are skipped, which removes the blank margins many sheets have.

Every value is HTML-escaped, so text containing angle brackets or ampersands cannot break the page or inject markup. The preview runs in a sandboxed frame with scripts disabled, and the output can be just the tables, the tables with a small style sheet, or a complete HTML document.

Because the file is processed in your browser, confidential workbooks never leave your device. Cell colours, fonts, charts and images are not exported; add styling with CSS to match your site instead.

Other useful tools