HTML Table to CSV Converter
Extract tables from HTML and save them as CSV.
Click to upload or drag and drop
.html .htm .txt
No file at hand?
How to convert an HTML table to CSV
- 1
Paste HTML that contains a <table>, or upload a saved .html page.
- 2
Click "Convert". Every table in the HTML is found and converted.
- 3
If there are several tables, pick one from the list to preview it.
- 4
Download the CSV, or download all tables at once as a ZIP.
Example: a table with a merged cell
HTML input
<table> <tr><th>team</th><th>name</th></tr> <tr><td rowspan="2">Sales</td><td>Emma</td></tr> <tr><td>Liam</td></tr> </table>
CSV output
team,name Sales,Emma Sales,Liam
Tips for extracting HTML tables
Getting the HTML
In the browser, right-click the table and choose Inspect, then right-click the <table> element and copy its outer HTML. Or save the page with Ctrl+S.
Merged cells
Cells with rowspan or colspan are repeated into every row and column they cover, so the CSV stays rectangular.
Only text is kept
Links, images and formatting are removed. Line breaks inside a cell are kept.
Safe to paste
The HTML is only parsed, never run. Scripts in the pasted code do not execute.
HTML Table to CSV FAQ
Is the HTML table to CSV converter free?
Yes. It is free with no sign-up.
Can I enter a web page URL?
Not directly, because browsers block reading other sites. Copy the table's HTML or save the page and upload the file.
What if the page has several tables?
Each table becomes its own CSV file. You can preview them one by one or download all of them as a ZIP.
Is my HTML uploaded?
No. The HTML is processed in your browser.
All CSV Tools
CSV to JSON
Convert your CSV files to JSON format with ease.
JSON to CSV
Convert your JSON files to CSV format easily.
CSV to Excel
Convert CSV files to Excel format easily
Excel to CSV
Convert Excel spreadsheets to CSV format.
Excel to JSON
Convert Excel spreadsheets (XLSX, XLS) to JSON arrays.
JSON to Excel
Convert JSON data to an Excel (XLSX) spreadsheet.
CSV Splitter
Split a large CSV file into smaller files by row count.
Merge CSV
Combine multiple CSV files into one, matching columns by header.
XML to CSV
Convert XML files to CSV format efficiently.
CSV to XML
Convert CSV files to XML format efficiently.
CSV to YAML
Convert CSV rows to a YAML list.
YAML to CSV
Convert a YAML list to a CSV table.
CSV to Markdown
Convert CSV files to Markdown tables.
Markdown to CSV
Convert Markdown tables to CSV files.
CSV to HTML
Convert CSV files to HTML tables.
HTML Table to CSV
Extract tables from HTML and save them as CSV.
CSV to PDF
Convert CSV files to PDF documents.
CSV to SQL
Convert CSV files to SQL insert statements.
CSV to vCard
Convert CSV files to vCard format for contacts.
CSV to TSV
Convert comma-separated CSV to tab-separated TSV.
TSV to CSV
Convert your TSV files to CSV format easily.
TSV to Excel
Convert your TSV files to Excel format easily.