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.

Uppercase()

Type above to see the result…

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

Related functions

© 2026 Heifara Buval