--- title: "toUpper (Calculation expression – convert to uppercase)" slug: "calc-function-to-upper" updated: 2026-05-12T12:40:33Z published: 2026-05-12T12:40:33Z canonical: "docs.lobstersoftware.com/calc-function-to-upper" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # toUpper (Calculation expression – convert to uppercase) *See also:* [isEmpty (Check for empty)](/v1/docs/en/calc-function-is-empty), [ifEmpty](/v1/docs/en/calc-function-if-empty) > [!NOTE] > The $toUpper function converts all letters from the passed text to uppercase and returns the new text. > > > [!TIP] > > Tooltip > > > > Syntax: *$toUpper(text)* > > > > | Parameter | Description | > > | --- | --- | > > | `text` | A text which should be converted to uppercase letters. | > > > > Returns the passed text stripped of leading and trailing whitespaces. > > > > Example: $*toUpper*(Jonas Abend) – returns "JONAS ABEND" ## Syntax *$toUpper(text)* ## Parameter | Name | Description | | --- | --- | | text | A text which should be converted to uppercase letters. | ## Return value Returns the passed text in uppercase letters. ## Example | Syntax | Result | | --- | --- | | $*toUpper*(Jonas Abend) | "JONAS ABEND" | | $*toUpper*(JONAS ABEND) | "JONAS ABEND" | | $*toUpper*(jonas abend) | "JONAS ABEND" | | $*toUpper*() | "" |