← All text tools

JSON Structure Analyzer

Summarize a JSON document: nesting depth, key counts, value types, array lengths and the heaviest paths by size.

  • Free
  • No sign-up
  • Works on any device

About JSON Structure Analyzer

Before you design a schema, write a parser or find out why a response is huge, it helps to see the shape of a JSON document. The analyzer reports the maximum nesting depth, how many values of each type it holds, how many keys exist and how many distinct key names, plus the longest array and the most used key names. A table of the heaviest paths gives the compact UTF-8 size of each branch and its share of the whole, which quickly shows which part of a payload is responsible for most of the bytes.

How to use JSON Structure Analyzer

  1. Paste the JSON document you want to inspect.
  2. Read the depth, type counts and the most used key names.
  3. Use the heaviest paths table to find the branches that make up most of the size.

Why use this tool?

Also known as

Frequently asked questions

How is the depth of a JSON document counted?

Each level of nested objects or arrays adds one. A flat object has depth 1, an object inside an object has depth 2, and a single number at the top has depth 0.

What does the size of a path mean?

It is the number of UTF-8 bytes of that value written compactly with no spaces. A parent includes all of its children, so shares of nested paths overlap.

Can it handle large files?

It works on whatever your browser can hold in memory, which is fine for several megabytes. Very large files may feel slow because everything is analyzed on your own device.

Is JSON Structure Analyzer free?

Yes. JSON Structure Analyzer on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put JSON Structure Analyzer on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools