HTML Table to CSV

Pull a table out of HTML as CSV.

Loading tool…
Try next →JSON FormatterFormat and validate JSON.

About HTML Table to CSV

HTML Table to CSV pulls the first table out of pasted HTML and turns it into CSV. Copy the markup of a table from a web page or an email, paste it in, and get one CSV row per table row with a column for each cell, so you can drop the data into a spreadsheet without retyping it. It reads the text of each header and data cell and quotes anything that needs it to keep the CSV valid.

The conversion runs entirely in your browser, so the HTML you paste is read and turned into CSV on your own device and nothing is uploaded to a server. It is free, needs no account or sign-up, has no usage limits, and there is nothing to install.

Frequently asked questions

Is it free, and do I need to sign up?
Yes, it is completely free, with no account and no sign-up. There are no usage limits and nothing to install. Paste the HTML and copy the CSV it produces.
Is my HTML uploaded anywhere?
No. The markup is parsed in your browser, so the HTML you paste stays on your own device. Nothing is sent to a server or stored.
How do I use it?
Paste HTML that contains a table element into the box. You can copy a page's source or an HTML email, and the tool finds the table and turns each row and cell into CSV.
What if the HTML has more than one table?
Only the first table in the HTML you paste is converted. If the page has several tables, paste just the markup for the one you want so the tool reads the right table.
Does it keep links, images, and formatting inside cells?
No. It keeps only the plain text of each cell, so links, images, and styling are dropped. Merged cells are not expanded either, so each cell becomes a single CSV value.