Runtime verified Differs from official docs Test scripts included

Syntax

Lowercase(sourceString)  →  string
1 argument — exactly

Parameters

Name Type Required Description
sourceString string | number | date | boolean Yes Value to convert

Example

%%=Lowercase("HELLO")=%%

Renders hello.

Digits and symbols pass through untouched:

%%=Lowercase("HeLLo123!@#")=%%

Renders hello123!@#.

Return value

string — the value converted to lower case.

The result is arbitrary text, so there is no fixed set of special values to test for.

Behaviour

Only letters change. Lowercase("HeLLo123!@#") gives hello123!@#, and Lowercase("I") gives i.

An empty string gives an empty string.

Accented capitals get their accented lower-case form. Lowercase("CAFÉ") gives café and Lowercase("ÀÉÎÕÜ") gives àéîõü.

The dotted capital I becomes two code units. Lowercase("İ") gives a plain i (105) followed by a combining dot above (775). It looks like one letter but measures Length 2, and it does not equal a plain i in a comparison.

Numbers are unchanged. Lowercase(12345) gives 12345.

Dates are turned into text, then lowercased. Lowercase(Now()) gave a value like 2026-11-23t00:21:32: the T between date and time comes out as a lower-case t.

Booleans become their word. Lowercase(true) gives true.

No argument or two arguments cannot be saved. Lowercase() and Lowercase("a", "b") are rejected at save with HTTP 400 “The AMPscript syntax isn’t valid”.

Show Next test script
<!-- Marketing Cloud Next test script for Lowercase. 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=[hello] got=[%%=Lowercase("HELLO")=%%]</p>
<p>c2 expect=[hello123!@#] got=[%%=Lowercase("HeLLo123!@#")=%%]</p>
<p>c3 expect=[12345] got=[%%=Lowercase(12345)=%%]</p>
<p>c4 expect=[] got=[%%=Lowercase("")=%%]</p>
<p>c5 expect=[café] got=[%%=Lowercase("CAFÉ")=%%]</p>
<p>c6 expect=[àéîõü] got=[%%=Lowercase("ÀÉÎÕÜ")=%%]</p>
<p>c7 expect=[i̇] got=[%%=Lowercase("İ")=%%]</p>
<p>c8 expect=[i] got=[%%=Lowercase("I")=%%]</p>
<p>c9 expect=[2026-11-23t00:21:32] got=[%%=Lowercase(Now())=%%]</p>
<p>c10 expect=[true] got=[%%=Lowercase(true)=%%]</p>

Show calls that fail in Next (one email each)
<!-- Run each call below in its own Next email: one of them in a combined email
     would stop the whole preview or block the save. -->

<!-- email 1: expect that the save is rejected (HTTP 400) -->
%%=Lowercase()=%%

<!-- email 2: expect that the save is rejected (HTTP 400) -->
%%=Lowercase("a", "b")=%%

Differs from official docs

  • The dotted capital I grows. The reference does not mention it; in Next Lowercase("İ") gives i plus a combining dot, two characters long. Card

Availability & differences

PlatformAvailable
Marketing Cloud EngagementYes
Marketing Cloud NextYes, from API 67.0

See also