Runtime verified Differs from official docs Test scripts included

Changes every letter in a string to uppercase.

Syntax

{{uppercase subject [culture]}}

Returns string.

Parameters

Name Type Required Description
subject string Yes String to uppercase.
culture string No Locale code (for example tr-TR) whose letter-case rules apply.

Example

Tested in a Marketing Cloud Next email on 2026-11-22:

  • {{uppercase "mcn"}} renders MCN, as documented.
  • {{uppercase "<i>a</i>"}} renders <I>A</I>.
  • {{{uppercase "<i>a</i>"}}} renders com.salesforce.e360.messaging.rendering.helper.HandlebarResultWrapper@451c8ea0.
Show Next test script
<!-- Marketing Cloud Next test script for the uppercase helper. Paste it into the HTML component of a
     Next email and open the preview. Each line prints the result Next gave when the call
     was rendered on its own (expect) next to the result of this run (got).
     Assembled from single-call test emails (dates on the page); it has not been
     run as one email. Calls that make Next fail are listed separately. -->
<p>c1 expect=[MCN] got=[{{uppercase "mcn"}}]</p>
<p>c2 expect=[&lt;I&gt;A&lt;/I&gt;] got=[{{uppercase "<i>a</i>"}}]</p>
<p>c3 expect=[com.salesforce.e360.messaging.rendering.helper.HandlebarResultWrapper@451c8ea0] got=[{{{uppercase "<i>a</i>"}}}]</p>

Differs from official docs

  • The reference does not say that the helper cannot be used with triple braces, the usual Handlebars way to output a value without HTML escaping. In Marketing Cloud Next (tested 2026-11-22): {{{uppercase "<i>a</i>"}}} rendered com.salesforce.e360.messaging.rendering.helper.HandlebarResultWrapper@451c8ea0 instead of the text. With double braces the helper works: {{uppercase "mcn"}} rendered MCN. Details

Marketing Cloud Next

See also