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

Convert HTML to Excel

Paste HTML containing a <table> into the Quick paste box, check the grid, then press Download .xlsx. The tool takes the first table as text and writes it to one Excel sheet.

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 HTML to Excel

You need HTML in Excel when the data sits on a web page, in an email or in an HTML report from a system, and you want to sort, filter or send it on. Copying a table from the browser into Excel sometimes drags odd formatting along. Here you get just the text, placed in a clean file.

How to do it

  1. Copy the <table> markup, or select the table on the page and copy it. You can also use Import file with an .html file.
  2. Paste it into the Quick paste box and press Load into table ↵. The tool reads the first table, as long as it was copied from a web page or the pasted markup starts with <table. For a whole HTML page, use Import file.
  3. Compare the grid with the original, especially the Phone column and any long-text columns.
  4. Open ⚙ Options on the Excel tab to set the sheet name and column widths, then press Download .xlsx.

A real example

The Excel tab shows only a TSV preview; the real file is created when you press Download .xlsx. Phone numbers that start with 0, like 0201234567, keep the zero because the grid holds strings only.

Input · HTML

<table>
  <thead><tr><th>Name</th><th>Email</th><th>Phone</th><th>City</th></tr></thead>
  <tbody>
    <tr><td>Anna Reed</td><td>anna@example.com</td><td>0201234567</td><td>London</td></tr>
    <tr><td>Ben Cole</td><td>ben@example.com</td><td>0207654321</td><td>Leeds</td></tr>
    <tr><td>Cara Lin</td><td>cara@example.com</td><td>0161234567</td><td>Bristol</td></tr>
  </tbody>
</table>

Result · Excel (TSV preview)

Name	Email	Phone	City
Anna Reed	anna@example.com	0201234567	London
Ben Cole	ben@example.com	0207654321	Leeds
Cara Lin	cara@example.com	0161234567	Bristol

Excel is a binary file: press Download file to get the .xlsx. This is a TSV preview.

Options worth changing

Auto column width
HTML tables often have a long Email column. Turn it on so the file opens with all text visible and no column dragging.
Sheet name
Replace the default with something relevant, for example Contacts. It holds up to 31 characters.
Protect sheet
Use it when you send the table to someone who only needs to read it. It protects the sheet; it is not a password for opening the file.

Common problems

Limits

Frequently asked questions

Can I just copy a table from my browser?

Yes. Paste it straight into the Quick paste box and the tool detects the HTML table. Only the text is kept.

Is the .xlsx built on a server?

No. The file is created in your browser and sent nowhere.

My HTML has several tables. Can I get them all?

The tool reads the first table each time. Paste each <table> block separately and download one file for each.

How do I go from Excel back to an HTML table?

Use Import file with the .xlsx, then open the HTML tab. Only the first sheet is read.

Related conversions

1xA2Z · Guide

Table statistics