DataToolsLab
JSON Tools

JSON Array Statistics

Compute per-field statistics from a JSON array of objects.

Loading tool…

What is Array Stats?

Computes descriptive statistics for every field across an array of JSON objects — min/max/avg for numbers, top values for strings, null counts, and more.

How it works

The tool parses the JSON array, collects all values per field, infers the field type, and computes statistics. Results are shown as sortable cards.

  1. Paste JSON array. Paste an array of objects — each object becomes a data point.
  2. Read the stats. Per-field cards show type, count, nulls, uniques, min/max/avg for numbers, and top values.
  3. Copy as JSON. Copy the full statistics report as a JSON object.

Examples

User stats

[{name:'Alice',age:30},{name:'Bob',age:25}] produces stats for name (string, 2 unique) and age (numeric, min:25, max:30, avg:27.5).

Common mistakes

Non-array input

The tool expects a JSON array of objects. Single objects are not supported.

Alternatives

CSV Column Statistics

For CSV data instead of JSON.

Frequently asked questions

Does it handle nested objects?

Currently only top-level fields. Nested objects are treated as single values.

Online