Convert JSON to a Markdown Table
Have a JSON array and want it as a table in a README or GitHub issue? Paste it below and get a clean Markdown table — object keys become the column headers, one row per element.
The shape it expects
Give it an array of objects. The union of all keys across the objects becomes the header row, so objects with missing keys still line up — the missing cells are left blank. A single object is treated as a one-row table.
Escaping pipes
Markdown tables use the pipe character | to separate columns, so any pipe inside a value is escaped to \| and newlines are collapsed to spaces. That keeps the table from breaking when your data contains those characters.
Nested values
If a cell holds an object or array, it is serialized back to compact JSON so nothing is lost. For deeply nested data a table is rarely the right view — flatten it first or pick specific fields.
FAQ
Which Markdown flavour is this?
GitHub-flavoured Markdown (GFM), which renders pipe tables. The same syntax works in GitLab, most static-site generators, and Obsidian.
Why are some cells empty?
Because that object did not have that key. The header is the union of all keys, so rows missing a key show a blank cell.
Can I control column order?
Columns follow the order keys first appear across the array. Reorder the keys in your JSON to reorder the columns.