Category: Developer tools
Markdown Table to JSON Converter
Convert a Markdown pipe table to a JSON array in your browser
Paste a Markdown pipe table and get a JSON array of objects keyed by the header row. Conversion happens in your browser.
Converted 3 row(s).
JSON
[
{
"Name": "Ada Lovelace",
"Role": "Engineer",
"Team": "Blue"
},
{
"Name": "Grace Hopper",
"Role": "Admiral",
"Team": "Green"
},
{
"Name": "Escaped \\| pipe",
"Role": "Tester",
"Team": "Blue"
}
]Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This tool parses the header row, the `---` separator row and every data row of a Markdown table, the same way the Markdown table formatter on this site does, and turns each data row into a JSON object keyed by the header cells. It is a quick way to pull structured data out of a README or wiki table.
How to use it
- Paste a Markdown table, including its header and separator row.
- Read the generated JSON array below.
- Copy the JSON output.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my data uploaded anywhere?
- No. Parsing and formatting both happen in JavaScript in your browser tab, so nothing is sent to a server.
- What if two columns share the same header text?
- Later columns with the same header overwrite earlier ones in each row's JSON object, since object keys must be unique.
- Why does it ask for a separator row?
- The `---` row on line two is what marks a Markdown table as a table rather than plain text with pipes in it, so it has to be present for parsing to succeed.