The tool’s interface below is still in French. The interface is being translated by Google Translate.
JSON formatter and validator for n8n
Paste your JSON: errors are located, the JSON is formatted and converted to n8n’s items format, with paths ready for your expressions.
Chemins pour les expressions
Cliquez sur une ligne pour copier l’expression. Dans n8n, chaque élément d’entrée est un objet « json » : les expressions lisent ses champs via $json.
How to use the n8n JSON formatter and validator
Validated and formatted JSON, converted to the n8n items format, with the list of paths you can use in expressions.
-
Paste the JSON
API response, payload, test data.
-
Format or convert
Indentation, sorting, n8n items.
-
Copy the paths
For your expressions.
About the n8n JSON formatter and validator
In n8n, data flows as items: an array of objects that each contain a json key. The converter goes from plain JSON to this format and back, which is useful in a Code node or for pinning test data.
When there is an error, the line and column of the problem are shown, so you do not have to hunt for a missing comma in a long file.
Frequently asked questions about the n8n JSON formatter and validator
Why is my JSON invalid?
Common causes: a trailing comma, single quotes instead of double quotes, unquoted keys or comments, none of which are allowed in JSON.
How do I access a nested field?
With $json followed by the path, for example $json.order.customer.name, wrapped in n8n’s double curly braces for expressions.
Is my data sent over the internet?
No. Everything happens in your browser, and anything that is remembered stays on your device.
Is the tool free?
Yes, it is completely free and needs no sign-up.