Skip to content

RedisJSON Path Builder

Paste any JSON document, write JSONPath expressions, and see matched values highlighted in real-time. Build RedisJSON commands with live previews โ€” no data leaves your browser.

Processed entirely in your browser
Sample Documents
JSON Document
JSONPath Expressions
4
Results4 matches
[
  "Clean Code",
  "Design Patterns",
  "The Pragmatic Programmer",
  "Dune"
]
Document Tree
${1}
store{4}
name"TechMart"
location{2}
book[4]
0{6}
1{6}
2{5}
3{6}
bicycle{4}
RedisJSON Command Builder
JSON.GET mykey '$.store.book[*].title'
[
  "Clean Code",
  "Design Patterns",
  "The Pragmatic Programmer",
  "Dune"
]

RedisJSON Path Builder โ€” Paste any JSON document and test JSONPath expressions in real-time. See matched values highlighted in the document tree. Build RedisJSON commands like JSON.GET, JSON.SET, JSON.DEL with live previews. Supports dot notation, wildcards, recursive descent, array slicing, and filter expressions. No data leaves your browser.

Frequently Asked Questions

What JSONPath syntax does this tool support?
The tool supports the full JSONPath specification including dot notation ($.store.book), bracket notation ($["store"]["book"]), wildcards ($..* and $.store.*), recursive descent ($..price), array indexing ($.book[0], $.book[-1]), array slicing ($.book[0:3]), and filter expressions ($.book[?(@.price < 10)]). This covers all common use cases for both JSONPath and RedisJSON path queries.
How does the RedisJSON command builder work?
The command builder generates ready-to-use Redis commands based on your JSONPath expression. Select a command like JSON.GET, JSON.SET, JSON.DEL, JSON.ARRAPPEND, JSON.NUMINCRBY, or JSON.TYPE, and the tool generates the full command with your key name and path. It also shows a preview of what the command would return or how it would modify the document.
Can I test multiple JSONPath expressions at once?
Yes. You can add multiple path expressions and each one evaluates independently against the same document. Each expression shows its own match count and results, making it easy to compare different paths or build complex queries incrementally.
Does the tool support JSONPath filter expressions?
Yes. Filter expressions like $.store.book[?(@.price < 10)] are fully supported. The filter parser handles comparison operators (==, !=, <, >, <=, >=), existence checks (?(@.isbn)), and string comparisons. Filters work on arrays and return all matching elements.
How does the path autocomplete work?
As you type a JSONPath expression, the tool analyzes your document structure and suggests available keys at the current position. For example, if your document has a "store" object with "book" and "bicycle" keys, typing "$.store." will suggest both keys. This helps you explore unfamiliar JSON structures quickly.
Is my JSON data sent to any server?
No. All JSONPath evaluation, command building, and result highlighting happen entirely in your browser using JavaScript. Your JSON documents and queries never leave your device โ€” no server calls, no uploads, no data collection. This is critical for developers working with production data or sensitive configurations. Verify this in your browser DevTools Network tab.
What is the difference between JSONPath and RedisJSON paths?
RedisJSON uses JSONPath syntax with minor differences. The root is always $ in both. RedisJSON supports all standard JSONPath operators plus Redis-specific commands (JSON.GET, JSON.SET, etc.) that combine path selection with data operations. This tool helps you write and test paths that work in both standard JSONPath libraries and RedisJSON.
Can I use this to debug Redis JSON.GET queries?
Absolutely. Paste the JSON document that your Redis key contains, enter the same path you are using with JSON.GET, and see exactly which values would be returned. The document tree view highlights matched nodes so you can visually verify your path selects the right data. This is much faster than debugging paths against a live Redis instance.

You Might Also Need