JSON Deserialize Online
FV-24Paste JSON to parse it and see its structure as a hierarchy: each key and array item on its own line with its path, type and value. Errors name the line and column.
Runs in your browser. Nothing is uploaded.
JSON
Parsed structure
How to use it
- Paste your JSON into the input box.
- Pick a path style and how many array items to show.
- Click Show hierarchy for the full structure, Paths only for a list of paths, or Beautify for formatted JSON.
- Copy the result or download it.
What the hierarchy shows
Every object and array is listed with its size, and every value under it sits on its own line, indented by depth, with its path such as user.tags[0] or $.user.tags[0], its type (string, number, boolean, null) and the value exactly as written. It is a plain text outline, so you cannot collapse branches. It is useful for finding the path to a value or for seeing the shape of a large document.
What deserialize means here
Deserializing normally means turning JSON text into objects in a programming language. This page stops at parsing and showing the structure, because the target language, class names and types are decisions only you can make. If you need classes, use one of the JSON to code converters on this site. Numbers stay as written, so 12345678901234567890 is not rounded, and the parser is strict: comments and trailing commas are errors.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
Unexpected end of input | The JSON stops before the structure is complete. | Close every open bracket, brace and quote. |
Expected ',' or '}' | Two members are not separated by a comma, or a closing brace is missing. | Check the line and column in the message. |
Expected a string key | An object key is not in double quotes. | Write keys as "name" with double quotes. |
Questions people ask
What does it mean to deserialize JSON?
It means reading JSON text and turning it into data structures your program can use. Here the page parses the text and shows the structure as a hierarchy, so you can see every path and type before you write code.
How do I find the path to a value in my JSON?
Click Show hierarchy or Paths only. Each value is listed with its path, for example orders[2].total. Switch the path style to JSONPath if you need the leading $ for a query tool.
Why does my JSON give a parse error?
The usual causes are single quotes, unquoted keys, trailing commas, comments and missing brackets. JSON is strict about these. The message gives the line and column where the parser stopped, which is often just after the real mistake.
Does it keep large numbers exact?
Yes. Values are shown as they are written in your input, so an id such as 12345678901234567890 is not rounded the way JavaScript numbers are. The same holds for Beautify.
Can I collapse parts of the tree?
No. The output is text, not an interactive tree. For a smaller view, limit the number of array items shown, or use Paths only to list just the paths.
About this tool
Parses the JSON strictly and lists every value with its path, its type and the value as written. The hierarchy is plain text, not a clickable tree, and it does not build objects for any programming language. Numbers and strings are kept exactly as in the input, so a large integer such as 12345678901234567890 is not rounded. Comments, trailing commas and single quotes are not valid JSON and give an error with the line and column. If a key repeats, the last value is shown, as a parser would keep it.