JSON Input JSON
โš ๏ธ Invalid JSON โ€” please check your input.
Output
Advertisement
What does a JSON to Markdown converter do? A JSON to Markdown converter rewrites JSON as Markdown text you can paste into a README, wiki or notes. This one has five modes: auto-detect, pipe table for arrays of objects, nested bullet list, definition list and fenced JSON code block. It escapes pipes in table cells and runs in your browser.

What does a JSON to Markdown converter do?

Documentation lives in Markdown, but data lives in JSON. When you need to show an API response, a list of users or a config inside a README or wiki page, hand-typing a table is slow and easy to break. This JSON to Markdown converter does the formatting for you.

The Output mode menu has five choices. Auto picks a layout: an array of objects becomes a pipe table, an object becomes a nested bullet list, an array of plain values becomes a list, and a bare value goes into a code block. You can also force Table, Bullet list, JSON code block or Definition list. Two checkboxes add bold keys and H2 headings for top-level objects.

It works as you type, and a Preview tab shows a simple rendering. That preview is basic, so check the real result in your Markdown viewer. Nested objects inside table cells are shown as JSON text, and the tool does not draw tables inside tables. If your data is flat and tabular, CSV to Markdown is a good alternative.

How to convert JSON to Markdown here

  1. Paste JSON into JSON Input, or click Sample to load a team table.
  2. Choose an Output mode. Leave it on Auto unless you want a specific layout.
  3. Tick or untick Bold keys in lists and Add H2 headings for objects.
  4. Read the result in the Markdown tab and flip to Preview for a rough rendering.
  5. Press Copy to paste into your README or wiki.
  6. Use Download .md to save output.md.

The five output modes explained

Auto mode

Detects the shape: array of objects gives a table, an object gives a nested list, an array of values gives a bullet list, and anything else is fenced as JSON.

Pipe tables

Columns are the union of all keys, padded so the pipes line up. Pipes inside values are escaped and line breaks become
.

Bullet lists

Objects become nested lists with two spaces per level. Null shows as null, and arrays inside objects become sub-lists.

Definition list

Each top-level key becomes a term followed by : value. This syntax works in Pandoc and some other processors, not on GitHub.

Code block

Pretty-prints the JSON with two spaces inside a ```json fence, which is the best option when structure matters more than looks.

Preview tab

A small built-in renderer for headings, lists, tables and code, useful as a quick check.

Where JSON in Markdown is useful

  • README and docs authors. Turn a sample API response or a list of options into a table without retyping each row.
  • Support and QA notes. Paste a record into an issue as a readable list instead of a wall of braces.
  • Changelogs and release notes. Convert a JSON list of changes with fields such as version and date into a Markdown table.
  • Wiki pages and Notion. Copy a generated table into a page that already understands pipe syntax.

Tips for readable Markdown

  • For a table, give the tool an array of objects with the same keys. Rows with missing keys show empty cells.
  • Lists of objects inside an object are printed as compact JSON text in each bullet. Use Table mode on that array alone if you want columns.
  • Use the code block mode for deeply nested data. Lists get hard to read after three levels.
  • Definition lists are not part of standard CommonMark or GitHub Markdown. If your site does not support them, choose list mode.
  • If the JSON will not convert, tidy it first with the JSON formatter, and for web pages try JSON to HTML table.

Is it safe? Privacy and limits

The conversion and the preview run in your browser with JavaScript. Your JSON is not uploaded, saved, or tied to an account. The preview escapes angle brackets, but it is a simplified renderer and not a full Markdown engine, so it can differ from GitHub or your CMS. Review the final Markdown where you plan to publish it.

JSON to Markdown converter FAQ

It looks at the top level of your JSON. An array whose first item is an object becomes a pipe table. An object becomes a nested bullet list. An array of numbers or strings becomes a simple bullet list. A bare string, number, boolean or null is wrapped in a json code block. Auto never picks the definition list. If you disagree with the choice, pick another mode from the Output mode menu and the output refreshes at once.

They are turned into JSON text on one line, such as {"city":"Rome"}, and shown in the cell. Markdown tables cannot hold nested tables, so there is no better flat form. If you want nested data as columns, flatten the JSON before converting, or use the HTML table tool, which has a Flatten option. You can also switch to bullet list mode, which shows nesting with indentation. Pick whichever form your readers can scan fastest.

Yes. A pipe inside a cell or header is escaped as \|, so it does not split the column. A line break inside a value is replaced with
, because a Markdown table row has to stay on a single line. Many renderers display the br as a break. Pipes and breaks are the usual reasons a hand-made table falls apart, and the tool takes care of both for you. That saves a lot of fiddly manual fixing later.

Bold keys wraps each key in double asterisks in list output, as in **name**: Ada. It is on by default and affects list mode and auto mode for objects. Add H2 headings puts a second-level heading before each top-level key whose value is an object, so each section gets its own title. Headings only apply at the top level, and neither option changes tables or code blocks. You can turn either option off at any time and the output updates immediately.

It writes each top-level key as a term and its value on the next line, starting with a colon. Nested values are written as inline JSON in backticks. This format works in Pandoc, Python-Markdown and some documentation systems, but GitHub does not render it as a list. The mode needs a JSON object at the top. If you give it an array, it shows a short message instead of output.

The preview is a short built-in renderer for headings, lists, bold, italic, code and pipe tables. It does not implement the full Markdown or GitHub specification, so spacing and nesting may differ. Use it only as a quick check. The text in the Markdown tab is what counts, and you should paste it into the target editor to see the real result. When in doubt, trust the raw Markdown text rather than the preview pane.

There is no fixed limit in the code, but the page converts on every keystroke and builds the whole text in memory. A few thousand rows should be fine. Very large files can make the page slow, and a Markdown table with a huge number of rows is hard to read anyway. For big data, convert a sample, or use a script. If speed drops, paste fewer rows and convert in batches.

No. The conversion happens locally in your browser, with no upload, history or login. The Download .md button creates output.md on your own device. If the JSON includes private information, replace it with sample values before using any online page, and clear the input when you are done on a shared computer. If you only need the structure, a small anonymised sample works just as well as the real file.

Advertisement