Paste markdown that has JSON in it and the preview renders the document with the JSON blocks highlighted; then use Share to send a read-only link to the rendered version.
JSON inside markdown is usually evidence or a contract. A bug report quotes the response the API actually returned next to the one the client expected. API documentation shows a request body and a sample response for each endpoint. Teams working with language models paste the structured output a model produced so others can check whether it matches the schema. Someone integrating a webhook writes down the payload they received and the fields they rely on.
Raw JSON in a chat thread quickly becomes a block of braces. Rendered, keys, strings, numbers, booleans and null are colored differently, so it is easier to see that a field arrived as a string instead of a number, or that a nested object is missing. Surrounding prose and tables can explain what each field means.
The viewer does not validate or reformat JSON; it shows the text exactly as pasted, so pretty-print it before pasting if you want indentation. Documents can be up to 500 KB, enough for most payload examples but not for large data dumps. Shared links need no account to open, and documents expire automatically after 15 days, which is a reasonable lifetime for a payload attached to a bug.
How to view JSON in markdown
- Paste your markdown into the editor above, or edit the example.
- Wrap JSON code in a fenced block that starts with ```json.
- The preview shows the rendered document with the code highlighted (side by side on desktop; switch to Preview on a phone).
- Select Share to get a read-only link that anyone can open without an account.
Frequently asked questions
Does the viewer validate my JSON?
No. The block is highlighted as written, without validation or reformatting. A missing comma will not be flagged, so check the payload with your own tools if correctness matters.
How large can a JSON example be?
The whole markdown document can be up to 500 KB. Larger payloads should be trimmed to the parts the reader needs.