Skip to tool

Java 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 Java

The interactive result uses JavaScript. String indexes count UTF-16 code units. Use codePoints() when iterating supplementary Unicode characters and Locale.ROOT for locale-independent casing.

Java reference