Read the first HTML table into JSON or CSV. The other direction is JSON to HTML table · JSON to CSV
An HTML table is already rows and columns. This page reads the first table into JSON or CSV. The other direction is JSON to HTML table. A JSON file that is already rows can use JSON to CSV.
id, name and ok, with rows 1 / Ada / true and 2 / Grace / false, and sets Output to JSON."1", "Ada", "true", then "2", "Grace", "false".id,name,ok, then 1,Ada,true, then 2,Grace,false, with no quotes around those cells.Only the first table is read. A head row of th cells becomes the keys. A body row with no head uses col1, col2 and so on. Tags inside a cell are dropped and the text is kept. A cell is always a string, so a number and a boolean do not come back as JSON types. A comma, a quote or a line break inside a CSV cell is quoted.
A table cell has text, not a JSON type. 1 is stored as "1".
The first table is the one that is read.