Skip to tool

JavaScript Capitalize first character Online

Capitalize 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 JavaScript

The interactive result uses JavaScript. JavaScript string indexes count UTF-16 code units. Use code-point iteration when working with supplementary Unicode characters.

JavaScript reference