Skip to content

The String toLowerCase() method

Find out all about the JavaScript toLowerCase() method of a string

Return a new string with the text all in lower case.

Does not mutate the original string.

Does not accept any parameter.

Usage:

'Testing'.toLowerCase() //'testing'

Works similarly to toLocaleLowerCase(), but does not consider locales at all.


→ Get my JavaScript Beginner's Handbook

I wrote 21 books to help you become a better developer:

  • HTML Handbook
  • Next.js Pages Router Handbook
  • Alpine.js Handbook
  • HTMX Handbook
  • TypeScript Handbook
  • React Handbook
  • SQL Handbook
  • Git Cheat Sheet
  • Laravel Handbook
  • Express Handbook
  • Swift Handbook
  • Go Handbook
  • PHP Handbook
  • Python Handbook
  • Linux Commands Handbook
  • C Handbook
  • JavaScript Handbook
  • Svelte Handbook
  • CSS Handbook
  • Node.js Handbook
  • Vue Handbook
...download them all now!

Related posts that talk about js: