JSON to Markdown Table

Convert JSON arrays of objects to standard Markdown tables. Fast, free, and fully client-side.

Input source
Result / Output

How the JSON to Markdown Table Works

Converts a JSON array of objects into a GitHub Flavored Markdown table with a header row and one row per object. Column names come from the keys of the first object, and a missing key leaves its cell empty. Pipe characters in values are escaped and line breaks are flattened to spaces. Conversion runs in your browser and the file is never uploaded.

Usage Example

Turning an exported list of API endpoints into a table to paste into a project README.

Frequently Asked Questions

Which keys become the table columns?

Only the keys of the first object set the columns, in their original order. Later objects are read against those keys, so a field that appears only in a later object is left out of the table.

What happens to values with pipes or line breaks?

A pipe character inside a value is written as an escaped pipe so it does not split the cell. Line breaks are replaced with spaces because a Markdown table row has to sit on one line.

Can a single object be converted?

Yes. A single top-level object is treated as a one-row array. An empty array produces no output, and input that is not valid JSON is flagged with the parser error.

Browse more

See all JSON tools.