JSON Workbench

Format, explore, query, diff, convert. In your browser.

A complete JSON toolkit that runs entirely on your machine. Pretty-print and validate with precise error locations, browse a collapsible tree, run JSONPath queries, compare two documents structurally, and convert to YAML, CSV, or a TypeScript interface.

Nothing is uploaded. Every byte you paste is processed locally in this page. Open DevTools and watch the network tab: no requests are made.

Input
Indent
Shortcut: Ctrl or Cmd + Enter to pretty-print.
Input
Input
Supported: $ root, .key, ['key'], [0], [*], ..key recursive descent, slices [1:3], unions [0,2], and filters [?(@.price<10)]. This is a useful JSONPath subset, not full jq.
Object keys are compared without regard to order. Arrays are compared by index.
Input
Target