DataToolsLab
JSON Tools

JSON to Markdown Table

Convert a JSON array of objects into a Markdown table.

Loading tool…

What is JSON → MD Table?

The JSON to Markdown Table converter transforms an array of JSON objects into a formatted Markdown table with proper header row, alignment separator, and data rows.

How it works

We union all keys across the array to determine columns, then format each row as a pipe-delimited Markdown table row. Values are escaped for pipes and newlines.

  1. Paste JSON array. Drop or paste a JSON array of objects.
  2. Review the table. The Markdown table appears instantly. Copy it into any Markdown document.
  3. Copy. Copy the table to clipboard.

Examples

Simple data

[{"name":"Alice","age":30}] produces | name | age |\n| --- | --- |\n| Alice | 30 |

Common mistakes

Nested objects

Nested objects are JSON-stringified inside the cell. Flatten them first with the Flatten tool for cleaner columns.

Alternatives

JSON to CSV

Generate CSV instead of Markdown for spreadsheet use.

Frequently asked questions

Does it handle pipes in values?

Yes — pipe characters in cell values are escaped with backslash (\|) to prevent table breakage.

Online