Skip to tool

Apex String.toUpperCase() Online

Convert text to uppercase.

The output updates as you type. The tool processes input in your browser.

Worked example

Case conversion can produce multiple characters from one character, such as ß becoming SS under Unicode rules.

Sample input
manuals plus
Sample output
MANUALS PLUS

Using this operation in Apex

The interactive result uses JavaScript. Apex text utilities use the System namespace. Consider Salesforce transaction limits when applying an expensive transformation to many records.

Apex reference