littlekit.
Free. No account.

JSON Flattener

Converts nested JSON leaves into JSON Pointer paths.

Your inputs stay in your browser. No account required.
Loading tool controls…

How JSON Flattener works

Converts nested JSON leaves into JSON Pointer paths. Slashes in keys become ~1 and tildes become ~0, preventing ambiguous paths. Empty containers are preserved.

Try an example

{"person":{"name":"Alex"}} becomes {"/person/name":"Alex"}.

Good to know

Processed in this browser. Maximum 100,000 input characters and 10,000 records. JavaScript JSON parsing can round large numbers and keeps the last duplicate key; quote identifiers to preserve them. Maximum nesting: 50. Array indices are path segments. The root primitive uses an empty path. This is JSON Pointer output, not dot notation.

Your privacy

Processing happens on this device for this tool. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.

When this tool is useful

Use JSON Flattener when you need a quick, local result and want the rule or limitation visible alongside it.

How to use it

  1. Enter the input using the labels shown.
  2. Run the operation and review the result.
  3. Download or copy the result only after checking it.

Checks before you rely on the result

  • Processed in this browser. Maximum 100,000 input characters and 10,000 records. JavaScript JSON parsing can round large numbers and keeps the last duplicate key; quote identifiers to preserve them. Maximum nesting: 50. Array indices are path segments. The root primitive uses an empty path. This is JSON Pointer output, not dot notation.
  • Keep the original input when the operation creates a new copy.
  • Use the related tools below when the next step needs a different format.

This page is maintained with the tool implementation and its deterministic tests. If the result looks wrong, report the issue with a non-sensitive example.

Read the JSON Flattener instructions

A useful next step

Made for clarity. Built to be useful.Report an issue