โ† All converters

Free JSON to Markdown Converter

Convert JSON objects/arrays into nested Markdown headings + lists or key-value tables. Useful for feeding API responses, config files into ChatGPT/Claude.

JSONNested objectsArraysKV tablePretty print

Benefits

๐ŸŒณ
Nested structure

Nested objects โ†’ nested headings + bullet lists. AI reads structure more easily than raw JSON brackets.

๐Ÿ“‹
Array โ†’ table

Array of objects (uniform keys) โ†’ GFM table. Easy to spot patterns.

๐Ÿ’ก
Schema preserved

Type info kept: strings quoted, numbers unquoted, booleans italicised. AI understands data types.

How to use

  1. 1Paste JSON into the input box (or drop a .json file).
  2. 2Syntax is auto-checked โ€” invalid JSON shows line/column.
  3. 3Choose output style: heading-list (nested objects) or table (arrays).
  4. 4Copy MD or 'Open in Claude' for AI Q&A.

What is JSON to Markdown?

JSON (JavaScript Object Notation) is the most common data format for APIs and configs. Pasting JSON into AI works but the brackets and commas force AI to re-parse โ€” costing tokens and sometimes misreading structure. Converting to Markdown with headings + lists helps AI 'see' the structure visually.

We use native JSON.parse plus our custom transformer. Object โ†’ heading; key โ†’ bullet; nested object โ†’ nested heading; array of primitives โ†’ bullet list; array of objects (uniform schema) โ†’ GFM table.

Use cases: API engineers converting JSON responses to MD before pasting into Claude for documentation; devs converting configs (package.json, tsconfig.json, .eslintrc) for AI to explain settings; data engineers converting NoSQL documents for AI schema analysis.

  • โœ“Object โ†’ heading (level matches nesting depth)
  • โœ“Array of primitives โ†’ bullet list
  • โœ“Array of objects โ†’ GFM table with columns from keys
  • โœ“Nested object โ†’ nested heading + indented list
  • โœ“Boolean, null, number keep their type (italicised or plain)
  • โœ“Long strings (>100 chars) wrap automatically
  • โœ“Auto pretty-print with 2-space indent

When to use it

Document API responses

Take JSON from your API โ†’ MD โ†’ paste Claude to write docs or generate TypeScript types.

Config explainers

package.json/tsconfig.json/eslintrc โ†’ MD โ†’ ChatGPT explains each setting.

Schema review

JSON Schema or OpenAPI spec โ†’ MD โ†’ Claude reviews, suggests improvements.

Database documents

MongoDB document export โ†’ MD โ†’ AI analyses structure, suggests indexes.

i18n locale files

Convert i18n JSON to MD so translators (or Claude) work more easily.

How it works

Parsing uses native JSON.parse โ€” fast, supports JSON5 if user enables option (allows comments, trailing commas, single quotes). Syntax errors are caught and shown with line/column for quick fixes.

Tree transform uses recursive walk: for each node, check type. Object โ†’ heading + walk children. Array โ†’ check: primitives โ†’ bullet list; uniform-schema objects (90%+ matching keys) โ†’ table; mixed โ†’ list of nested.

Output has 2 modes: 'Verbose' keeps every heading even at level 1 (good for documentation), 'Compact' merges levels with <2 entries inline (denser, better for AI feed). Default 'Compact' to save tokens.

JSON โ†’ Markdown FAQ

Does JSON with comments (like tsconfig) parse?

Default JSON.parse is strict โ€” no comments. Toggle 'JSON5 mode' to allow comments, trailing commas, unquoted keys.

What about huge JSON (10MB+)?

Browser parses up to ~50MB. Larger may slow. Phase 2 will add streaming.

How are circular references handled?

JSON spec disallows circular. If your data has them (like JS objects), use JSON.stringify with a replacer first.

What about arrays of mixed types?

Rendered as a bullet list, each item formatted by type (string/number/object separately).

JSON Schema validation supported?

Currently syntax-check only. Phase 2 will add schema validation if user provides a schema.