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

# String: Convert to uppercase

> Converts all letters in the input to uppercase.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Converts every letter in a text value to upper case. Use this to standardise values that a downstream system expects in capitals, such as country codes, currency codes, or warehouse references, so that "us-east-1" and "US-EAST-1" line up. Digits, punctuation, and symbols are left untouched; only letters change.

This documentation describes: [Schema](/schemas/mapper/string-upper)

## Fields

This mapper has no settings. It always converts the whole value to upper case.

## Sample data

| Field  | Value                            |
| ------ | -------------------------------- |
| (none) | converts the value to upper case |

Input:

```json theme={null}
{ "code": "us-east-1" }
```

Output:

```json theme={null}
{ "code": "US-EAST-1" }
```

```json Configuration theme={null}
{
  "prototype": "string-upper",
  "parameters": {}
}
```
