How to use this tool
- Paste JSON, upload a local file, or load a CORS-enabled public URL.
- Choose indentation and run Flatten with JSON Pointers.
- Review the result, then copy it or download it with the correct file type.
Represent every object, array, and leaf with a pointer entry that can distinguish numeric object keys from array indexes.
Flatten valid JSON into an unambiguous map keyed by escaped RFC 6901 JSON Pointers while preserving container and value types.
Represent every object, array, and leaf with a pointer entry that can distinguish numeric object keys from array indexes.
{
"profile": {
"display/name": "Ada",
"role~level": "admin"
},
"tags": ["json", "tools"],
"empty": {}
}{
"": {
"kind": "object"
},
"/empty": {
"kind": "object"
},
"/profile": {
"kind": "object"
},
"/profile/display~1name": {
"kind": "value",
"value": "Ada"
},
"/profile/role~0level": {
"kind": "value",
"value": "admin"
},
"/tags": {
"kind": "array",
"length": 2
},
"/tags/0": {
"kind": "value",
"value": "json"
},
"/tags/1": {
"kind": "value",
"value": "tools"
}
}No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.
The editor marks the likely location and keeps stale output out of the result pane.
It emits a JSON object whose keys are RFC 6901 pointers and whose kind envelopes preserve objects, arrays, empty containers, and primitive values.
The map preserves parsed JSON structure, not source whitespace, object-key order, duplicate names, or the original spelling of numbers.