How to use Markdown Table to JSON
Convert the first Markdown pipe table into an array of objects. Column headings become field names and visible cell text becomes values.
- Paste the Markdown table including the separator row.
- Convert, then check the property names and strings in the JSON output.
Example input
| Item | Quantity | | --- | --- | | Notebook | 2 | | Pencil | 3 |
Example use
Turn a short options matrix in a README into sample records for a web UI.
Output and compatibility
The tool reads plain cell text from the first rendered table. It does not retain rich text, link destinations or prose surrounding the table.
Troubleshooting
If numbers should become JSON numbers in the receiving program, assign the types explicitly after conversion. Ensure literal pipes in a value are escaped in the source.
Use Markdown Table to CSV when the target is a spreadsheet rather than an application.
Frequently asked questions
Can it read a full Markdown document?
It uses the first rendered table in the document.
Will it include links as objects?
The export uses visible cell text.