Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Data Formats

HTML Table to CSV

Pull tables out of an HTML fragment or document: every <tr>/<th>/<td> becomes a CSV row with quoted fields, entity references decoded and embedded markup stripped. Handles rowspan and colspan by padding cells, skips nested tables, and can output just the first table or all of them. The inverse of csv-to-html. 100% on-device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Pulling CSV out of table markup

Paste an HTML fragment or a whole page and the tool walks each tr, th and td, strips inner tags, decodes entities such as &amp;, then writes comma-separated output that quotes a field only when it holds a comma, a quote or a line break. The result is plain RFC 4180 CSV that opens straight in Excel, Numbers or Sheets.

When the data is stuck inside a page

Use it whenever a results table, pricing grid or copied dashboard has no export button and retyping it by hand is not realistic.

First table or all of them

The tables option exports either just the first table or every table in document order, separated by a blank line. Skipping rows with no cells, on by default, drops padding rows that carry no content.

Spans, nesting and input size

colspan becomes repeated cells and rowspan pushes placeholders into the following rows so the grid stays rectangular, while a nested table is removed so its rows do not leak into the outer one. Input is limited to 1,000,000 characters, and HTML with no table, or only empty rows, reports a specific error.

Parsed in the browser, not on a server

The markup you paste is read entirely in the page, so nothing is uploaded and the conversion runs even with the network turned off.

Questions

How are nested tables handled?

Nested tables inside a cell are skipped so their rows do not leak into the outer table; only the table you asked for is exported.

Do rowspan and colspan survive?

colspan shrinks the cell into repeated cells, and rowspan pushes empty placeholders into the following rows so the grid stays rectangular.

What about markup inside a cell?

Tags are stripped and HTML entities (&amp;, &#169;, …) decoded, so “<b>Hi</b> &amp; bye” becomes “Hi & bye”.

What if my HTML has several tables?

Export the first table or all tables in document order, each separated by a blank line. Choose with the option.

See category