Function Updated 17 Oct 2026
String.toLowerCase()
Returns the string converted to lower case. Letters such as Æ, Ø and Å are converted too. toLocaleLowerCase() gives the same result.
See also String.toUpperCase
Parameters
This function takes no parameters.
Returns
A new string in lower case.
Example
Normal JavaScript, running in the browser or on the Docly™ server.
write("Hello WORLD".toLowerCase()); // hello world
write("\n");
write("ÆØÅ".toLowerCase()); // æøå
write("\n");
// Case-insensitive comparison
write("Admin".toLowerCase() === "admin"); // trueThe JavaScript above produces this output:
hello world
æøå
true