Search for keys and values in your JSON. Results show the full path for easy extraction:
Enter a search term to find keys and values in your JSON
About JSON Path Syntax
$$.store$.store.books[0]$.store.books[*]For advanced JSONPath queries, use our JSON Path tool.
JSON Search Tool
Our JSON Search tool lets you find keys and values anywhere in your JSON document using simple text search. Unlike JSONPath queries that require knowing the exact path, this tool searches the entire document and shows you where matches are located.
Features
- Search keys — Find properties by name across nested objects
- Search values — Find data by content (strings, numbers, booleans)
- Case sensitivity — Toggle between case-sensitive and insensitive search
- Exact match — Match whole words only, or find partial matches
- Path extraction — Copy the full JSONPath to any match
When to Use JSON Search
Use this tool when you need to find something in a JSON document but don't know exactly where it is:
- Finding all occurrences of a field name like "email" or "id"
- Locating a specific value in a large API response
- Discovering where a particular string appears in nested data
- Exploring unfamiliar JSON structures
Search vs. JSONPath Query
| Feature | JSON Search | JSONPath |
|---|---|---|
| Find by text | Yes | Limited |
| Requires path knowledge | No | Yes |
| Extract specific paths | Shows paths | Extracts values |
| Filter by conditions | No | Yes |
| Array slicing | No | Yes |
| Best for | Exploration | Extraction |
Understanding Results
Each search result shows:
- Path — The full JSONPath to the match (e.g.,
$.users[0].email) - Type — The data type (string, number, boolean, array, object, null)
- Value — A preview of the matched value
- Match type — Whether the match was in a key, value, or both
Example Use Cases
Find All Email Fields
Search for "email" with "Search keys" enabled. This finds every property named "email" regardless of nesting depth, whether it's in $.user.emailor $.orders[0].customer.contact.email.
Locate a Specific ID
Search for "abc123" with "Search values" enabled and "Exact match" on. This finds the exact location of that ID in your document.
Find Configuration Values
Search for "true" or "enabled" to find all boolean flags and their paths. Useful for understanding feature flags in config files.
Tips for Effective Searching
- Start broad, then narrow — Begin with "Search keys" and "Search values" both enabled, then toggle off one to reduce results
- Use exact match for IDs — When searching for specific identifiers, enable "Exact match" to avoid partial matches
- Copy paths for code — Click "Copy path" to get a JSONPath you can use in your code or in our JSONPath tool
- Combine with JSONPath — Use Search to find where data lives, then use JSONPath to extract or filter it
Related Tools
- JSON Path Query — Extract values using JSONPath expressions
- JSON Tree Viewer — Visualize and explore JSON structure
- JSON Validator — Validate and format JSON
- JSON Diff — Compare two JSON documents