conver a string to lowercase in java code example Example 1: java string lowercase string.toLowerCase(); Example 2: java lowercase "Hello World".toLowerCase()