JSON to Markdown Table Converter

Turn a JSON array into an aligned Markdown table for READMEs, pull requests and docs.

Processed on your device. Files are not uploaded

How to turn JSON into a Markdown table

  1. Paste your JSON array

    Paste or type it into the box, or press Try an example.

  2. Choose the alignment

    Left, centre or right for the columns.

  3. Copy or download

    Paste the table into a README, issue or doc.

Worked example

This is what JSON to Markdown Table Converter gives for its own sample values. Open the tool above and change anything to try your own.

JSON

[
  { "id": 1, "name": "Ada Lovelace", "email": "ada@example.com", "active": true, "score": 9.5 },
  { "id": 2, "name": "Linus Torvalds", "email": "linus@example.com", "active": false, "score": 7 },
  { "id": 3, "name": "Grace Hopper", "email": "grace@example.com", "active": true, "score": 10 }
]
Alignment
Left
Pad columns so they line up
Yes

Markdown

| id  | name           | email             | active | score |
| :-- | :------------- | :---------------- | :----- | :---- |
| 1   | Ada Lovelace   | ada@example.com   | true   | 9.5   |
| 2   | Linus Torvalds | linus@example.com | false  | 7     |
| 3   | Grace Hopper   | grace@example.com | true   | 10    |

About JSON to Markdown Table Converter

Turn a JSON array into a Markdown table for documentation, pull requests and chat. Nested objects are flattened into dotted columns.

FAQs

What JSON shape works?

A list of objects is best. A list of lists or a single object also works.

Can I get CSV instead?

Use JSON to CSV Converter.

Can I turn a table back into data?

Use Markdown Table to CSV Converter.

Related tools