Free online HTML table to CSV converter. Extract table data from HTML code and convert to CSV format. Supports multiple tables, custom delimiters, and smart header detection.
The tool parses HTML <table> tags and extracts all <tr> (rows), <th> (headers), and <td> (data cells). It handles colspan and rowspan attributes for merged cells. Nested tags like <a> and <b> are stripped to plain text only.
Yes. If the HTML contains multiple <table> elements, the tool generates separate CSV outputs with '--- Table 1 ---' markers. You can choose to export only a specific table by index or merge all tables into one CSV file.
Supports custom delimiters (comma, tab, semicolon, pipe), text qualifiers (double quotes, single quotes, or none), and encoding. Default settings use comma delimiter + double quotes + UTF-8, compatible with Excel and Google Sheets.
Method 1: Right-click and select 'View Page Source', then copy the section containing <table>. Method 2: In DevTools (F12), find the table in Elements panel, right-click and select 'Copy' → 'Copy Outer HTML'.
Absolutely. This tool runs 100% in your browser. All HTML data is processed locally in memory and never uploaded to any server. Data is cleared when you close the page. Works offline.
Help us improve this tool. Share your suggestions, bug reports, or feature requests.
Submit Feedback