PufferKit
HomeDataDeveloperJSON Unflatten
Default
India11
East Asia3
Other Countries3
Buy me a coffee

JSON Unflatten

Rebuild nested JSON from paths and bracketed array indices.

Separator
Indent

Valid JSON

Your input is processed locally in this browser tab.

How to use JSON Unflatten

  1. Select the path separator used by your flat JSON object (dots, underscores, or slashes).

  2. Paste flat key/value JSON with bracketed array indices such as items[0].id.

  3. Inspect the reconstructed nested JSON document and copy or download it.

Frequently asked questions

What happens if two paths conflict (e.g. a and a.b)?

Conflicting primitive vs container paths raise a clear path-conflict error rather than silently overwriting data.

Are sparse indices like a[1000000] bounded?

Yes. Array index expansion is safely bounded to prevent memory exhaustion.

A LITTLE SUPPORT GOES A LONG WAY

Enjoying PufferKit?

If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

Support
With or without a coffee, you’re always welcome here.

Processing locally

File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

How it works →

Find a tool

Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages