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.
Want to go further? Chain Uppercase with other functions, pipe one output into the next and watch your data transform in the visual Playground.