Forge

JSON Formatter · Validator · Inspector
100% client-side 0 B

Input

Waiting for input…

Output

Formatted JSON will appear here
Enter ↵
JSONPath cheat-sheet & tips

Forge runs a small built-in JSONPath engine. Supported syntax:

$ root · .key child · ['key'] child (bracket) · [n] index · [*] wildcard index · .* all children · ..key recursive descent · [?(expr)] filter

Filters use @ (current node) and operators == != > >= < <= && ||, plus @.length / @.size for arrays/strings. Examples: $.store.book[*].author, $.book[?(@.price<10)].title, $..tags.