What does this tool do?
It recursively scans your JSON, finds every array — no matter how deeply nested — and reports its path and how many items it contains, plus totals across the whole document.
How to use this tool
- Paste your JSON into the left-hand box.
- Click Count Arrays.
- See every array's path and length listed on the right.
Frequently asked questions
How does this find nested arrays?
It walks the entire JSON structure recursively, so arrays nested inside objects or inside other arrays are all found and reported with their exact path.
What does the path notation mean?
A path like $.orders[0].items means: from the root, go to the 'orders' key, take the first item (index 0), then its 'items' key — which is itself an array.
Does it count items inside nested arrays too?
Yes — each array is listed separately with its own length, so a nested array's items are counted independently from its parent array's length.
