AZ Tools

HTML Table to CSV Converter

Convert

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

  1. Paste HTML containing a <table> (or a whole page) into the input box.
  2. Pick the delimiter — comma, semicolon or tab.
  3. 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