Skip to main content
KalkuNet

JSON to Markdown Table — GitHub Tables for READMEs and Docs

Format JSON records into GitHub-flavored | Column | Header | Markdown tables.

Runs in your browserDeveloper · JSON, YAML, TOML, XML & CSV Converters
Alignment:

3 data rows, 7 columns.

hostnameipvlansite.citysite.rackactivenote
core-rtr10.0.0.11JakartaA1true
sw-akses-0110.0.10.1110Bandungtrueuplink <10G> | cadangan
ap-lobby10.0.20.520falsedua 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.

Learn more