JSON Parser
Parse JSON and inspect the resulting value, with full type information and precise error reporting.
Input
Output
Ready
Drop a file to load it
About this tool
Parse a JSON document and see exactly what it produces: the resolved types, the structure, and a breakdown of how many objects, arrays, strings and numbers it contains.
When you would use it
- Confirming a number parses as you expect rather than as a string
- Counting the nodes in a payload before processing it
- Checking the maximum nesting depth of a document
Worked example
{"n":42,"s":"42","big":9007199254740993}
n number 42 s string "42" big number 9007199254740992 ⚠ precision lost 3 keys · 1 object · depth 1
Things worth knowing
- Numbers are parsed as IEEE-754 doubles, so integers beyond 2^53 lose precision — the parser flags these.
- The reported statistics count every node, which is a quick way to spot an unexpectedly large payload.
Questions
Frequently asked
Why did my large integer change?
JSON numbers are parsed as 64-bit floats, which represent integers exactly only up to 9,007,199,254,740,991. Beyond that, precision is lost. If you need exact large integers, transmit them as strings.
Is my data uploaded anywhere?
No. Every tool on JSONWorks runs entirely in your browser using JavaScript. Your input is never sent to a server, never logged and never stored. The simplest proof is to disconnect from the internet — the tools keep working. The site does load Google Fonts and a Google Analytics page-view tag, so you will see those two requests in your network tab, but neither receives anything you type or paste.
Does it work offline?
Yes. JSONWorks is installable as a progressive web app and caches itself on first visit, so every tool keeps working without a connection.
Related