Converter Tools
JSON to Markdown Table Converter
Convert JSON to a GitHub-Flavored Markdown table. Handles arrays of objects, arrays of arrays, and { data: [...] } envelopes with flatten or stringify modes.
Nested values
Expand nested objects and arrays into columns like address.city
Alignment
Output style
Only used when the JSON is an array of arrays.
Conversions run entirely in your browser. Your JSON is not uploaded.
Live preview
How the markdown table renders in any GitHub-Flavored Markdown viewer.
| id | name | role | active | score |
|---|---|---|---|---|
| 1 | Ada Lovelace | Engineer | true | 98.5 |
| 2 | Grace Hopper | Admiral | true | 99.2 |
| 3 | Alan Turing | Mathematician | false | 100 |
How to use
- Paste a JSON array of objects, an array of arrays, a single object, or an object envelope like { "data": [...] } into the input area.
- Choose how nested values are handled: Flatten with dotted keys for spreadsheet-style columns, or Keep as JSON to render nested values as compact JSON inside one cell.
- Optionally turn on 'Promote first inner array to header' when your JSON is an array of arrays and the first inner array contains column names.
- Pick an alignment mode. Auto right-aligns numeric columns, or force every column left, center, or right.
- Pick an output style. Aligned makes the raw markdown line up in your editor; Compact is the smallest valid table.
- Read the Markdown output panel and the Live preview to confirm the table looks right.
- Click Copy markdown to put the result on your clipboard, or use Load sample and Clear input to start over.
About this tool
JSON to Markdown Table Converter parses JSON in your browser and renders a clean GitHub-Flavored Markdown (GFM) pipe table you can paste into a README, a Notion page, a Slack message, or anywhere else markdown is rendered. It detects the most common shapes automatically: an array of objects (the canonical case), an array of arrays (each inner array becomes a row, with an optional toggle to promote the first row to header names), an array of primitives (single column), a single object (one row), and an object envelope like { "data": [...] } where the first array property is used as the data source. Nested objects and arrays can be flattened into dotted column names (address.city, tags.0) so spreadsheet-style tables stay readable, or kept intact and rendered as compact JSON inside their cell. Per-column alignment is auto-detected: columns whose every non-empty cell parses as a finite number are right-aligned and everything else is left-aligned, with manual overrides for all-left, all-center, and all-right. Output comes in two styles: Aligned pads each cell so the raw markdown lines up in your editor, and Compact uses single-space padding for the smallest valid table; both render identically in any GFM viewer. Pipes inside cells are backslash-escaped, internal newlines become <br>, and tabs collapse to a single space, so the escape rules match this site's csv-to-markdown-converter and markdown-table-generator and the same data produces the same table across all three tools. A live HTML preview shows exactly what the rendered table will look like. Everything runs in your browser; your JSON is not uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
CSV to Markdown Table Converter
Turn CSV or TSV into a clean Markdown pipe table with alignment and a live preview.
Open tool
ConverterJSON to CSV Converter
Convert JSON arrays to CSV with nested flattening and Excel-friendly options.
Open tool
GeneratorMarkdown Table Generator
Editable grid, column alignment, paste from spreadsheet, live preview.
Open tool
DeveloperJSON Formatter
Format, minify, and validate JSON in your browser.
Open tool
ConverterHTML Table to CSV Converter
Extract HTML tables to RFC-4180 CSV with colspan, rowspan, and link handling.
Open tool