Summarize (Free Online Tool)
Summarize a payload with compact statistics, structural overviews, and anomaly signals
Paste your JSON → Get results instantly (no signup)
→ Summarize this data structure and document statistics.
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": 212 }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.
Works with:
- API responses
- Nested JSON
- Arrays & objects
Example: input → output
{ "users": [ { "name": "Alice", "age": 30, "active": true }, { "name": "Bob", "age": 25, "active": false } ]}{ "_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.0Description
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
| Field | Type | Default | Description |
|---|---|---|---|
| Target Paths | path-picker | [] | Scope to specific paths (empty = entire document) |
| Mode | enum | stats | stats, collapse, or anomalies |
| Max Depth | number | 0 | Depth limit for collapse mode (0 = no limit) |
| Array Preview Size | number | 1 | Number 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
| Name | Type | Default | Description |
|---|---|---|---|
| Target Paths | path-picker | [] | Scope to specific paths (empty = entire document) |
| Mode | enum | stats | stats: key counts, depth, type distribution. collapse: replace deep structures with summaries. anomalies: find type inconsistencies across array items.
stats collapse anomalies |
| Max Depth | number | 0 | Depth limit for collapse mode (0 = no limit) |
| Array Preview Size | number | 1 | Number of array items to keep before collapsing the rest (collapse mode) |
Examples
Summarize this data structure and document statistics.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": 212 }13 }14}API Usage
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":[]}}'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": 212 }13 }14}