Search for a tool or command
Remove empty strings, arrays, objects, and nulls throughout JSON.
The Remove Empty Values tool prunes anything that carries no data from your JSON: empty strings, empty arrays, empty objects, and optionally null. It works recursively and repeatedly, so containers that become empty after their contents are cleaned are removed too. The result is a compact document that keeps only meaningful values.
Add the document with empty fields you want to strip out.
Decide whether empty strings, arrays, objects, and null should each be removed.
The tool prunes empty values recursively, including containers emptied by the process.
Use the trimmed result in requests, storage, or comparisons.
Input
{
"name": "Kit",
"notes": "",
"tags": [],
"meta": {},
"score": 0
}Output
{
"name": "Kit",
"score": 0
}Recursively strip every null value from a JSON document.
Pretty-print JSON with configurable indentation and instant validation.
Strip whitespace to shrink JSON to the smallest valid payload.
Deep-merge two or more JSON objects into one.