Handlebars guid
Handlebars guid: creates a new globally unique identifier (GUID).
Next
Runtime verified
Test scripts included
Creates a new globally unique identifier (GUID). Takes no parameters; any that are passed are ignored.
Syntax
{{guid}}
Returns string.
Parameters
Takes no parameters.
Example
Tested in a Marketing Cloud Next email on 2026-11-22:
{{guid}}renders2e91d93e-b0c6-4e35-90f7-aeec80323606.
Show Next test script
Marketing Cloud Next
Works as documented
{{guid}} renders a new lowercase GUID with hyphens, such as 2e91d93e-b0c6-4e35-90f7-aeec80323606. Tested 2026-11-22 by rendering in a Marketing Cloud Next email.
See also
- AMPscript
GUID— the AMPscript equivalent - Official reference