JSON Formatter

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Format, minify, validate, and repair JSON in your browser. Edit the tree, run JSONPath queries, or convert to CSV, XML, or YAML.

Query and Conversion
Content Change Wizard
More Results Operations

Loading the tool…

Does formatting change large integers or duplicate keys?

Formatting and minifying preserve numbers as written. Duplicate keys are kept and flagged.

Input

{"id":9007199254740993,"status":"draft","status":"ready"}

Formatted output

{
  "id": 9007199254740993,
  "status": "draft",
  "status": "ready"
}

JSONPath compares numbers using JavaScript Number. Resolve duplicate keys before using JSONPath or JMESPath. JMESPath rejects numbers that would lose precision during conversion.

Example and instructions

Select Load Example to try it. Change indentation, sort object keys, or extract fields in Query and Conversion.

RFC 8259

Search tools