JSON Formatter

Validates, formats, and minifies JSON in the same box. The query shows its result in that box and keeps using the original JSON.

Try our OpenAPI Viewer

The query starts with $, the original JSON. The result shows up in the box and the expression keeps using that original.

  • the whole list.
  • the first item. Positions start at 0.
  • a field inside the item.
  • the same field in every item of the list.
  • a field with a space or special character.

Clicking an example returns to Query and runs it.

Related tools

  • JSON Compare Compare JSON side by side.
  • YAML / JSON Convert YAML to JSON and JSON to YAML.
  • OpenAPI Viewer Shows a Swagger or OpenAPI document: servers, operations, and request and response bodies with default values, and generates a mock for each one.