Converter

JSON to markdown table, instantly.

Paste a JSON array of objects on the left, copy a clean GitHub Flavored Markdown table on the right. Columns are derived from the union of keys. Missing fields stay as empty cells. Runs entirely in your browser.

  • No signup
  • No upload
  • GFM tables
  • Handles missing keys

Already have HTML? HTML to Markdown →

Live converter·
json225 chars
markdown table3 rows · 5 cols
| id | name | role | born | rank |
| --- | --- | --- | --- | --- |
| 1 | Ada Lovelace | Mathematician | 1815 |  |
| 2 | Alan Turing | Computer Scientist |  |  |
| 3 | Grace Hopper |  | 1906 | Rear Admiral |
id name role born rank
1 Ada Lovelace Mathematician 1815
2 Alan Turing Computer Scientist
3 Grace Hopper 1906 Rear Admiral

Why this converter

JSON in, GitHub-ready table out.

You exported some data — an API response, a CSV-to-JSON dump, a query result — and you want to paste it into a README, an issue comment, or a status doc as a table. This converter takes the array, walks the keys, and emits the pipes for you. No browser tab juggling, no manual alignment, no upload.

  • Local-first conversion

    Your JSON is parsed in the browser. Nothing is uploaded, logged, or analyzed. Safe for production exports.

  • Union of keys

    Columns come from every key that appears across every row, preserving first-seen order so the layout is predictable.

  • Tolerant of mess

    Missing keys render as empty cells. Pipes are escaped. Newlines collapse. Nested objects fall back to compact JSON.

  • Instant feedback

    No Convert button. The table updates as you type or paste, so you can spot a malformed row immediately.

How it works

Three steps, no friction.

  1. 01

    Paste your JSON array

    Drop in an array of objects. The sample shows the expected shape. Clear it and use your own export.

  2. 02

    Watch the table build

    Columns appear in first-seen order. Missing keys leave empty cells. Pipes inside values are escaped automatically.

  3. 03

    Copy or download

    Copy the markdown straight to your clipboard, or download a .md file to drop into your repo.

FAQ

Common questions

What does this JSON to markdown table converter do?
It takes a JSON array of objects, derives the column set from the union of all keys across every row, and emits a GitHub Flavored Markdown table you can paste straight into a README, issue, pull request, or doc. Cells that are missing in some rows render as empty cells so the table stays well-formed.
What input format does it expect?
A JSON array whose elements are objects — the shape that comes out of CSV-to-JSON tools, REST APIs, or `JSON.stringify(rows)`. The converter walks the array in order, collects every key it sees, and uses the first-seen order as the column order. Primitive values, nulls, booleans, and numbers are stringified; nested objects and arrays are written as compact JSON so the row stays on a single line.
Does it handle rows with different keys?
Yes. Non-uniform shapes are the whole point. The column set is the union of keys across all rows, so a row that's missing a column gets an empty cell rather than dropping the column or throwing. Use that to merge two slightly different datasets without aligning the schemas by hand.
What happens if my JSON is invalid?
You get a red error message in the output pane explaining what went wrong (usually a stray comma, unquoted key, or trailing data). Nothing is uploaded, and the output stays empty until the JSON parses. If you need to clean up the rendered table later, the Markdown to HTML converter will render it for visual inspection.
How are pipes and newlines inside cell values handled?
Pipe characters (|) are escaped to \| so they don't break the column boundary. Newlines and carriage returns are replaced with a single space so each row stays on one markdown line. The original JSON is untouched — only the table cells are transformed.
Can I paste the markdown back to compare?
Yes. The output is plain GFM, so any markdown renderer will draw the table. Use the editor to keep iterating on the surrounding prose, or strip it back to plain text with the Markdown to plain text converter if you only need the values.
Is anything uploaded?
No. Parsing and table generation run entirely in your browser — the JSON you paste here never touches our servers, and closing the tab discards it. Safe for production data, internal exports, or anything you'd rather not paste into a third-party site.

Writing more than a snippet? Use the editor.

Markdown Writer is the same parser, with synced scrolling, an outline, PDF export, and local autosave.

Open the editor