Data Converters
JSON Unflattener
Reverse JSON flattening, take an object with dot-path keys and restore it to its original nested structure. Useful when working with flattened database records or log entries.
Converted entirely in your browser; your data never leaves your device
Features
- Restores nested objects from dot-path keys
- Handles numeric indices as array positions
- Supports dot, underscore, and slash separators
- Download as .json file
- Browser-only
How to use it
- Paste your flat dot-path JSON into the input.
- Select the separator used in the keys (dot is default).
- Nested JSON appears in the output.
- Copy or download.
Use cases
- Restoring nested config from flattened environment variables
- Reconstructing API payloads from flat database columns
- Processing log entries that were stored flat
Limitations
- Ambiguous paths (both an object key and array index at the same level) may produce unexpected output.
Related tools
JSON Flattener
Flatten nested JSON objects to dot-path keys in your browser. Converts {a:{b:1}} to {'a.b':1}. Copy or download the result.
Use toolJSON Formatter
Format and beautify JSON online. Paste minified or messy JSON and get clean, 2-space indented output with syntax validation, instant, in-browser, no upload.
Use toolJSON to JSON Schema
Infer a JSON Schema from any JSON sample. Paste JSON, get a draft-07 schema with types and required fields, browser-only, no account.
Use toolCSV to JSON
Convert CSV to JSON in your browser. Paste data or upload a file, toggle header detection, infer types, and download pretty-printed JSON. No server, no account.
Use toolJSON to CSV
Convert JSON arrays to CSV instantly. Flatten nested objects, pick a delimiter, and download a spreadsheet-ready .csv file. All processed locally in your browser.
Use toolXML to JSON
Convert XML to JSON online. Paste any XML document and get a clean JSON object with attributes, namespaces handled. All processed locally, nothing uploaded.
Use toolFrequently asked
What if keys have both dot-path and regular keys?
Dot-path keys are expanded into nested objects. Regular keys (without the separator) remain at the top level.