HTML Table to CSV Converter
Paste an HTML table, preview it live, choose which columns to keep, and download the result as CSV.
HTML table
Paste HTML that includes a <table> with <tr> and <td>/<th> markup.
Processing happens locally in your browser; nothing is uploaded.
CSV tableLive table preview. Uncheck a column to drop it from the copy and download output.
Convert a table to see a preview here.
Typical tables process in under 10ms on modern browsers.
How to convert an HTML table to CSV
Convert in 3 steps
Takes ~5 seconds- 1Paste HTML
Add HTML that includes a table in the input box.
- 2Convert
Click "Convert to CSV" to parse the table rows.
- 3Pick columns
Uncheck any columns you don't want, then copy or download.
Who should use this tool?
- Analysts pulling data out of web tables
- Developers exporting scraped markup
- Content teams reusing table data in spreadsheets
Examples
Converts a table with headers into CSV.
<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ada</td><td>30</td></tr></table>
Name,Age Ada,30
Handles multiple data rows.
<table><tr><th>Name</th><th>Age</th></tr><tr><td>Ada</td><td>30</td></tr><tr><td>Grace</td><td>35</td></tr></table>
Name,Age Ada,30 Grace,35
Generates column labels when there is no header row.
<table><tr><td>Ada</td><td>30</td></tr></table>
Column 1,Column 2 Ada,30
Convert HTML tables into CSV
Pull structured data out of table markup and into CSV.
Use this HTML table to CSV converter to turn table markup into a spreadsheet-ready file. Paste your table, preview it live, choose whether the first row is a header, and pick which columns to keep before copying or downloading. Everything runs locally in your browser for fast, private conversion.
See your table rendered instantly after converting.
- Table preview
- Column checkboxes
- Updates instantly
Copy or download only the columns you select.
- Column filtering
- Proper CSV quoting
- No server upload
Conversion tips
Keep table markup simple for the most reliable results.
- Paste one table at a time for predictable column detection.
- Ensure each row has the same number of cells.
- Uncheck columns you don't need before downloading to keep the file small.
Frequently asked questions
Can I choose which columns end up in the CSV?>
Does this handle formatting inside table cells?>
Is my HTML sent anywhere?>
What if my table has no header row?>
Related HTML tools
Generate checkbox HTML inputs from a list of values. Paste items and get checkbox markup instantly. Works fast in your browser.
Convert CSV data into a clean HTML table. Paste CSV and get table markup instantly. Use it in your browser for quick, copy-ready results.
Generate HTML button markup for each line of text. Paste labels and get buttons instantly. Works fast in your browser.
Generate iframe HTML markup from a list of URLs. Paste links and get iframe tags instantly. Works fast in your browser.
Generate image tag HTML from a list of URLs. Paste links and get <img> tags instantly. Use it in your browser for quick, copy-ready results.
Generate radio button HTML inputs from a list of values. Paste items and get radio markup instantly. In your browser.
Generate a <select> dropdown from a list of values. Paste items and get HTML instantly. Use it in your browser for quick, copy-ready results.
Remove HTML tags and keep the readable text. Paste markup and get clean text instantly. Use it in your browser for quick, copy-ready results.