100% Client-Side • Private
Converters
HTML Table to JSON Converter
Extract and parse HTML table markup into structured JSON objects or arrays
Loading tool...
Related Tools
Continue with Markdown Table Generator, SQL to JSON Converter, CSV to Markdown Table Converter.
Markdown Table Generator
Create, edit, and format GitHub Markdown tables with an interactive spreadsheet editor
SQL to JSON Converter
Convert SQL INSERT statements and table dumps into structured JSON arrays and objects
CSV to Markdown Table Converter
Convert CSV and TSV spreadsheets to GitHub-flavored Markdown tables
How to Use HTML Table to JSON Converter
- Paste your raw HTML containing <table>...</table> into the editor.
- Choose whether you want an array of objects or a 2D array.
- Copy the parsed JSON payload or download it as a .json file.
Frequently Asked Questions
How are table headers detected?
- The converter automatically uses the first row of <th> or <td> elements as keys for the resulting JSON objects.
Can I output a raw 2D array instead of objects?
- Yes, toggle the output format to "2D Array (Rows & Columns)" to get a plain matrix array without named keys.
Sources & References
Primary references: WHATWG HTML Living Standard; RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format.
Review policy: references and behavior notes are checked whenever the tool implementation changes.