Skip to content
← Back

HTML Table to JSON - Online Tool

Data
Runs locally · Not uploaded

Online HTML Table to JSON converter: parses HTML tables into JSON object arrays, using header cells as keys and data cells as values. Essential for web data extraction. All processing is done locally.

Was this result helpful?

For local tools, open DevTools → Network and search your input — it should not appear in requests.

Next steps

Usage Guide

Paste HTML tables to JSON with header and empty-as-null options — local extraction for docs and admin pages.

1. Paste table HTML

Paste a table fragment, set options, copy JSON.

  1. Paste table.
  2. Set options.
  3. Copy.

2. Irregular markup

Colspans/nested tables misalign — simplify first.

3. Entities

Decode double-escaped text before converting.

  • One table.
  • Unmerge.
  • Decode entities.

4. CSV / Markdown

Use sibling converters when spreadsheets or docs are the target.

5. Validate

Check fields/rows; all-null columns hint colspan issues.

6. Privacy

Prefer redacted samples on shared screens; document options.

FAQ

By default the first row (often th) supplies the keys; turn off the header option to use column indexes (ColumnN) instead. Empty cells can be mapped to null so downstream code can distinguish empty strings from missing values.

Copy the outer table's outerHTML from DevTools, or simplify the table into a regular grid before converting. Paste one table at a time on multi-table pages — missing closing tags also shift columns.

Usually a wrong header row count, or misalignment caused by colspan. After converting, check that the fields are complete and the row count matches, then verify against the original HTML with a small sample.

After normal parsing, entities are already decoded text. If you pasted double-escaped source, run it through the in-site HTML entity tools first, then come back to convert the table.

Use html-table-to-csv for Excel and html-table-to-markdown for docs. JSON suits API mocks and program consumption; CSV suits spreadsheet software.

Free with no registration wall. Parsing runs locally in the browser, and nothing you paste is transmitted to any external destination.

Related Tools

Related Articles