Converter Tools
Markdown Table to JSON Converter
Paste a Markdown pipe table and instantly get clean JSON in your browser. Output array of objects, arrays, NDJSON, or columns. No upload, no signup.
Output shape
Each row becomes an object keyed by the header cells
Indent
Scope
Header key style
Use header cells exactly as written, e.g. "Order Total"
Type coercion
When off, every cell stays a string so the output round-trips every character. Null tokens recognized: empty cell, null, N/A, and -.
Conversions run entirely in your browser. Your Markdown is not uploaded.
Detected tables
Preview each detected table. Cells are shown after Markdown decoding but before JSON coercion, so you can confirm what the parser saw.
| Tool | Category | Free | Monthly users |
|---|---|---|---|
| Word Counter | Text | true | 12500 |
| JSON Formatter | Developer | true | 9800 |
| QR Code Generator | Generator | true | 7400 |
| Color Contrast | SEO | true | 4100 |
| Field | Value |
|---|---|
| Name | Ada | Lovelace |
| Bio | Mathematician Engineer |
| Notes | null |
How to use
- Paste any Markdown that contains one or more pipe tables into the input on the left. Surrounding prose, headings, and code blocks are ignored.
- Pick the output shape: array of objects (keys come from the header row), array of arrays, NDJSON, or a columns object.
- Choose how to handle types. Leave Numbers, true/false, and Empty/null on for typed JSON, or turn them off to keep every cell as a string.
- Pick the header key style (verbatim or snake_case) and the indent (minified, 2 spaces, or 4 spaces) to match your downstream tool.
- Copy the JSON or click Download to save a .json or .ndjson file. Your Markdown is never uploaded.
About this tool
Markdown Table to JSON Converter parses any GitHub-Flavored Markdown (GFM) pipe table you paste into it and emits clean JSON, ready to drop into a test fixture, a mock API response, a config file, a CMS import job, or any program that speaks JSON. The parser accepts the messy real-world tables that turn up in README files and design docs: a leading or trailing pipe is optional, cells may contain backslash-escaped pipes (\|) which decode to a literal pipe, inline HTML break tags (<br>, <br/>, <br />) decode to a newline inside the cell, the five XML entities (<, >, &, ", ') and numeric forms (&#NN; and &#xHH;) decode to their source characters, backtick-wrapped inline code stays a single cell even if it contains pipes, and the alignment row of dashes and colons (the :--- / :---: / ---: separator) is recognized and consumed. The detector finds every Markdown table in the input, skips fenced code blocks so a table-shaped line inside ``` ... ``` is not picked up by mistake, and pads uneven rows so partial data still becomes complete records. Pick the JSON shape that fits your consumer: an array of objects keyed by the header cells (the canonical records shape), an array of arrays for tools that take parallel data, NDJSON for streaming pipelines and one-record-per-line ingestion (BigQuery, Postgres COPY, log shippers, jq), or a columns object whose keys are the column names and values are parallel arrays. Optional type coercion turns numeric cells into real JSON numbers (with underscore separators stripped so 1_000 becomes 1000), turns true and false into JSON booleans, and turns empty cells, null, N/A, and - into JSON null, all per-cell so a single column with mixed types still round-trips correctly. Header keys can be used verbatim (preserving spaces and casing for human-friendly output) or slugified to snake_case for keys that survive every consumer. The whole conversion runs entirely in your browser, so the Markdown you paste (drafts, internal docs, README files, proprietary tables, blog posts) is never uploaded. Useful for developers turning a README table into a test fixture, technical writers exporting documentation tables to JSON for an API, data teams pulling tabular data out of issue templates and design docs, content editors importing a Markdown-authored spec into a JSON-based CMS, and anyone who needs JSON from a table they already wrote in Markdown without copying cell-by-cell.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Markdown Table to CSV Converter
Extract every Markdown pipe table from a document as RFC-4180 CSV or TSV.
Open tool
ConverterJSON to Markdown Table Converter
Turn JSON arrays and envelopes into a clean GFM markdown table.
Open tool
ConverterCSV to JSON Converter
Two-way CSV and JSON converter with delimiter and header controls.
Open tool
ConverterHTML Table to JSON Converter
Convert HTML tables to array-of-objects, array-of-arrays, or columns JSON.
Open tool
GeneratorMarkdown Table Generator
Editable grid, column alignment, paste from spreadsheet, live preview.
Open tool
DeveloperJSON Formatter
Format, minify, and validate JSON in your browser.
Open tool