JSONBeeby Candorbees

JSON path finder

A JSON path finder: search a value, get its JSONPath.

Know what the value is but not where it lives? Search for it and JSONBee shows its exact JSONPath, even ten levels down. Or open the tree and copy the path of any node.

Drop a JSON file here

or ·

Free at any file size · No sign-up · Your data stays in your browser

work-orders.json · where the values live
The valueIts JSONPath
"Brake disc 280mm", the product of the first work order$[0].product_name
"SAW-1", the workstation of its first operation$[0].operations[0].workstation
232, the minutes of its second operation$[0].operations[1].duration_min
The same field across every work order$[].operations[].workstation
Paths into the work orders sample. In the app, a search lists every match with its path underneath, and picking one scrolls to it. The last row, with empty brackets, names a field across every item of a list.
I
Finding the path

Two ways to get the JSONPath of a value

A path is the address of one value inside a JSON document. You usually need it for code, a query or a bug report, and working it out by hand in a big file is where mistakes creep in.

  • Search for the value. One box searches every value at any depth. Each match shows its field name, its value and, underneath, its full path. Press Enter or click to jump to it.
  • Browse the tree. The Raw JSON view opens the top level and folds the rest. Hover any node and click "copy path". Long lists load a hundred at a time.
  • Read the path. $ is the root, .name a key, [3] the fourth item of a list. A key that is not a plain identifier, like one with a space or a dash, is written ["my key"].
II
Where paths show up

Paths you can check, not just copy

JSONBee uses paths to explain itself, so you can verify what it tells you.

  • Insights cite their paths. When a total does not match its rows or a value is an outlier, the finding lists the JSONPaths of the values behind it.
  • Search jumps and filters. Picking a hit clears any filter that was hiding it, then scrolls to the value.
  • Beside the dashboard. The same file is also a set of tables and charts, so you can see the value in context.
  • Nothing leaves the page. The paths are worked out in your browser.
  • Made for API work. Paste a response, find the field your code needs and copy its path. More on API responses.
?
Questions

JSON path finder FAQ

How do I find the JSONPath of a value?
Open your file and type the value into the search box. Each match is listed with its JSONPath. You can also open the Raw JSON tree, hover a value and click "copy path".
Can I type a JSONPath and see what it matches?
Not yet. JSONBee goes from a value you can see to its path. It does not evaluate an expression like $..price that you type in.
What does the path syntax look like?
It starts at $, uses .key for object keys and [0] for list items, for example $.orders[0].lines[1].sku. Keys with spaces or other special characters are written as ["unit cost"].
What do empty brackets like [] mean in a path?
A path with empty brackets, like $.orders[].total, names a field across every item of a list. A path to one specific value always has a number, like [2].
How deep can it search?
Every level. The search looks at every value in the file, however deeply nested, and the tree opens one level at a time.
Does it show paths for JSON Lines?
Yes. Each line becomes an item of one list, so the paths look like $[3].field. See the JSON Lines viewer.
Is my JSON uploaded anywhere?
No. The dashboard is built in your browser, and your file stays on your machine.
Is it free?
Yes, at any file size and with no account.

Stop counting brackets. Search for the value.