JSON Formatter
Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open toolEvaluate JSONPath expressions against your JSON and see every match with its path, in a safe sandbox.
Type a JSONPath expression such as $.store.book[*].title or $..price and the matches update as you type, each with its JSON Pointer location and value. Recursive descent (..), wildcards, slices ([0:2], [-1:]), unions and filter expressions such as [?(@.price < 10)] are supported. Example expressions are one click away.
Filters are evaluated with jsonpath-plus in its safe mode, a sandboxed expression evaluator: function calls, assignments and access to globals are rejected with a clear message instead of being run. Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
JSON, JSONPath
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Paste your JSON document (or try the sample).
Type a JSONPath expression or pick an example.
Review the matches and copy their values as a JSON array.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Type a JSONPath expression or pick an example.
Review the matches and copy their values as a JSON array.
Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open toolCompare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.
Open toolDecode and inspect JSON Web Tokens: header, payload, claims and exp/iat/nbf dates, with a clear reminder that decoding is not verification.
Open toolEdit, validate, format and explore JSON with a code editor, tree view and table view, then convert it to CSV, YAML or TypeScript.
Open tool