HTML Table to CSV Converter

Paste HTML that contains a table and get its rows as CSV, with entities decoded and tags removed.

Processed on your device. Files are not uploaded

How to turn an HTML table into CSV

  1. Paste your HTML

    Paste or type it into the box, or press Try an example. Include the whole table.

  2. Pick the table

    If the page has several tables, choose which one.

  3. Copy or download

    Open it in a spreadsheet, or save it as a .csv file.

Worked example

This is what HTML Table to CSV Converter gives for its own sample values. Open the tool above and change anything to try your own.

HTML

<table>
  <tr><th>Name</th><th>Role</th></tr>
  <tr><td>Ada</td><td>Engineer</td></tr>
  <tr><td>Grace</td><td>Admiral &amp; teacher</td></tr>
</table>
Which table
1
Delimiter
Comma ( , )

CSV

Name,Role
Ada,Engineer
Grace,Admiral & teacher

About HTML Table to CSV Converter

Extract a table from HTML and get its rows as CSV. Tags are removed, entities such as &amp; are decoded and line breaks inside cells are kept.

FAQs

Can I paste a whole page?

Yes. The first table is used, or the one you choose.

Does it fetch a web address?

No. Paste the HTML itself. Nothing is downloaded or sent.

Can I get JSON instead?

Use HTML Table to JSON Converter.

Related tools