PX-CODE

JSON Formatter & Validator

Format, beautify, minify, and inspect JSON payloads with line numbers and parse diagnostics.

Paste your JSON
Formatted output
{
  "customer": {
    "id": 123,
    "name": "Peter",
    "orders": [
      {
        "id": 1001,
        "amount": 42.5
      },
      {
        "id": 1002,
        "amount": 17
      }
    ]
  }
}
Type
object
Size
99 B
Keys
8
Items
2
Max depth
5