Skip to tool

Kotlin Capitalize first character Online

Uppercase the first character.

The output updates as you type. The tool processes input in your browser.

Worked example

Check whether the target language also lowercases the remainder when capitalizing.

Sample input
mANUALS
Sample output
MANUALS

Using this operation in Kotlin

The interactive result uses JavaScript. Kotlin String APIs expose character indexes and case conversion. Check whether your code targets JVM, JS, Native, or Wasm when depending on platform-specific utilities.

Kotlin reference