HTML Table to CSV Converter
Paste HTML that contains one or more tables and get clean CSV out. Each row and cell is read with the browser's real HTML parser, cell text is whitespace-normalized, and values are properly quoted when they contain commas, quotes or line breaks. Choose comma, semicolon or tab as the delimiter; multiple tables are exported one after another. Everything runs locally in your browser — nothing is uploaded.
How to use
- Paste HTML containing a <table> (or a whole page) into the input box.
- Pick the delimiter — comma, semicolon or tab.
- Copy the CSV from the output box.
Frequently asked questions
- Does it handle multiple tables?
- Yes. Every <table> in the pasted HTML is converted, and the resulting CSV blocks are output one after another, separated by a blank line.
- How are header cells treated?
- Header cells (th) and data cells (td) are both included as ordinary fields, in document order, so your header row comes out as the first CSV row.
- What about colspan and rowspan?
- Cells are read once each, in source order, without expanding spans. Simple tables convert exactly; tables with merged cells may need manual touch-up.
- Is my HTML sent anywhere?
- No. Parsing and conversion happen entirely in your browser; nothing is uploaded.
Related tools
CSV → HTML / Markdown / JSON Table
Convert CSV to an HTML `<table>`, a Markdown table, or a JSON array of objects — auto-detects the delimiter.
Markdown Table Generator
Paste CSV, TSV, or pipe-delimited data and get a properly aligned GitHub-flavored Markdown table.
CSV Viewer & Sorter
View CSV / TSV data as a sortable, searchable table — open a file or paste rows, no spreadsheet required.
CSV to Excel (XLSX) Converter
Turn CSV or TSV into a real .xlsx file in your browser, with leading zeros, long IDs and codes like SEPT1 kept exactly as typed.
CSV ↔ TSV ↔ Pipe Converter
Switch delimited text between CSV, TSV, pipe, and semicolon — with proper RFC-4180-style quoting and auto-detection.
CSV → SQL INSERT Generator
Convert CSV / TSV rows into SQL INSERT statements with table name, dialect quoting, type inference, and multi-row mode.