Local Tools Online

Markdown Table → JSON Converter

Paste an existing Markdown table and convert it back into a structured JSON array of objects — useful when the data behind a table needs to go somewhere that expects JSON rather than Markdown.

A Markdown table is great for documentation but isn’t directly usable by code that expects structured data — this handles that specific conversion, turning each table row into a JSON object keyed by the table’s header row.

Paste a Markdown table (pipe-delimited, with a standard header separator row), and it converts into a JSON array where each row becomes an object, with header row values used as the object keys and each cell as the corresponding value. Preview the resulting JSON before copying, and toggle whether to auto-type values (converting numeric-looking cells into actual JSON numbers rather than strings).

Frequently asked questions

What happens if a cell in the table is empty?

Empty cells convert to an empty string value by default, or null if you enable that option, depending on which better represents “no value” for your intended use of the resulting JSON.

Does column alignment (left/center/right) in the original Markdown table affect the JSON output?

No — alignment is a purely visual formatting detail in Markdown with no equivalent meaning in JSON, so it’s simply ignored during conversion, and only the actual cell content carries over.

I need to go the opposite direction — I have JSON and need a Markdown table.

The Markdown table generator handles that reverse conversion, building a formatted Markdown table from structured data.