---
title: "allCaps"
description: "Returns a [InputTransformation] that forces all text to be uppercase.

This transformation automatically configures the keyboard to capitalize all characters."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun InputTransformation.allCaps(locale: Locale): InputTransformation
```


Returns a `InputTransformation` that forces all text to be uppercase.

This transformation automatically configures the keyboard to capitalize all characters.

#### Parameters

| | |
| --- | --- |
| locale | The `Locale` in which to perform the case conversion. |




