Example input/output
Input: <table><tr><th>Name</th><th>Age</th></tr><tr><td>Ada</td><td>30</td></tr></table>
Output: Name,Age\nAda,30
How it works
This tool parses the HTML table using DOMParser, iterates over rows and cells using the DOM API, and generates CSV with appropriate quoting for cells containing commas or newlines. Processing runs in your browser.
Common use cases
- Export an HTML table from a web page into CSV for spreadsheet analysis
- Extract tabular data from HTML reports as a CSV download
- Convert rendered table data to CSV for data processing