JSON Statistics — Analyze Structure Online
Free online JSON statistics tool — inspect depth, total keys, unique keys, type breakdown, key frequencies, and the deepest path. Browser-based.
Inspect the structure of any JSON document — node count, depth, keys (total + unique), array items, type breakdown, key frequencies, and the path to the deepest leaf. Useful when reverse-engineering an API or auditing a config dump.
Want an interactive tree instead? JSON Viewer lets you click through the structure. Need to query specific paths? JSONPath Tester.
How to Analyze JSON Structure
Paste your JSON
Drop the document you want to analyze into the editor.
Click Analyze
PDFFlare walks the value tree and computes structural statistics.
Read the report
Cards show node counts, depth, keys, type breakdown, and key frequencies. Use them to spot anomalies in unfamiliar data.
When Do You Need JSON Stats?
Reverse-engineering an API: You hit an unfamiliar endpoint. The stats give you the schema's shape at a glance — depth, key set, type distribution.
Sanity-checking exports: A nightly export should have ~10000 records of similar shape. Stats confirm the count and type balance is what you expect.
Sizing data for storage: Picking a database or queue? Stats tell you average depth, key cardinality, and rough payload size.
Code-review aid: Reviewing a JSON-heavy PR? Stats summary tells you whether the change is structural or just data.
Why Use PDFFlare for JSON Stats?
Comprehensive Report
Six metrics + type breakdown + top-20 key frequencies — far beyond a depth count.
Deepest-Path Pointer
Don't just see the depth number — see exactly which path reached it.
100% Browser-Based
Your data never leaves your device.
No Signup Required
Open, paste, analyze. Zero friction.
Frequently Asked Questions About JSON Statistics
Depth is the longest chain of nested containers from the root to a leaf. A flat object has depth 1; a deeply nested API response can have depth 6+. The deepestPath shows where that maximum was reached.
Total counts every key occurrence, including the same name appearing in multiple objects (e.g., 'id' on every user and every post). Unique counts each name once. The gap tells you how repetitive the structure is.
It's a tally of every node by JSON type — string, number, boolean, null, object, array. Useful for spot-checking expectations: 'is this really meant to have 200 nulls?'
It lists every property name and how many times it appeared, sorted by frequency. Useful when exploring an unfamiliar dataset — the most-frequent keys are usually the schema's backbone.
Yes. The analysis runs in your browser, so the practical ceiling is your device's memory. Tens of megabytes typically process in well under a second.
No. The tool only reads the value — your JSON stays exactly as you pasted it.
No. Statistics are computed entirely in your browser.
After analysis, use PDFFlare's JSONPath Tester to query for specific fields, or the Tree Viewer to browse interactively.