HTML Table to JSON Converter
Transform HTML <table> tags and scraped web tables into clean JSON objects, 2D arrays, or column arrays with automatic type inference and zero server uploads.
At a glance
HTML Table to JSON Converter is a free online tool that converts HTML <table> elements and web snippets into clean, structured JSON arrays and objects with smart type casting. It exports as an array of objects, 2D matrix array, key-value mapped dictionary, or columnar arrays. All processing is local: nothing is uploaded, and no account is required.
100% Client-Side HTML Table to JSON Converter
Transform HTML <table> tags and scraped web tables into clean JSON objects, 2D arrays, or column arrays with automatic type inference and zero server uploads.
You May Also Need
Export HTML tables into CSV spreadsheets or Excel workbooks.
Convert HTML tables into clean GitHub Flavored Markdown tables.
Transform Markdown table records into structured JSON objects.
Beautify, inspect, validate, and minify structured JSON payloads.
Why Use This HTML Table to JSON Converter?
How to Use HTML Table to JSON Converter
Paste HTML or Upload File
Paste raw HTML <table> markup or web snippets into the editor, or upload a .html file.
Configure Output Options
Select your desired JSON output format (Objects, 2D Array, Keyed Object), indentation, and type casting.
Copy or Download JSON
Click Copy JSON or Download .json to integrate directly into your apps, APIs, or database pipelines.
E-Commerce HTML Table to Structured JSON Array
Parses <th> header elements into JSON object keys, automatically infers numeric currency and boolean values, and outputs formatted 2-space indented JSON.
<table><thead><tr><th>Product</th><th>Price</th><th>InStock</th></tr></thead><tbody><tr><td>MacBook Pro</td><td>$1,999.00</td><td>true</td></tr><tr><td>Magic Mouse</td><td>$79.00</td><td>false</td></tr></tbody></table>
[
{
"Product": "MacBook Pro",
"Price": 1999,
"InStock": true
},
{
"Product": "Magic Mouse",
"Price": 79,
"InStock": false
}
]
Technical Specifications & Engine Details
| Specification | Details |
|---|---|
| Supported Formats | TEXT/HTML, TEXT/PLAIN, .HTML, .HTM → APPLICATION/JSON, TEXT/PLAIN, .JSON |
| Execution Mode | 100% Client-Side In-Browser (client) |
| Browser Requirements | Modern browser with JavaScript enabled. |
| Performance Constraints | Runs client-side in browser memory. Performance and file limits are bounded by available local device RAM. |
100% Client-Side Privacy Guarantee
Your files and HTML snippets remain strictly on your local device. Zero data is transmitted to external servers.
Frequently Asked Questions
Can I convert Wikipedia tables or web page snippets?
How does smart type casting work?
Are my documents or HTML snippets uploaded to any server?
Methodology
This tool runs entirely in your browser. The example above shows a representative input and the result it produces.
Last updated .