> ## 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 lowercase

> Takes the given input and casts all letters to a lower case. The given input must be a valid string.

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 lower case. Use this to normalise values that should always be stored the same way no matter how they arrive, such as email addresses, product codes, or tags, so that "ABC-123" and "abc-123" are treated as the same value later on. Digits, punctuation, and symbols are left untouched; only letters change.

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

## Fields

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

## Sample data

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

Input:

```json theme={null}
{ "sku": "ABC-123-XL" }
```

Output:

```json theme={null}
{ "sku": "abc-123-xl" }
```

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