HTML Table to CSV Converter
Pull table data out of HTML — useful for scraping a webpage and getting clean CSV. Paste the HTML; the tool finds tables, extracts every row, and outputs CSV.
How to use the HTML Table to CSV Converter
Paste HTML that contains a <table>. The tool finds the table, extracts every row, and outputs CSV below — ready to copy or open in a spreadsheet.
Extracting tables as CSV
Tabular data on a web page lives inside <table> markup — rows of <tr>, cells of <td> — which is useless to a spreadsheet until it is extracted. Copying from the rendered page tends to mangle the result, picking up stray columns or losing structure.
This parses pasted HTML, finds the table, and emits clean CSV — one row per <tr>, with cells comma-separated and quoted where a value contains a comma or quote. For the same data as a JSON array of objects instead of CSV, use the HTML table to JSON converter; once you have CSV, the CSV viewer previews it and CSV to SQL INSERT turns it into statements.
Common use cases
- Scrape a table — pull tabular data off a web page into CSV.
- Open in a spreadsheet — get table data into Excel or Google Sheets.
- Clean an export — convert an HTML report table to CSV.
- Keep the header — the first row becomes the CSV header line.
- Pipe onward — feed the CSV into other data tools.