1001Ferramentas
📊Converters

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?
No. A value containing | breaks the row it sits in. Replace it with \| before pasting the table into Markdown.
Can I convert a single JSON object?
No, the input has to be an array of objects. A bare object or an empty array shows a dash, and malformed JSON shows an error message.
How do I choose which columns appear?
There is no column picker. The keys of the first object decide, so trim the fields you do not want out of the JSON before pasting it in.

Related Tools