JavaScript Uppercase

toUpperCase() returns a new string with every character converted to upper case. The original string is left untouched.

Syntax

str.toUpperCase()

Examples

Input Arguments Output
"hello" "HELLO"

Try it live

Type your input and see Uppercase transform it instantly.

Description: Converts a string to uppercase.

Example: 'croissant' => 'CROISSANT'

Want to go further? Chain Uppercase with other functions in the visual Playground — pipe one output into the next and watch your data transform.

Related functions

© 2026 Heifara Buval