Markdown Table to JSON Converter
Extract structured data from Markdown tables into formatted JSON arrays of objects, CSV, or TSV spreadsheets.
Extract JSON & CSV from Markdown Tables Online
Convert any GitHub Flavored Markdown table into a clean JSON array of objects, CSV, or TSV. Parses pipe-delimited tables and extracts column headers into structured JSON keys directly in your browser.
How to Use the Markdown Table to JSON
Paste Markdown Table
Paste any GFM pipe-delimited table from READMEs, documentation, or Notion exports.
Choose Output Format
Select JSON, CSV, or TSV using the format toggle at the top right.
Copy or Download
Click 'Copy JSON' to paste into your codebase or 'Download' to save the file.
Key Features & Capabilities
Pro Tips & Best Practices
- •Use this tool to convert GitHub README comparison tables into mock JSON fixtures for unit tests.
Frequently Asked Questions
How does the tool map column headers?
The first row of the Markdown table is treated as the schema keys. Each subsequent row becomes an object in the JSON array with key-value pairs matching those columns.
Does it support tables with alignment colons (e.g. :---:)?
Yes, the separator row (| :--- | :---: | ---: |) is automatically recognized and skipped during data extraction.
Can I convert back to Markdown later?
Yes! You can use our companion tool 'JSON to Markdown' to convert any JSON dataset back into a Markdown table.
Related Markdown Tools
Table Generator
Interactive visual spreadsheet grid for designing and formatting Markdown pipe tables.
JSON to Markdown
Transform structured JSON arrays and objects into pipe tables, bullet trees, or key-value cards.
CSV to Markdown
Convert CSV, TSV, and semicolon-delimited spreadsheets into aligned Markdown pipe tables.
Table Transposer
Rotate Markdown table matrices 90 degrees, swapping rows into columns and vice versa.