HTML Table to CSV
Paste HTML and get each table as CSV, even when some cells are merged.
Add HTML and click Convert to see the CSV here.
How HTML Table to CSV works
Reads tables from HTML and turns them into CSV. Paste a whole web page or just the <table> code. Each <tr> becomes a row, and each <th> or <td> becomes a cell.
Cells with rowspan or colspan fill every spot they cover, so columns stay lined up. Tags inside cells are removed and only the text is kept.
Input to HTML Table to CSV
- Paste or type HTML into the input box, or upload or drop a .html, .htm or .txt file.
- When the HTML has more than one table, pick one from the Table list.
- Repeat text in merged cells copies the text of a merged cell into every spot it covers. Turn it off to leave those spots empty.
- Scripts in your HTML never run and images do not load. Files up to 20MB, and everything runs in your browser.
Output from HTML Table to CSV
- CSV shown as a table. Click the view button to switch to the raw CSV text.
- Fields are separated by commas. Spaces and line breaks inside a cell become one space.
- Short rows get empty cells, so every row has the same number of columns.
- Copy it or download it as table.csv.