Skip to content

Markdown Table to JSON

Data Tools ·
·

Parse Markdown tables and convert them to JSON arrays of objects

Pull Structured Data Out of Documentation

You’ve got a feature comparison table in a Confluence wiki page. Or a list of API endpoints in a README. Or test cases formatted as a Markdown table in an Obsidian note. The data’s there, but it’s trapped in pipe-delimited text.

This tool parses Markdown table syntax into a JSON array of objects. Header row becomes keys, each data row becomes an object. It handles the separator row (the |---| line) correctly, trims whitespace from cells, and produces clean, indented JSON.

Example

| Name | Age | City     |
|------|-----|----------|
| John | 30  | New York |
| Jane | 25  | London   |

Becomes:

[
  { "Name": "John", "Age": "30", "City": "New York" },
  { "Name": "Jane", "Age": "25", "City": "London" }
]

All values come out as strings. If you need numbers as actual JSON numbers, post-process the output in your code with a quick parseInt() or parseFloat().

Where This Is Useful

Extracting data from READMEs. A library’s README has a table of supported options with columns for name, type, default, and description. You want that data programmatically. Paste the table, get JSON, and consume it in your tooling.

Obsidian and Notion workflows. You keep structured data in Markdown tables in your note-taking app. When you need to use that data in code, convert it here rather than reformatting by hand.

Test case management. Your test plan lives in a wiki as a Markdown table. Pull the test cases as JSON to feed into your test runner or CI pipeline.

Content migration. Moving from a Markdown-based CMS to a headless CMS that takes JSON? Convert the tables and import them.

The table needs to follow the standard Markdown format: pipes at the beginning and end of each row, a separator row with hyphens. Tables without leading/trailing pipes might not parse correctly.

The JSON to Markdown Table converter goes the other direction. Everything runs in your browser, and your data stays private.

markdown json table converter parser

Related Tools

More in Data Tools

Password Strength Checker

Analyze password strength with detailed scoring, crack time estimation, and security checks

Pomodoro Timer

Classic 25/5/15 work-break timer with audio cue, completed-pomodoro counter, and settings that save in your browser.

QR Code Generator

Generate QR codes for text, URLs, emails, phone numbers, WiFi networks, and vCards

QR Code Reader

Scan and decode QR codes from images or camera using the BarcodeDetector API

Random Date Generator

Generate random dates within a custom range, ISO, US, EU, long, or Unix format. Optional time component. Up to 500 at once.

Random Name Picker

Paste a list of names and pick a random winner with a quick shuffle animation. Draw one or several, and optionally remove each winner so nobody repeats.

Random Number Generator

Generate cryptographically random numbers with configurable range, count, uniqueness, and sorting

Random String Generator

Generate random strings with configurable length, charset, prefix, suffix, and count

Random Team Generator

Paste a list of people and split them into fair, random teams. Pick the number of teams or the team size, then shuffle again until it looks right.

Random Username Generator

Generate unique usernames combining adjectives, animals, nouns, and optional digits or year suffixes, 4 styles, 4 separator options.

SQL to CSV Converter

Extract data from SQL INSERT statements and convert to CSV format

Stripe Test Cards

Quick reference of Stripe test card numbers, successful charges, declines, 3D Secure, fraud scenarios, international, all copyable.

View all 49Data Tools