JSON Key Counter
Count keys, values, and nesting depth of JSON.
Understand a JSON document
Before diving into an unfamiliar API response, it helps to know its shape — how many keys, how deep it nests, how many values. This counter summarizes a JSON document at a glance.
It reports the total and unique key counts, the number of primitive values, and the deepest nesting level. It is a fast way to gauge the complexity of a config or payload.
Insightful and private
The analysis runs in your browser, so your JSON is never uploaded.
Frequently Asked Questions
What does it count?
The total number of keys, unique key names, the count of primitive values, and the maximum nesting depth.
Why is this useful?
For understanding the size and complexity of an API response or config before working with it.
Is my JSON uploaded?
No. The analysis runs entirely in your browser.
Browse the full set of free, private, in-browser tools.