Markdown Table ↔ JSON Converter
Convert between a GFM Markdown table and normalized Table JSON entirely in your browser.
Preserve escaped pipes, column alignment, cell line breaks represented by <br>, and headerless tables through the shared Table JSON model.
Input files and results stay in your browser.
Safe table preview
Convert a table to display its preview here.
How to use
1
Choose a direction
Select Markdown to JSON or JSON to Markdown.
2
Enter one table
Paste a single GFM table or version 1 Table JSON, or open a local file.
3
Inspect the result
Check the safe preview, then copy or download the result.
Markdown conversion rules
Escaped pipes remain cell content, and cell line breaks use <br>. Inline Markdown and HTML are preserved as text rather than interpreted. Headerless JSON is emitted with an empty GFM header row and returns to header: null when parsed again.
FAQ
- Are pipes and line breaks inside cells preserved?
- Pipes are written as \| and line breaks as <br>. Parsing the Markdown restores the original cell strings.
- Are links or HTML executed?
- No. Inline Markdown and HTML remain cell text, and the preview constructs text nodes from validated Table JSON.
- Can prose appear before or after the table?
- No. Input must contain exactly one GFM table. Surrounding prose and multiple tables produce an explicit error.
hsb.horse