jsonecho

JSON to Markdown Table

Turn a JSON array into a Markdown table that you can paste into a README, wiki or issue.

Loading the tool...

How to use JSON to Markdown Table

  1. Paste a JSON array of objects.
  2. Copy the table and paste it into your Markdown file.

About JSON to Markdown Table

Markdown tables are fiddly to type, especially when the data already exists as JSON. This tool builds the header, the separator row and the data rows for you, and pads every column so the source stays readable too.

Pipes inside values are escaped, and line breaks are replaced by spaces, because a Markdown table row has to stay on one line.

Frequently asked questions

Does it work on GitHub?

Yes. The output follows the GitHub Flavored Markdown table syntax, which also works in GitLab, Notion, Obsidian and most other editors.

What happens to values with a pipe character?

They are escaped as \| so they do not split a cell.

Can I align columns to the right?

Not through this tool. Edit the separator row by hand, for example ---: for right alignment.

More in Converters

All tools →