HTML Table to JSON Converter
Parse HTML tables in your browser and export rows as JSON arrays or objects with header mapping.
Turn HTML tables into JSON
Documentation pages, CMS exports, and scraped markup often store tabular data inside <table> tags.
Paste HTML or upload a file and this tool parses rows in your browser, maps header cells to JSON keys, and optionally coerces numbers and booleans.
Need CSV instead? Use the HTML to CSV Converter. For PHP array syntax, try the HTML Table to PHP Array Converter.
Frequently Asked Questions
How are JSON keys chosen?
When "Use first row as JSON keys" is enabled, header text from the first row becomes property names. Empty headers fall back to column_1, column_2, and so on.
Can I export multiple tables?
Yes. Choose "All tables" to receive a JSON array where each element is the data from one table in document order.
Is my HTML uploaded to a server?
No. Parsing uses the browser DOMParser API locally. Nothing is sent for conversion.