Summarize (Free Online Tool)

Summarize a payload with compact statistics, structural overviews, and anomaly signals

Paste your JSON → Get results instantly (no signup)

⚡ Instant resultsNo signupRuns in your browser
Try examples:

Summarize this data structure and document statistics.

{
"users": [
{
"name": "Alice",
"age": 30,
"active": true
},
{
"name": "Bob",
"age": 25,
"active": false
}
]
}
Output
1{
2 "_summary": {
3 "keyCount": 8,
4 "maxDepth": 3,
5 "totalValues": 6,
6 "typeDistribution": {
7 "object": 3,
8 "array": 1,
9 "string": 2,
10 "number": 2,
11 "boolean": 2
12 }
13 }
14}

Love the result?

Use this exact pipeline in your app, backend, or LLM workflow.

No setup needed. Works with curl, Node, Python.

Uses example data. For edited input, copy from the playground.

Read integration guide

Works with:

  • API responses
  • Nested JSON
  • Arrays & objects

Example: input → output

Input / Output
Input
{
"users": [
{
"name": "Alice",
"age": 30,
"active": true
},
{
"name": "Bob",
"age": 25,
"active": false
}
]
}
Output
{
"_summary": {
"keyCount": 8,
"maxDepth": 3,
"totalValues": 6,
"typeDistribution": {
"object": 3,
"array": 1,
"string": 2,
"number": 2,
"boolean": 2
}
}
}

Related tools

Advanced usage (optional)

Summarize

v1.0.0
Analysis
objectarraydestructive

Description

Summarize

Generate statistics about your JSON data, collapse large structures into compact summaries, or detect type anomalies across array items.

Modes

Stats

Analyze the structure of the entire document. Returns key count, maximum depth, total values, and a type distribution breakdown.

{
  "_summary": {
    "keyCount": 8,
    "maxDepth": 3,
    "totalValues": 6,
    "typeDistribution": { "object": 3, "array": 1, "string": 2, "number": 2 }
  }
}

Collapse

Replace deep structures with compact text summaries. Useful for getting an overview of large documents without the full detail.

{ "config": { "database": { "_summary": "object (3 keys)" } } }

Anomalies

Scan arrays of objects for type inconsistencies. Identifies fields where some items have unexpected types (e.g., id is a number in most items but a string in one).

{
  "_anomalies": [
    { "field": "$[*].id", "expected": "number", "found": ["string"], "indices": [1] }
  ]
}

Configuration

FieldTypeDefaultDescription
Target Pathspath-picker[]Scope to specific paths (empty = entire document)
Modeenumstatsstats, collapse, or anomalies
Max Depthnumber0Depth limit for collapse mode (0 = no limit)
Array Preview Sizenumber1Number of array items to keep before collapsing the rest (collapse mode)

Use Cases

Data Exploration

  • Structure overview: Get key counts, depth, and type distribution of unknown JSON
  • Size assessment: Understand the shape and scale of large documents
  • Quick audit: Check type distribution to spot unexpected value types

Documentation

  • Schema discovery: Summarize API responses to understand their structure
  • Collapse previews: Generate compact summaries of large config files
  • Type documentation: Detect the expected type for each field across records

Data Quality

  • Type validation: Find records where fields have unexpected types
  • Inconsistency detection: Identify array items that deviate from the majority pattern
  • Data profiling: Understand the composition of a dataset before processing

Configuration

NameTypeDefaultDescription
Target Pathspath-picker[]Scope to specific paths (empty = entire document)
Modeenumstatsstats: key counts, depth, type distribution. collapse: replace deep structures with summaries. anomalies: find type inconsistencies across array items. stats collapse anomalies
Max Depthnumber0Depth limit for collapse mode (0 = no limit)
Array Preview Sizenumber1Number of array items to keep before collapsing the rest (collapse mode)

Examples

AI Prompt
Summarize this data structure and document statistics.
{
"users": [
{
"name": "Alice",
"age": 30,
"active": true
},
{
"name": "Bob",
"age": 25,
"active": false
}
]
}
Output
1{
2 "_summary": {
3 "keyCount": 8,
4 "maxDepth": 3,
5 "totalValues": 6,
6 "typeDistribution": {
7 "object": 3,
8 "array": 1,
9 "string": 2,
10 "number": 2,
11 "boolean": 2
12 }
13 }
14}
Config
Target Paths
all
Mode
stats
Max Depth
0
Array Preview Size
1

API Usage

POST /api/v1/utilities/analysis.summarize
Example:
curl -X POST https://your-domain.com/api/v1/utilities/analysis.summarize \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"primary":{"users":[{"name":"Alice","age":30,"active":true},{"name":"Bob","age":25,"active":false}]}},"config":{"mode":"stats","maxDepth":0,"maxArrayPreview":1,"targetPaths":[]}}'
Response
1{
2 "_summary": {
3 "keyCount": 8,
4 "maxDepth": 3,
5 "totalValues": 6,
6 "typeDistribution": {
7 "object": 3,
8 "array": 1,
9 "string": 2,
10 "number": 2,
11 "boolean": 2
12 }
13 }
14}