---
schema_version: "1"
id: 2f6fac596c3ac470d55017b493773166f6b96e0580f466bd358395a63629afae
title: Uppercase()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/string/mc-ampscript-reference-string-uppercase.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-uppercase.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c0f2c2b0c8877d7391369074c9a2eaa141b4cd8c0e955193608d2c0589aaf984
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# Uppercase()

Returns the provided string using only uppercase letters.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>✅ Yes</td>
  </tr>
</table>

This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).

## Syntax

```
Uppercase(sourceString)
```

The `Uppercase()` function has one parameter:

- `sourceString` (string): Required. The string to convert to uppercase.

## Usage

To use the function, pass it a string.

```
%%[
  Var @externalCustomerId
  Set @externalCustomerId = "23df2d94c58ab"
]%%
<p>Your customer ID is %%=Uppercase(@externalCustomerId)=%%</p>
```

The example returns the string in all capital letters.

```
Your customer ID is 23DF2D94C58AB
```
