---
schema_version: "1"
id: 3374631db9641441a543ca13e761c9e34e5e54bc8d9a8d33afa282ea53796bf9
title: UPPER
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_upper.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_upper.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 28804923e13f169d466a9e4f813102b6485028ddf725f53898b31fe85d6ec4fa
description: Converts all letters in the specified text string to uppercase.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# UPPER

Converts all letters in the specified text string to uppercase.

Any characters that are not letters are unaffected by this function. Locale rules are applied if a locale is provided.

## Use

`UPPER(text, [locale])` and replace text with the field or expression you wish to convert to uppercase, and locale with the optional two-character ISO language code or five-character locale code, if available.

![MYCOMPANY.COM Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

MYCOMPANY.COM Example

`UPPER("mycompany.com")` returns “MYCOMPANY.COM.”

![MYCOMPANY.COM 123 Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

MYCOMPANY.COM 123 Example

`UPPER("Mycompany.com 123")` returns “MYCOMPANY.COM 123.”

![Turkish Language Locale Rules Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Turkish Language Locale Rules Example

The Turkish language has two versions of the letter i: one dotted and one dotless. The locale rules for Turkish require the ability to capitalize the dotted i, and allow the dotless I to be lowercase. To correctly use the `UPPER()` function with the Turkish language locale, use the Turkish locale code `tr` in the `UPPER()` function as follows:

`UPPER(text, "tr")`

Using this locale code ensures that Salesforce doesn’t transform any dotted i in the text to a dotless I.