JSON to Markdown
Turn JSON into readable Markdown — nested objects as headings, arrays as tables.
MarkPrep renders JSON as structured Markdown in your browser: nested objects become nested headings, and arrays of flat objects become Markdown tables. Handy for turning API responses or config into something an LLM reads cleanly — with a token count so you know the size.
How to convert json to markdown
- 1Drop your JSON file onto the box above, or click to browse. Nothing uploads — the file is read in your browser.
- 2MarkPrep converts it to Markdown locally and shows a live token count for your chosen model.
- 3Check the Preview, adjust the chunk size, and review the Verify tab for anything worth a second look.
- 4Copy the Markdown, download the .md/.zip, or export JSONL chunks for your RAG pipeline.
Format notes & gotchas
- Deeply nested structures produce deep heading levels (capped at H6).
- Arrays of mixed shapes render as lists rather than tables.
- Invalid JSON is shown as a fenced code block instead.
Related converters
Frequently asked questions
Is my file uploaded anywhere?+
No. Conversion runs entirely in your browser tab using WebAssembly. There is no upload endpoint — open your browser's Network tab and watch: nothing leaves the page. The only labelled exceptions are fetching a public URL and optional bring-your-own-key OCR.
How much does it cost?+
Conversion and the entire AI-Ready Pack — token counts, chunking, JSONL export — are free and unlimited, because they run on your hardware. Pro ($4/mo) adds workflow features like the local MCP server, watch folders and saved profiles.
Are the token counts accurate?+
Exact for OpenAI models (GPT-4o, o-series) via their published tokenizer. For Claude and Gemini we show a labelled approximation, because those tokenizers aren't public.
Want it inside your workflow?
Conversion is free forever. Pro ($4/mo) adds the local MCP server so Claude Code converts files on your machine, plus watch folders, saved profiles and encrypted sync.
See pricing