YouTip LogoYouTip

Jsref Tolocalelowercase

# JavaScript toLocaleLowerCase() Method [![Image 3: String Object Reference](#) JavaScript String Object](#) ## Example Convert a string to lowercase: var str = "Tutorial"; var res = str.toLocaleLowerCase(); The _res_ output will be: tutorial [Try it yourself Β»](#) * * * ## Definition and Usage The `toLocaleLowerCase()` method converts a string to lowercase letters, based on the host's locale. The locale is determined by the browser's language setting. Typically, this method returns the same result as the [toLowerCase()](#) method, except for a few languages (like Turkish) that have locale-specific case mappings. **Note:** The `toLocaleLowerCase()` method does not change the original string. **Tip:** Use the [toLocaleUpperCase()](#) method to convert a string to uppercase letters based on the host's locale. * * * ## Browser Support The numbers in the table specify the first browser version that fully supports the property. | Method | | | | | | | --- | --- | --- | --- | --- | --- | | toLocaleLowerCase() | Yes | Yes | Yes | Yes | Yes | * * * ## Syntax string.toLocaleLowerCase() ## Parameters None. ## Return Value | Type | Description | | --- | --- | | String | The string converted to lowercase based on the locale. | ## Technical Details | JavaScript Version: | ECMAScript 1 | | --- | * * JavaScript String Object](#)
← Jsref TostringLinux Comm E2Fsck β†’