JSON Path Extractor
Pull out just the part of a JSON file you need, such as a person’s name or one item from a list.
Add the keys or list positions in order, then select Extract. Your JSON stays in this browser tab.
0 bytes of 2 MiB maximum. Strict JSON only.
Advanced settings
How to use JSON Path Extractor
Paste strict JSON or import a UTF8 file up to2MiB. Use Add key for an exact object field or Add index for a zero-based array position. Keys containing dots, slashes or brackets are literal names. Move and remove segments as needed. Leave the path empty to select root, then choose Extract. Copy or download the selected JSON. Clear and Undo work until your next edit.
Advanced settings start closed. Browse JSON tree loads an optional bounded tree; expand a branch and select a value to build the real typed path. Find a path offers actual document pointers, up to200matches. Enter a JSON Pointer and Apply to replace the typed path. Empty means root; escape a key slash as ~1 and tilde as ~0. Numeric object keys stay keys; array indexes need canonical whole numbers without leading zeroes. Import/export saves a real pointer file, and Copy has a selected-text fallback.
Enable advanced extraction to use one or multiple exact pointers, or full RFC9535 JSONPath expressions. Multiple queries use a JSON array of strings, such as ["/users/0/name","/users/1/name"]. Expression mode supports wildcards, recursive descent, unions, negative indexes, slices, comparisons, logical filters and length/count/match/search/value. It does not execute JavaScript or support legacy scripting/custom functions. Use the wildcard example for $.users[*].name.
JSONPath data and query numbers must be finite binary64 numbers whose exact written decimal value survives serialization; values that would round are rejected. Paired Unicode surrogates are required in expression data. Use exact Pointer modes for larger numeric tokens. Extracted values always come from the original source spans. Expression results and multiple paths produce an array, retaining duplicate matches and query order. Missing values produce no match; null is a valid value. Per-query errors and nearby existing-path suggestions remain visible.
Download extracted JSON, a complete path report or scalar CSV. CSV has query, pointer, type and value columns, uses quoted cells and CRLF, and refuses objects/arrays rather than silently flattening them. By default formula-like cells get an apostrophe, including negative values. Raw CSV is an explicit advanced choice and may be interpreted as formulas by spreadsheet software.
Save a path recipe to keep mode, paths, expressions and typed segments. Recipes≤32KiB never include JSON input, results or filenames, but keys and query literals may be private. Import validates before changing your choices. No automatic storage or uploads. Closing settings keeps state; Reset keeps JSON and the typed path.
Example: extract names from an API response
For {"users":[{"name":"Ada"},{"name":"Lin"}]}, a basic key users, index0 and key name returns "Ada". Applying pointer /users/1/name selects Lin. Enable JSONPath and enter $.users[*].name for ["Ada","Lin"], or $.users[?@.name == 'Ada'].name to filter. Missing /users/0/nam suggests existing nearby paths; it never silently changes your request.
About exact paths and JSONPath
A typed path or JSON Pointer addresses one value. RFC9535 JSONPath selects a list through expressions. This tool uses a pinned local standards-based parser/evaluator for expressions, with focused checks rather than a certification claim. Object wildcard order follows that evaluator; array order follows the expression.
Original limits remain 2 MiB input, 100 levels, 100,000 values, 100 segments and 1,000 characters per number token, with 10 MiB output. Advanced extraction has 1,000 matches / 10 MiB combined source values and metadata, up to 40 queries of 4,096 characters and an 8 second cancellable worker. Tree inspection is separate: 50,000 values, 8 MiB path text and 400 visible rows. A preview limit never means the unseen source was removed. No JSON is executed, fetched or automatically saved. Downloads contain the selected data you choose to save.
Stars and feedback
Loading…
What could we improve in JSON path extractor?
Email us feedback@tooltulip.com
Tool reference #123