json-md-formatter

JSON Formatter, Validator and Viewer

Local processing · Privacy
JSON Input

No JSON loaded

Paste JSON in the input panel, drop a .json file, or try sample data below.

An interactive online suite for formatting, validating, and exploring JSON, as well as converting JSON structures into clean Markdown tables, TypeScript interfaces, SQL queries, and charts.

How to use JSON Formatter, Validator and Viewer

  1. Paste JSON or open a .json file. Use Repair if the input is malformed.
  2. Choose Tree to explore values, Table to inspect arrays, or Code Gen to convert data.
  3. Copy or download your result. Clear removes the draft saved in this browser.

Example input and output

Input

{"name":"Alice","active":true}

Result

{
  "name": "Alice",
  "active": true
}

Supported data and limitations

JSON does not support comments or trailing commas. Repair is best effort: review changes before relying on the result. JavaScript number precision applies, so keep large identifiers as strings.

Where does my data go?

Formatting and conversion run locally in your browser. Your last valid JSON and last Markdown draft are saved on this device so you can restore them. Clear removes the corresponding saved draft. Shared links contain the document: anyone with the link can read it. Read the privacy details.