JSON Parser Toolkit
Validate, format, minify, and query JSON using JSONPath — all in your browser with instant error feedback
Click any node to copy its JSONPath
JSONPath results will appear here.
Invalid JSON
How To Use
Paste Raw JSON
Paste any JSON payload from your API, webhook, or config file.
Validate and Format
Check syntax errors instantly, then beautify or minify output.
Query with JSONPath
Use JSONPath to quickly extract fields and test data paths.
FAQ
Yes. Parsing, validation, and formatting run directly in your browser. Your JSON is not uploaded to the server.
This tool supports common JSONPath patterns including dot notation, bracket notation, array indexes, and wildcard access for quick inspection.
Yes. The toolkit validates JSON and then lets you format or minify the same input in one workflow.
Parsing happens in your browser, so the practical limit depends on your device's memory. Most desktop browsers comfortably handle files of 10-50 MB, while phones start slowing down around 5-10 MB. Extremely deep nesting (thousands of levels) can also trip some parsers, since RFC 8259 sets no nesting-depth requirement.
JSON is a pure data format defined by RFC 8259. JSONP ('JSON with Padding') is an older cross-domain trick that wraps JSON in a JavaScript function call so a <script> tag can load it from another origin. JSONP is obsolete now that CORS is universally supported, and it is insecure if the remote source is not fully trusted.
Use the JSONPath field: $.store.book[0].title returns the first book's title, $..author finds every author at any depth, and $.user.roles[0] drills into arrays. JSONPath was standardized in 2024 as RFC 9535, and this tester follows that syntax.
The four most common causes are trailing commas before a } or ], single quotes instead of double quotes, unquoted keys, and comments - RFC 8259 allows none of these. Also check for NaN or Infinity, which are valid in JavaScript but not in JSON. The validator pinpoints the exact character position of the first syntax error.
Six per RFC 8259: object, array, string, number, boolean, and null. There are no dates, binary blobs, or comments - encoders represent those as strings or custom conventions. Numbers are decimal only; leading zeros and hex notation are rejected.
Related Tools
Authoritative References
Primary sources behind this tool - official standards and specifications, not secondhand summaries.
RFC 8259 - The JSON Data Interchange Format
The IETF standard that defines the JSON data interchange format and its grammar.
JSON - json.org
The original JSON site by Douglas Crockford, with the format introduction in many languages.
MDN Web Docs - Working with JSON
Mozilla guide to working with JSON in JavaScript: parse, stringify, and revivers.
JSON - Wikipedia
JSON data types, syntax history, and its rise as the dominant API interchange format.