n8n expression tester
Try $json expressions against a sample item.
Result
Hello Ada Lovelace, you spent 49.75 on 3 orders. Plan: pro Domain: example.com
Each expression
{{ $json.name.toTitleCase() }}Ada Lovelace{{ $json.orders.sum().toFixed(2) }}49.75{{ $json.orders.length }}3{{ $json.plan ?? 'free' }}pro{{ $json.email.toLowerCase().split('@')[1] }}example.com
A safe subset of n8n expressions: $json, $input.item.json, operators, ternary, ?? and ?., and common string, number, array and object methods plus Math and JSON. Functions that run custom code, $now and node references are not supported.
Runs in your browser. Nothing you enter is sent anywhere.