What is a json to markdown converter?
A json to markdown converter turns a JSON array into a table you can paste into a README or document. Each object in the array becomes one row, and the keys of the first object become the column headers. The default JSON here has 2 objects and 2 columns — name and age — and converts to a table with 2 data rows.
The need comes up whenever data has to be shown, not just stored. A JSON file from an API is easy for a program to read and hard for a person to scan. A table is the opposite: a person reads it at a glance. Converting once gives you a table to paste into a README, a wiki page, or a GitHub issue, where the data is visible without any code.
This tool is pure JavaScript and runs entirely in your browser. Nothing is uploaded, nothing is stored, and there is no account to create. Paste the JSON array, copy the table.
How the conversion works
The converter reads the JSON array and takes the keys of the first object as the header row. For the default input, those keys are name and age, so the table has 2 columns. Every object in the array then becomes one row, with its values placed under the matching headers.
Values are written as plain text. A number such as 36 stays 36, a string such as Ada stays Ada, and a boolean stays true or false. A nested object or an array inside a value is shown as a JSON string, so the data is not lost — it is just presented in a compact form that fits in one cell.
Values are escaped before they are written. A pipe character inside a value is escaped as \|, so it cannot split the row, and a line break inside a value becomes a space. The escaping is what makes the output safe to paste into any Markdown file.
Rows that are missing a key get an empty cell, and extra keys in later objects are ignored, because the header comes from the first object. Keep the keys consistent across objects and every row fills completely.
Markdown tables, explained
A Markdown table has three parts: a header row with the column names, a separator row of dashes that tells the renderer the line above is a header, and one row per object. The converter writes all three, with the separator row built from the column count, so the table renders in GitHub, GitLab, and most wikis without any edits.
The header row is the contract. It names the columns, and every data row must have the same number of cells. A table with a ragged row — three cells in one row and two in the next — renders badly on GitHub, which is why the converter always writes the same number of cells in every row, filling gaps with empty cells.
Styling is separate from structure. The Markdown table this tool produces has no alignment markers, so every column is left-aligned, which is the default. Add colons to the separator row — :--- for left, ---: for right, :---: for centre — if you want a different alignment for a column.
The pipe character is the one value that needs escaping, because a pipe inside a cell would be read as a column separator. The converter replaces every pipe in a value with a backslash pipe, which Markdown renders as a literal pipe inside the cell. That escaping is invisible in the rendered table — the reader sees the pipe, and the table keeps its shape. Without it, a single value with a pipe would split the row into extra columns and shift every value after it, which is the classic broken-table bug.
A worked example: a team table
Take the default JSON: two objects, Ada aged 36 and Grace aged 40. That is 2 rows and 2 columns. Convert it and you get a table with a header row of name and age, then two data rows: Ada 36, and Grace 40. Paste it into a README and it renders as a clean two-column table on GitHub.
Try a wider object to see the header grow: add a city key to both objects and the table gains a third column. The header always comes from the first object, so add the new key to the first object as well as the rest — otherwise the column exists in the data but not in the header.
Try an error to see the boundary: paste a JSON object instead of an array, such as {"name": "Ada"}, and the converter reports that the top level must be an array of objects. Wrap the object in square brackets — [{"name": "Ada"}] — and it converts.
Who uses a table converter, and why
Developers writing documentation are the main users. An API returns a JSON array, and the docs need a table showing the same data — a list of endpoints, a table of users, a set of example records. Converting once gives a table to paste into the docs, instead of retyping every value.
Technical writers are the second group. A README with a table of features, a changelog with a table of versions, or a wiki page with a table of settings all start as data and end as tables. A converter keeps the table in sync with the data: change the JSON, convert again, and the table is current.
Analysts and support staff are a third group. A JSON export from a tool needs to become a table for a report or an email, and the converter does it without a spreadsheet. A JSON to CSV converter covers the same need for spreadsheets.
Documentation writers are a third group. A README that shows sample data as a table is easier to read than the same data as a JSON block, and the converter is how the sample data gets into the table without typing it by hand. The writer pastes the JSON from the API response, converts it, and pastes the table into the README, where it renders on GitHub or any Markdown viewer. The table stays in sync with the API as long as the writer re-runs the conversion when the data changes.
Table converter vs other JSON tools
A table converter shows data; other JSON tools change it or check it. The JSON to CSV converter on this site turns the same array into a spreadsheet file, which suits analysis, while this tool turns it into a table, which suits reading. The data is the same; the destination is the choice.
A JSON formatter tidies JSON that stays JSON, and a JSON validator checks whether JSON is valid. Use the formatter when the JSON is the deliverable, the validator when you are not sure the JSON parses, and this tool when a human needs to read the data.
All three share the same design: paste, convert, copy, with the data never leaving the browser. If your JSON is already valid and only needs showing, this is the fastest tool for the job.
A Markdown table is not a spreadsheet, and the distinction matters when the data needs to be sorted or filtered. A Markdown table is a picture of the data — it shows the values, but a reader cannot sort it or add a formula to it. A spreadsheet is the tool for working with data, and a Markdown table is the tool for showing it. Use the converter when the goal is to display the data in a document, and export to a real spreadsheet when the goal is to work with it.
Common table conversion mistakes
The first mistake is a ragged array: objects with different keys. The header comes from the first object, so a key that appears only in the third object has no column, and its values are silently dropped. Keep the keys identical across objects, or put the object with the most keys first.
Second: nested objects in cells. A value that is itself an object is shown as a JSON string, which is correct but hard to read in a table. Flatten nested data before converting — pull the nested keys up to the top level — and the table stays readable.
Third: pasting a JSON object instead of an array. A single object has no rows, so the converter reports an error. Wrap it in square brackets to make a one-row array, and it converts.
Fourth: forgetting that the output is unstyled. The HTML table has no classes, so it takes the page's default table styling, which may be plain. Add a class or a stylesheet rule if the table needs to match your site — the structure is correct, and the styling is yours to add.
A second mistake is expecting nested objects to flatten themselves. A value that is an object or an array is written into the cell as compact JSON, which keeps the data but makes the cell hard to read — a cell that holds a whole address object is not as useful as a cell that holds just the city. If the table needs to be readable, flatten the JSON first, or pick the fields that matter and convert only those. The converter is honest about what it does, and the JSON string in the cell is the honest form of a value that has no single text form.
How to use this json to markdown converter
Paste your JSON array into the box — the default has 2 objects and 2 columns — and the table appears instantly in the box below, with the row and column counts above it. The status reads Valid when the input parses cleanly.
To copy the result, use the Copy button next to the output box, then paste it into your README or document. If the input has an error, the output names the problem — fix the JSON and paste again.
Everything runs in your browser. No sign-up, no account, no data sent anywhere — your JSON never leaves your device. It works offline once the page has loaded.
Paste the JSON array, press convert, and read the Markdown before you copy it. The first line is the header row, the second line is the separator with its dashes, and the data rows follow underneath. Check that every row has the same number of pipes as the header — a row with fewer pipes means an object was missing a key, and the empty cell is where its value would have been. When the rows line up, copy the Markdown and paste it into the README or document where the table belongs.