JavaScript String toLowerCase() method
- Previous page toLocaleUpperCase()
- Next page toString()
- Go Up One Level JavaScript String Reference Manual
Definition and usage
toLowerCase()
The method converts the string to lowercase letters.
toLowerCase()
The method does not change the original string.
See also:
Example
Convert to lowercase:
let text = "Hello World!"; let result = text.toLowerCase();
Syntax
string.toLowerCase()
Parameter
No parameters.
Return value
Type | Description |
---|---|
String | Converts a string to lowercase. |
Browser support
toLowerCase()
It is an ECMAScript1 (ES1) feature.
All browsers fully support ES1 (JavaScript 1997):
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support | Support |
- Previous page toLocaleUpperCase()
- Next page toString()
- Go Up One Level JavaScript String Reference Manual