Advertisement

MD Table to JSON converter

Convert MD Table to JSON free, right in your browser. Paste your MD Table input below and press Convert. Each row becomes a JSON object in a pretty-printed array. No sign-up, and nothing is ever uploaded.

MD Table input

Paste your MD Table below, then press Convert.

Runs 100% in your browser. Nothing is uploaded.

Waiting for input.

Advertisement

How the conversion works

Paste your MD Table on the left and press Convert. The tool first parses the MD Table (reading the header row, the --- separator and each data row, honoring \| escapes) into an internal table of rows and columns, then writes it out as JSON (pretty-printed with 2-space indentation). If the input cannot be parsed you get a plain-English error instead of a broken file.

Where this comes in handy

People reach for this converter when reusing tables from READMEs, wikis or notes and JSON is needed for APIs and JavaScript apps. Because everything runs locally in your browser, it is also handy for quick one-off migrations without installing database tools or writing throwaway scripts.

MD Table to JSON FAQs

Does the separator row matter?
Yes. The line of dashes (---) marks where the header ends and the data begins. Alignment hints like :---: or ---: are accepted and ignored.
How do I put a pipe character inside a cell?
Escape it with a backslash (\|) and it is treated as cell text instead of a column divider.
Are numbers kept as numbers in the JSON?
Yes. Numeric cells are emitted as JSON numbers, booleans stay booleans, and empty cells become null.
Can I feed the output straight to an API?
Yes. The output is a plain JSON array of objects, which most REST APIs and JavaScript apps accept directly.
Is my data uploaded anywhere?
No. Parsing and conversion run entirely in your browser with JavaScript. Your data never leaves your device.
Advertisement