> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metrics-man.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Toupper

# \$toUpper

The `$toUpper` operator converts a string to uppercase.

## Input

* A single string value

## Output

* The input string with all characters converted to uppercase

## Examples

### Basic Conversion

```json theme={null}
{
  "$toUpper": [
    "Hello, World!"
  ]
}
```

Result: `"HELLO, WORLD!"`

### Field Value

```json theme={null}
{
  "$toUpper": [
    {
      "$input": "name"
    }
  ]
}
```

Result: The name field converted to uppercase
