How to use JSON transform tools
Use this page when nested JSON needs a different shape for inspection or another processing step. The category contains Flatten JSON, which turns nested objects and arrays into path-keyed output with dot notation, bracket notation, or a flat table. The transformation runs locally in your browser, and the page does not upload your JSON.
Choose an output shape
- Open Flatten JSON when nested objects or arrays need a path-keyed result.
- Choose dot notation, bracket notation, or a flat table for the output.
- Set array expansion, null handling, separator escaping, and empty containers to match the input you are checking.
- Review the collision report when separate input paths could produce the same output key.
See how nested paths become keys
Flatten JSON keeps each value's location in its output key. With dot notation, a nested value can look like this:
{
"profile": {
"name": "Flatten JSON"
}
}
{
"profile.name": "Flatten JSON"
}
Bracket notation gives the path a different format. The flat table presents the same transformation as rows and columns. Choose the form that matches the place where you will inspect or use the result.
Set the flattening controls
Array expansion changes how members of an array appear in the flattened result. Null handling determines what happens to null values. Separator escaping covers keys that contain the path separator, so a separator inside a key can be distinguished from a separator between path parts.
Empty objects and arrays need their own setting because they contain no child values to lay out. Check those options before you compare output with another system. If different input paths resolve to one output key, the collision report gives you a place to review that case.
When to use a JSON flattening tool
Flatten a nested response before checking individual paths. The resulting keys show where each value sits inside the original objects and arrays.
Choose the flat table when the output needs rows and columns. Dot notation or bracket notation fits a path-based review.
Turn on collision reporting when you are checking whether distinct input paths produce the same output key. Review the report before using the transformed result.
JSON transform tools and JSON Tools
For cleaning, validating, comparing, merging, or querying JSON, open JSON Tools and choose the category for that task. This page contains Flatten JSON, with path-keyed output, notation choices, and settings for arrays, nulls, separators, and empty containers.
Frequently asked questions
What are JSON transform tools used for?
They change the shape of JSON for inspection or another processing step. On this page, Flatten JSON converts nested objects and arrays into path-keyed output or a flat table.
How do I flatten nested JSON?
Open Flatten JSON, choose dot notation, bracket notation, or a flat table, then set array expansion, null handling, separator escaping, and empty containers. Review the collision report when separate input paths could share an output key.
What is the difference between dot notation and bracket notation for JSON?
They are two path formats for the flattened output. Choose the format that fits the system or document where you will read the resulting keys.
Does the JSON transform page upload my data?
The page runs the transformation locally in your browser and does not upload your JSON.