HTML Table ↔ JSON
Text & Unicode
Table JSON output
Safe table preview
Convert input to display a preview.
How to use
Choose a direction
Select HTML to JSON or JSON to HTML.
Provide the table
Paste text or open a local file of at most 5 MiB.
Inspect the result
Review normalization notes and the safe preview, then copy or download the result.
Scope of the result
Input is capped at 5 MiB for both pasted text and files, and the table at 100,000 cells (columns × rows). Exceeding either is an error and nothing is converted. The JSON side accepts only normalized Table JSON version 1 (caption / header / alignments / rows) — an arbitrary JSON array cannot be converted.
Frequently asked questions
- What happens to rowspan and colspan?
- Their values repeat into every covered cell to form a rectangle. Associations remain, but the original merged presentation does not.
- Can scripts or formatting in the HTML execute?
- No. The converter extracts displayed cell text, and the preview is built safely from validated Table JSON.
- Can I convert multiple tables at once?
- No. Provide exactly one table element per input.