JavaScriptStringtoLowerCase

Returns the calling string value converted to lower case.

Syntax

str.toLowerCase()

Example

Enter values below to update the example in real time.

const
console
toLowerCase
const text = "Hello WORLD";
console.log(text.toLowerCase());   // "hello world"