JSON Unflatten Tool
Turn flat path keys into nested JSON and review the result before saving.
- Free
- Works Offline
- No Uploads
How to Unflatten JSON
- Open the HTML, review Security Check, then select Continue.
- Open one UTF-8 JSON file, paste a JSON object or select Open Sample.
- Choose a Path Separator. Use a JSON-quoted segment for a key that contains the separator. For example, a."b.c" with a dot separator makes b.c a single key. Escape the inner double quotes in the source JSON key.
- Select Preview Nested JSON. If a conflict appears, edit the source or choose the intended separator, then run it again.
- Review the nested result and select Download JSON. Numbers keep their original spelling.
JSON Unflatten Tool Features
- Choose a dot, slash or custom separator, and quote a segment when its key contains that separator.
- Inspect the nested JSON preview and download the full result.
- Find duplicate properties and conflicting paths before saving.
Formats and Compatibility
| Input | One UTF-8 JSON object up to 8 MiB. Choose a local file or paste JSON. Top-level property names are read as paths. |
|---|---|
| Output | One nested JSON object with up to 16 MiB of output. Existing arrays and objects remain whole values, and numeric path segments stay object keys. |
| Browser | A modern browser with local file support. |
| Scope | One JSON object up to 8 MiB of UTF-8. Path segments create object keys. Existing array and object values are kept intact. Output up to 16 MiB. |
| Operating Systems |
Local Processing Without Uploads
A free browser-based tool with no upload. You can unflatten JSON without uploading files, even with the network disconnected.
Select Open Sample to see the workflow with the included example.
How the Tool Reads Path Segments
Dot and slash presets and a custom separator are available. A JSON-quoted segment protects a separator or an empty key. Unquoted whitespace is literal. Use up to 64 path segments and 128 levels of value nesting.
Review Your Nested JSON
Open the sample to see a nested profile and an existing tags array. The result shows a bounded text preview and a download for the complete JSON. Conflicts identify the original keys and prevent an ambiguous export.
Frequently Asked Questions
Can I unflatten JSON offline?
Yes. Use the unflatten JSON download, extract the ZIP and open JSONUnflattenTool.html directly.
What does local unflatten JSON preserve?
The tool keeps the exact numeric tokens, strings, booleans, nulls, arrays and object values from the source.
Is the free unflatten JSON tool available online?
Yes. You can unflatten JSON online using the hosted page. This unflatten JSON browser tool runs on your device. You can also unflatten JSON in browser tabs with the downloaded file.
How do separator quotes work?
A path like a."b.c" creates the key b.c under a when using dots. In the source JSON property name, escape the inner double quotes. An unquoted backslash is literal.
How does it handle duplicates and conflicts?
Duplicate JSON properties, equivalent paths, and any path used as both a value and an object parent are rejected. Each discovered path conflict lists the original keys involved. Numeric segments always become object keys.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.