JSON to Markdown Table Converter
This JSON to Markdown table converter turns JSON into a Markdown table. Paste a list of objects, or an API response with the list inside, and each object becomes a row and each key a column. Nested objects get their own columns, lists are joined, and missing keys are left blank.
- Nested objects flattened
- Stays on your device
How to convert JSON to a Markdown table
Paste the JSON and copy the table.
-
Paste your JSON
Paste it into the box, or click Open a file and choose a .json file. An API response with the list inside a key works as it is.
-
Choose how nested objects look
Own columns gives each nested key a column, like address.city. JSON in one cell keeps the nested object as JSON.
-
Copy the table
Click Copy Markdown or Download .md.
This API response has 3 users inside a users key. The table has 3 rows and 7 columns: the nested address becomes address.city and address.country, the roles list becomes admin, editor, and the 2 users without active get an empty cell.
How JSON shapes become tables
Most JSON from an API or a database fits one of these.
| Your JSON | The table |
|---|---|
A list of objects: [{"name": "Ana"}, …] | One row per object, one column per key |
A list inside a key: {"users": [ … ]} | The list is found and used |
A nested object: "address": {"city": "Lisbon"} | An address.city column, or the object as JSON in one cell |
A list of values: ["admin", "editor"] | admin, editor in one cell |
| Objects with different keys | A column for every key; missing values are empty |
An object of objects: {"ana": {…}, "ben": {…}} | One row each, with a Key column first |
| A single object | Key and Value rows |
true, false, null | true, false and an empty cell |
If the JSON won’t convert
The converter shows your browser’s message saying where the JSON stops being valid, such as Expected double-quoted property name in JSON at position 8. Common causes:
- A comma after the last item, as in
{"a": 1,}. JSON doesn’t allow it. - Single quotes around names or text. JSON needs double quotes.
- Comments. JSON has none; remove
//lines. - Several JSON objects one per line (JSON Lines). Wrap them in
[ ]with commas between them.
JSON to Markdown Table Converter FAQ
How do I convert JSON to a Markdown table?
Paste the JSON into the box. Each object in the list becomes a row and each key a column, and the table is ready to copy.
What if my objects have different keys?
Every key found in any object gets a column, and objects without that key get an empty cell.
How are nested objects shown?
As their own columns, named with a dot, like address.city. Choose JSON in one cell to keep each nested object as JSON instead.
Does it work with an API response?
Yes. When the list of records sits inside a key such as data, items or results, the converter finds it.
Why do I get a JSON error?
The text isn’t valid JSON: often a comma after the last item, single quotes or comments. The message says where the problem is.
Is my text uploaded?
No. The conversion runs in your browser, on this page, so nothing you paste is sent to a server or saved. Closing the page clears it.
More markdown converters tools
- Convert CSV to Markdown Table Converter Turn CSV into a lined-up Markdown table, with quoted values handled. Open tool
- Convert Excel to Markdown Table Converter Turn Excel or Google Sheets cells into a Markdown table. Open tool
- Convert OpenAPI to Markdown Converter Turn an OpenAPI or Swagger file into Markdown API docs. Open tool
- Convert HTML to Markdown Converter Turn HTML code or copied web pages into clean Markdown. Open tool