JSON to Markdown Table — GitHub Tables for READMEs and Docs
Format JSON records into GitHub-flavored | Column | Header | Markdown tables.
3 data rows, 7 columns.
| hostname | ip | vlan | site.city | site.rack | active | note |
| core-rtr | 10.0.0.1 | 1 | Jakarta | A1 | true | |
| sw-akses-01 | 10.0.10.11 | 10 | Bandung | true | uplink <10G> | cadangan | |
| ap-lobby | 10.0.20.5 | 20 | false | dua baris catatan |
- An array of objects gets one column per key (nested objects become a.b columns, arrays are written as JSON text, null becomes an empty cell). An array of arrays is read row by row.
- Characters that mean something in Markdown (| * _ ` [ ] < & ~ \) get a backslash and line breaks become <br>, so the table renders on GitHub exactly as the data.
When to use the JSON Array to GitHub Markdown Table Converter
GitHub tables from API data
Paste an array of objects from an API response or a config file and every key becomes a column of a GitHub-style Markdown table. Nested objects are flattened into columns such as site.city.
Special characters do not break the table
A pipe inside the data normally cuts a cell short. Here |, *, _, `, [, ], <, & and ~ get a backslash, so text such as uplink | backup or file_name shows exactly as written.
Columns that line up in plain text
The padding option adds spaces so the table is easy to read in a code editor too, not only once rendered. Left, centre or right alignment goes into the separator row.
Tested with a Markdown renderer
The output is tested with markdown-it, a renderer that follows the GitHub table specification, and every rendered cell matches the data, including line breaks written as <br>.
Frequently asked questions
Does it work in GitLab or Notion?
Yes. The GitHub-style table syntax is also read by GitLab, Bitbucket, Obsidian and many other Markdown editors.
What about multi-line cells?
Markdown tables have no line breaks inside cells, so a line break is written as <br>.
Can each column have its own alignment?
This tool uses one alignment for every column. For a single different column, move the colons in that column's separator cell: :--- left, :---: centre, ---: right.
How is this different from CSV to Markdown table?
This tool reads JSON and flattens nested objects; for spreadsheet data, use the CSV to Markdown table converter.
Is my data uploaded?
No. The conversion runs entirely in your browser.
Similar tools
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.
- Interactive Collapsible JSON Tree ViewerInspect nested JSON keys, data types and object counts cleanly in a collapsible tree.