HTML Table to JSON
Extract data from HTML tables efficiently. Paste your table code and get a structured, ready-to-use JSON array.
HTML Table
JSON Result
Frequently Asked Questions
How does it identify column names?
It looks for the table header (<thead> or the first row). The text inside the header cells (<th>) becomes the JSON keys. If no headers are found, it auto-generates keys like 'col_1', 'col_2'.
Does it handle merged cells (rowspan/colspan)?
Currently, it treats the table as a simple grid. Merged cells might result in duplicated or empty data in the JSON output depending on how the browser parses the HTML structure.
Can I paste a full webpage source?
Yes, the tool will search the pasted code for the first <table> element it finds and convert that. Helpful for quick extraction from View Source.