HTML Table to CSV

Convert an HTML table to CSV or Excel

Paste the HTML of a page or of a single table. Every table is detected; pick one, preview it, then download CSV or paste it into Excel or Google Sheets.

Result

Results appear here as you paste.

Runs in your browser. Nothing you paste is uploaded.

How to use it

  1. 1

    Copy the HTML: open the page and press Ctrl+U (⌘+Option+U on a Mac) to copy the source, or right-click the table, choose Inspect, and copy the <table> element.

  2. 2

    Paste it in. Every table on the page is listed with its size; pick the one you need and check the preview.

  3. 3

    Download the CSV (it opens in Excel without garbled characters), or click "Copy for Excel" and paste into a sheet.

Frequently asked questions

Short answers to what people usually ask before installing.

Can I get a real .xlsx file?

Not from this tool. Download the CSV and open it in Excel, or use "Copy for Excel" and paste into a blank sheet; both keep every row and column. The CSV is saved with a byte order mark so Excel reads accented and Chinese characters correctly.

How are merged cells handled?

Cells that span several rows or columns (rowspan/colspan) are expanded so the columns stay aligned. By default the value is repeated in every cell it covers, which keeps filters and pivot tables working. Choose "Leave blank" to keep it only in the first cell, as it looks on the page.

What if the page has several tables?

All of them are listed in the order they appear, including tables nested inside other tables. Pick one from the list.

Can I paste a URL?

No. The tool doesn't fetch pages; it only reads the HTML you paste, in your browser. For tables on live pages, especially ones split across several pages or loaded as you scroll, use the DataLens extension.

Why doesn't my table show up?

Some sites draw tables with <div> elements instead of <table>, or load the data with JavaScript after the page opens, so it isn't in the page source. Copy the element from the Elements panel in DevTools instead, or use the extension, which reads what is on screen.

30 seconds to start

Install free. Your first table in minutes.

Free Chrome & Edge extension. Sign in and start.

You start with 400 free credits, enough to try your first table. Top up only when you need more.