1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert Excel to HTML

Press Import file and pick your Excel file, or paste copied cells into Quick paste. The HTML tab gives you a plain <table> ready for a web page, an email template or a CMS.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Spreadsheet

SheetsExcelCSVTSV
✦ Quick pasteSheets / Excel, CSV, TSV, Markdown, JSON, HTML, LaTeX, wiki…
0 rows · 0 columnsSelected cell: A1
02

Live Output

Markdowntwo-way
SyncedEdit directly; the table on the left updates itself
0 characters
Every change is processed right in your browserReady · LocalUTF-8 · by xuanhieu.org

When you need to convert Excel to HTML

People convert Excel to HTML to publish a price list, a grade sheet or a schedule without typing tags by hand. Excel keeps colours, borders and merged cells; the HTML here is a plain table with a header row and text cells. This page opens with the class table table-striped already set, so change it to match your own CSS framework.

How to do it

  1. Press Import file and choose an .xlsx or .xls file, or select cells in Excel, copy them, paste into Quick paste and press Load into table ↵.
  2. Check the grid on the left. Only the first sheet is read and you get the displayed values, so move the sheet you need to the front first.
  3. Open the HTML tab, then ⚙ Options, to switch thead on or off, set the table class and choose whether to minify.
  4. Press Copy result to paste into your editor, or Download file to save an .html file.

A real example

The first Excel row becomes <thead> with <th> cells and the other rows sit in <tbody>. A score such as 7.5 stays exactly as text, and the <table> tag carries the class you set.

Input · Cells in Excel

NameClassMathEnglish
Mia Park10A198.5
Leo Ward10A27.59
Zoe Hall10A1107

Result · HTML

<table class="table table-striped">
  <thead><tr><th>Name</th><th>Class</th><th>Math</th><th>English</th></tr></thead>
  <tbody>
    <tr><td>Mia Park</td><td>10A1</td><td>9</td><td>8.5</td></tr>
    <tr><td>Leo Ward</td><td>10A2</td><td>7.5</td><td>9</td></tr>
    <tr><td>Zoe Hall</td><td>10A1</td><td>10</td><td>7</td></tr>
  </tbody>
</table>

Options worth changing

Use <thead> and <th>
Keep it on when the first Excel row holds column names. Turn it off for data-only sheets: every row becomes <td> and no header tags are written.
<table> class
Enter table table-striped for Bootstrap, or your own Tailwind classes. Only letters, digits, hyphens and underscores are kept.
Minify
Useful when the target field accepts a single line, or you want the smallest snippet. Leave it off while you still edit the markup by hand.

Common problems

Limits

Frequently asked questions

Is my Excel file uploaded anywhere?

No. The file is read and the HTML is built in your browser, and the data stays on your machine.

How do I get a striped Bootstrap table?

Open ⚙ Options on the HTML tab and type table table-striped into the table class field. Your page still needs the Bootstrap CSS for the class to do anything.

What if the workbook has several sheets?

Only the first sheet is read. Move the sheet you want to the front, or copy its cells and paste them into Quick paste.

Can I go from HTML back to Excel?

Yes. Paste markup that starts with <table into Quick paste; the first table is read, then press Download .xlsx.

Do leading zeros in codes survive?

Yes. Every cell is text and nothing is retyped, so a code like 00123 comes out as Excel displays it.

Related conversions

1xA2Z · Guide

Table statistics