List the paths and values of a JSON document

Developers can use this while debugging or preparing data for an exchange, especially when the result needs a quick visual check. List the paths and values of a JSON document.

List the paths and values of a JSON document. The result appears instantly in your browser, ready to copy, with no account, upload or storage involved.

How to use

  1. Paste the JSON document you want to explore into the input area, or import it from your computer.
  2. Choose the listing mode first: all paths, leaf values only, or distinct keys alone.
  3. Run the listing and each line of the result shows one path together with its value.
  4. Scan the list for a repeated key, an unexpected nesting level or a field left empty.
  5. Copy the useful lines to document a schema or prepare a test case.

Example

The sample holds an order with a number and a status nested inside it. After listing, look for the line carrying the status: the full path shows which level the value sits at, saving you from guessing your way through a deeply nested document.

Input

{"order":{"number":42,"status":"shipped"}}

Output

$.order.number: 42
$.order.status: "shipped"

Limits and formats

Where processing happens

The document is traversed inside your browser, starting from the text you paste or the file you import. Nothing is transmitted and nothing is kept after the page is closed, which makes it safe to explore internal data.

Frequently asked questions

What is the difference between all paths and leaf values only?

The first mode shows every level of the document, intermediate objects included, while the second keeps only the endpoints that hold a simple value. On a deeply nested document the second is much easier to read.

What is the distinct keys mode for?

It gathers the field names found in the document without repeating them, giving you a quick overview of the vocabulary used. That makes it easy to spot the same key written in two different ways.

Can I edit a value from this listing?

No, the tool only lists paths and values. Edits belong in your editor or a formatter, after which you can come back here to check how the document is traversed again.

Tools in the same category