Skip to content
migration.tools
HTML table to CSV

HTML table to CSV converter

Extract an HTML table from a page's source into CSV. Tags inside cells are stripped and entities decoded.

Going the other way? CSV to HTML table

Options

HTML table

CSV

The result appears here as soon as there is input.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Paste your HTML table or drop a file onto the input panel.
  2. 2Adjust the options — the result updates as you type.
  3. 3Copy the CSV or download it. Drop several files to convert a batch into one ZIP.

How HTML table becomes CSV

Both formats are tabular, so the conversion is a faithful re-encoding: the same header, the same rows in the same order, with quoting and escaping rewritten for CSV.

HTML table and CSV, briefly

An HTML table is how tabular data appears on a web page. Converting it lets you lift data out of a page, or drop a clean table into an email or CMS.

CSV is the lowest common denominator for tabular data: every spreadsheet, database and import wizard reads it. It has no types and no nesting, and details such as the delimiter, quoting and encoding vary between programs.

Questions

Can I paste a whole web page?

Yes. Paste the page source or just the <table> element. The first table found is converted; tags inside cells are stripped and HTML entities decoded.

Will the CSV open correctly in Excel?

Yes. Fields containing commas, quotes or line breaks are quoted the way Excel expects. If accented characters look wrong, turn on the UTF-8 BOM option; for European locales where Excel expects semicolons, change the delimiter.