JSON to Markdown Table Converter
Convert an array of JSON objects into a formatted Markdown table, with header and alignment. Paste the JSON and copy a table ready for READMEs and docs.
Markdown
—
From API output to README table
You have a JSON payload from an API or a database export, and it has to show up in a GitHub README, a ticket, or a docs page. Hand-building a Markdown table is tedious: counting pipes, lining up the dash row, making sure every record ends up with the same number of cells. Paste the array here and the table appears as you type, with no generate button to press.
Columns come from the keys of the first object in the array, and only that one. If a later record carries an extra field, it gets dropped; if it is missing a field, the cell comes out empty. The separator row is plain dashes, so every column is left-aligned by default. Swap in :---: or ---: after copying if you want centered or right-aligned columns. Nested objects render as [object Object].
Two things to check before pasting into a README. Any text value containing a pipe character breaks the row it sits in and needs escaping as \|. And an array with a dozen keys makes a table nobody can read on a phone. There is no copy button here, so select the grey block and copy it yourself. Everything runs in your browser and the JSON never leaves your machine.
Frequently asked questions
Does it escape pipe characters inside values?
Can I convert a single JSON object?
How do I choose which columns appear?
Related Tools
JSON to HTML Table Converter
Convert an array of JSON objects into a ready HTML table, with header and rows. Paste the JSON and copy the code to drop straight into your page or email.
YAML to JSON Converter
Convert YAML to JSON right in your browser, with no data sent to any server. Paste the YAML and copy ready-to-use JSON for APIs, configs and scripts.
JSON ↔ XML Converter
Convert between JSON and XML preserving attributes via @attr and text via #text, with pretty-print of the resulting XML.
JSON to Java Class
Convert JSON to a Java POJO class with getters/setters and inferred types. Supports nested classes and arrays as List. Everything in your browser.
JSON to TOML
Convert JSON to TOML, the readable config format used by Cargo (Rust), pyproject.toml, Hugo, etc. Supports strings, numbers, booleans, arrays and nested tables. Everything in your browser.
JSON to YAML
Convert JSON data to YAML format.