n8n Expression Builder — Free Tool
n8n expressions like {{ $json.contacts[0].email }} can be tricky to write correctly. Paste your sample data into this tool, click any field, and it generates the exact expression you need. It handles nested objects, arrays and special characters, with a copy button for each expression.
Paste the generated expression into any n8n node's expression field. If you need data from a previous node, enter that node's name above to get {{ $('NodeName').item.json.path }} syntax.
Frequently asked questions
What expression formats does it support?+
It generates {{ $json.field }} for the current node's data, and shows how to reference previous nodes with {{ $('NodeName').item.json.field }}.
Does it handle arrays?+
Yes. Click an array element and it shows both the indexed version ([0]) and loop-compatible versions for use inside a Loop Over Items node.
Can I test the expression?+
The tool shows a preview of what the expression would return against your sample data. For live testing, use n8n's built-in expression editor.
Related templates
Free n8n workflows that work great with this tool.
AI Blog Autopilot
Turns keywords or RSS items into AI-written blog drafts and posts them to WordPress.
AI Lead Enrichment & Scoring
Enriches new leads with company data and scores them using AI.
Cross-Channel Marketing Dashboard
Aggregates marketing data from Meta, Google Ads, GA4 and email into one spreadsheet.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help