Fast, Private & Client-Side Developer Suite
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.

How to Use HTML Table to JSON Converter

  1. Paste your raw HTML containing <table>...</table> into the editor.
  2. Choose whether you want an array of objects or a 2D array.
  3. 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.