JSON Path Finder
Paste JSON, then type a path such as $.users[0].name to pull out the value. Array indices and quoted keys are supported, and you can browse every leaf path to find the one you need.
How to find a JSON path
- Paste your JSON into the editor.
- Type a path like $.users[0].name, or click a path from the list.
- Read the extracted value, then copy it.
Examples
Read a nested array value
{"users":[{"name":"Ada"},{"name":"Linus"}]}$.users[1].name -> "Linus"
Frequently asked questions
What path syntax does it accept?
Dot and bracket notation, with or without a leading $. For example $.store.items[0].sku, store.items[0].sku, and a.b.c all work.
How do I read a key that contains a dot or special characters?
Use a quoted bracket key. For a key named "in.stock" write ["in.stock"], for example $.items[0]["in.stock"]. Single quotes work too.
What does the path list show?
Every leaf path in the document in $.a.b[0] form, including array indices. Click any path to drop it into the path box and see its value.
What happens if the path does not exist?
You get a clear message saying which key was missing or which index was out of range, instead of a silent empty result.
Is my JSON sent to a server?
No. Parsing and path lookups happen entirely in your browser, so your data never leaves your machine.
Related tools
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
JSON Diff
Compare two JSON documents and see exactly what was added, removed or changed. Color-coded paths and values, key-order insensitive. Runs in your browser.
JSON to TypeScript
Generate TypeScript interfaces from a JSON sample. Infers nested objects, arrays and union types, then copy or download the .ts file. Runs in your browser.
Regex Tester
Test a regular expression against text with live match highlighting, capture groups and flags. See every match and replace text. Runs in your browser.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.