Sign up free

Excel to HTML Converter

Turn a sheet into HTML table code you can paste into a website, CMS or email template.

or drop files here

Accepts XLSX, XLS, CSV

Encrypted upload. Files are deleted automatically after 1 hour.

About Excel to HTML

Excel to HTML is for putting spreadsheet data on a web page without retyping it: a price table on a product page, opening hours, a results list in a blog post or a CMS. Upload an XLSX, XLS or CSV file and every sheet becomes an HTML table, with the first row as <th> header cells. To pull a table from a web page back into Excel, use HTML Table to Excel.

With Keep colors and borders on, cell fill colours, coloured text, bold cells, centre or right alignment and the borders drawn in the sheet are written as inline styles, and numbers are right-aligned. Turn it off for bare markup that takes your site's own CSS. The result box shows just the table code for copying, and the download is a complete page that looks right when opened on its own: a sheet without borders gets light grid lines there.

How to use Excel to HTML

  1. 1
    Upload the spreadsheet

    Choose or drop an .xlsx, .xls or .csv file. Every sheet with data is included.

  2. 2
    Decide on styling

    Keep colors and borders on to copy colours, borders and bold text, or off for plain markup.

  3. 3
    Click Excel to HTML

    The table code is generated on our server and appears in the result box.

  4. 4
    Copy or download

    Copy just the table markup into your page, or download the full .html file.

Why use Cubfile for this

  • Proper header cells

    The first row uses <th>, which screen readers and CSS frameworks recognise as headers.

  • Colours when you want them

    Fills, text colours, bold and alignment come along as inline styles, or not at all.

  • Paste-ready snippet

    The copy box holds only the <table> code, without <html> or <head> wrappers.

  • Several sheets, one file

    Each sheet becomes its own table under an <h2> with the sheet name.

FAQ

Excel to HTML: questions and answers

Can I paste the Excel to HTML code into WordPress?
Yes. Copy the table from the result box and paste it into a Custom HTML block, or into the HTML view of any CMS or email editor. For READMEs and other Markdown docs, Excel to Markdown Table is the better fit.
Does Excel to HTML copy my cell borders?
Yes, with Keep colors and borders on: the borders drawn in Excel are copied as inline styles, together with colours, bold text and alignment. A sheet without borders gets thin grid lines in the downloaded page only, so on your own site its CSS decides.
Are merged cells kept when I convert Excel to HTML?
No. Each cell becomes its own <td>, and the text of a merged range appears in its top-left cell. Add colspan by hand if the layout depends on it.
Is Excel to HTML free, and how big can my spreadsheet be?
Yes, within the free allowance: 2 tasks for visitors, 2 a day for free accounts, 50 MB per file. VIP lifts the task limit and takes files up to 1 GB.
Do you keep a copy of my spreadsheet?
No. It's deleted automatically an hour after processing, together with the HTML. The upload is encrypted and the conversion runs isolated from other jobs.
Share Excel to HTML with a friendIt runs in any browser, and they can try it without signing up.

Related tools

XLSSQL Excel to SQLGenerate CREATE TABLE and INSERT statements from Excel or CSV.
XMLXLS XML to ExcelTurn repeating XML records into spreadsheet rows.
CSVXLS CSV to ExcelOpen CSV and TSV data in Excel with the right columns and encoding.
CSVJSON CSV to JSONConvert CSV to JSON in your browser. Nothing is uploaded.
CSVXML CSV to XMLConvert CSV or Excel rows into XML records.
XLSCSV Excel to CSVSave each sheet as CSV, line breaks in cells handled.
XLSJPG Excel to ImageSnapshot sheets and charts as images.
XLSJSON Excel to JSONTurn rows into JSON objects using the header row as keys.