Code tool

JSON Key Extractor

Extract unique object-key paths from JSON locally, with array indexes collapsed to [].

In-browser processingNo account requiredPrivacy details ↗

Processing stays in your browser. Maximum input and output: 1 MiB.

Accepts any standard JSON value. Paths start at $; simple keys use dots and other keys use JSON bracket notation. Every object key is included, even when its value is an empty container. Array positions collapse to [] and repeated paths are listed once in first-seen order. Scalar roots have no keys.

Paste input to begin.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste the input.
  2. Process and review the result.
  3. Copy the result.

Conversion rules

Accepts any standard JSON value. Paths start at $; simple keys use dots and other keys use JSON bracket notation. Every object key is included, even when its value is an empty container. Array positions collapse to [] and repeated paths are listed once in first-seen order. Scalar roots have no keys. Processing stays in your browser. Maximum input and output: 1 MiB.

GOOD TO KNOW

Common questions

Is my input uploaded?

No. Input and output stay in this browser.