JSON 到 Markdown

將 JSON 陣列轉換為文件和自述文件的 Markdown 表。

免費線上 JSON 到 Markdown 表格轉換器

將 JSON 陣列資料轉換為 GitHub 風格的 Markdown 表格,您可以將其貼到 README 檔案、wiki 和問題評論中。每個物件成為一行;鍵成為列標題。

選擇列對齊方式,可以選擇新增行號,然後複製結果。嵌套物件在單元格中序列化為 JSON 字串。所有處理都發生在您的瀏覽器中。

Frequently Asked Questions

What JSON format produces a Markdown table?
An array of objects with consistent keys: [{"name": "Alice", "role": "Admin"}, {"name": "Bob", "role": "User"}]. Each object becomes a row; keys become column headers. All objects should share the same property names for clean columns.
Does the output work on GitHub?
Yes. Generated tables use standard GitHub Flavored Markdown syntax with pipe separators and a header row. They render correctly on GitHub, GitLab, Notion, and most Markdown editors.
Can I align columns?
Yes. Dokall supports left, center, and right column alignment using Markdown alignment syntax (:---, :---:, ---:). Alignment affects rendering in viewers that support it, like GitHub.
How are nested values displayed?
Nested objects and arrays are serialized as inline JSON strings within table cells. For readable nested data, flatten the JSON first or use separate tables for nested collections.
Can I add row numbers?
Yes. Enable the row numbers option to prepend a numbered index column. Useful for referencing specific rows in documentation or issue comments.