ToolsEdit PDFArticlesPricingContact
TryPDFKit
Spreadsheets tool

Convert XLSX to HTML

Publish a spreadsheet as a neat web page. Each chosen sheet becomes an HTML file with a styled table, built entirely in your browser.

  • 3 free uses, no sign-up
  • Files stay on your device
  • Stand-alone web page
  • Header row support

Drop your spreadsheet files here

or click to browse your device

  • XLSX
  • XLS
  • ODS
  • CSV
  • XLSM
  • XLSB
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was XLSX to HTML?
Be the first to rate this tool.
1How it works

XLSX to HTML in three steps

  1. 01

    Add your spreadsheet

    Add your XLSX, XLS, ODS or CSV file.

  2. 02

    Choose a sheet and header

    Pick the first sheet, all sheets or a named one. Keep the header option on to style row 1 as table headings.

  3. 03

    Download the HTML

    Open the .html file in any browser, or paste its table into your site.

2The details

What you get, and what to know

What you get

  • A full page, ready to openThe output has a doctype, a viewport tag and light built-in styles, so it looks fine on its own.
  • Proper table markupHeadings use th inside thead, data uses td inside tbody, with an even-row tint for easy reading.
  • Safe textCharacters such as < and & are escaped, so cell content cannot break your page.
  • One page per sheetSelect Every sheet and each tab gets its own HTML file.
  • Private by designThe workbook is processed in your browser only.

Good to know

  • Excel styling is not copiedCell colors, fonts, borders and merged-cell layouts are replaced by the page's simple built-in style.
  • Text as displayedValues appear as Excel shows them, so formulas become results and charts or pictures are left out.
  • Big sheets make big pagesThousands of rows load slowly in a browser. Trim the sheet first with Filter CSV rows or Extract selected Excel columns.
3Use cases

When people use XLSX to HTML

Publish a price list

Put a table on a site without installing a plugin.

Paste into an email or CMS

Copy the table markup into a newsletter or blog editor.

Share class data

Hand out a read-only table that opens on any device.

Prototype a layout

Start from real data when designing a table component.

Using the HTML you get

Open the file in a browser to see the table. To reuse it on your own site, copy everything between the table tags and paste it into your page, then adjust the CSS to match your design.

Making it look right

The headings come from the first row, so make sure that row holds your column names. Remove empty rows with Delete blank Excel rows and stray spaces with Trim Excel whitespace before converting.

Starting from a text file instead? CSV to HTML does the same for CSV.

Accessibility and responsiveness

The generated page includes a viewport tag, so it scales on phones, and real th cells for headings so screen readers can announce them. For very wide tables, wrap the table in a container with horizontal scrolling when you paste it into your own site.

4FAQ

Questions, answered

How do I convert Excel to an HTML table?+

Add the workbook, choose a sheet, and download the HTML file. It contains a ready-made table.

Is my spreadsheet uploaded?+

No. The HTML is generated in your browser and the data never leaves your device.

Can I turn off the header row?+

Yes. Untick the first-row option and every row is written as normal data cells.

Does it keep my Excel colors?+

No. The page uses its own simple styling. You can change it with CSS.

Can I convert all sheets?+

Yes. Choose Every sheet to get one HTML file per sheet.

Does it work on Android and iPhone?+

Yes, in current mobile browsers. The generated page is also mobile-friendly.

+Keep going

Related tools