HTML Table to CSV Converter

Convert an HTML table into CSV you can open in a spreadsheet.

Getting a web table into a spreadsheet

Data trapped in an HTML table on a page is awkward to reuse — copying it often loses the structure or brings along formatting. This converts the table's HTML into clean CSV, with rows and columns preserved, so you can open it in a spreadsheet or feed it into another tool as proper tabular data.

Paste the table's HTML and it is converted to CSV.

Clean rows and columns

The conversion maps each table row to a CSV row and each cell to a field, handling the escaping that CSV needs when a cell contains a comma or a quote — the detail that trips up naive copy-paste. Merged cells and nested tables can complicate things, as they have no clean CSV equivalent, so a simple, regular table converts most faithfully. For the common case of lifting a straightforward table off a page into a spreadsheet, it saves the tedious job of retyping or wrestling with a messy paste.

Frequently asked questions

What does it produce?

Clean CSV with the table's rows and columns preserved, ready to open in a spreadsheet.

Does it handle commas inside cells?

Yes — it escapes cells containing commas or quotes correctly, which is exactly what naive copy-paste gets wrong.

Is my data uploaded?

No. The conversion happens in your browser.

More Developer tools