Java Character isLowerCase() Method

Beginner
5 min read
Updated: Nov 2026
3 examples
java.lang.Character

Definition

In Java, Character.isLowerCase(ch) returns true when the character is lowercase. That includes a to z and lowercase letters of other scripts, such as Greek omega (U+03C9) and German sharp s (U+00DF).

Formally, the general category is LOWERCASE_LETTER; since Java 7, characters with the Unicode Other_Lowercase property (for example some modifier letters) count too. Digits, spaces, and punctuation have no case, so they return false.

A static method of java.lang.Character (Java 1.0+): call it on the class, as in Character.isLowerCase(...); you do not need a Character object. No import is needed, because java.lang is always available. The int codePoint overload was added in Java 5.

Unicode version.

The answer comes from the Unicode Character Database built into your JDK, and each Java release follows a specific Unicode version (Java 8, for example, uses Unicode 6.2). The characters used on this page have had the same properties for many Unicode versions, so the examples print the same result on any current JDK.

Syntax

Pass a char or an int code point.

Java
Character.isLowerCase('g');        // true
Character.isLowerCase('G');        // false
Character.isLowerCase('5');        // false, digits have no case
Character.isLowerCase('\u00DF');   // true, sharp s
CallWhat it does
Character.isLowerCase(c)Is this one character lowercase?
Character.isLowerCase(s.charAt(0))Does a word start with a lowercase letter?
Character.isLowerCase(c) ? Character.toUpperCase(c) : cUppercase only the lowercase characters.

Overloads: isLowerCase(char ch) and isLowerCase(int codePoint). To convert, use toLowerCase() or toUpperCase().

Library declarations
Java
// java.lang.Character
public static boolean isLowerCase(char ch)
public static boolean isLowerCase(int codePoint)   // since Java 5

Parameters

ParameterDescription
ch (char)The character to test.
codePoint (int)The Unicode code point to test.

Return Value

Return ValueDescription
trueThe character is lowercase.
falseIt is uppercase, titlecase, or has no case at all (digits, spaces, symbols).

Compare with Similar Methods

The other case helpers:

MethodHow it differs
isUpperCase(ch)The uppercase test.
isTitleCase(ch)Digraph letters such as U+01C5 that are neither upper nor lower.
toLowerCase(ch)Converts instead of testing.

Java Examples

Example 1 — Count Lowercase, Uppercase, and Caseless Characters

Sort the characters of a short label into three buckets.

Java
public class CharacterIsLowerCaseCount {
    public static void main(String[] args) {
        String label = "Hello World 2026";
        int lower = 0, upper = 0, other = 0;
        for (char c : label.toCharArray()) {
            if (Character.isLowerCase(c)) {
                lower++;
            } else if (Character.isUpperCase(c)) {
                upper++;
            } else {
                other++;
            }
        }
        System.out.println("lower=" + lower + " upper=" + upper + " other=" + other);
    }
}

How It Works

  1. Lowercase first. e, l, l, o, o, r, l, and d are lowercase, so lower reaches 8.
  2. Then uppercase. Only H and W are left for the else if branch.
  3. No case at all. The two spaces and the digits 2, 0, 2, 6 fail both tests, giving 6; together the buckets cover all 16 characters.

Example 2 — Fix Text Typed with Caps Lock On

Turn every lowercase character into uppercase and every other character into lowercase.

Java
public class CharacterIsLowerCaseSwap {
    public static void main(String[] args) {
        String typed = "jAVA 8";
        StringBuilder fixed = new StringBuilder();
        for (char c : typed.toCharArray()) {
            if (Character.isLowerCase(c)) {
                fixed.append(Character.toUpperCase(c));
            } else {
                fixed.append(Character.toLowerCase(c));
            }
        }
        System.out.println(typed + " -> " + fixed);
    }
}

How It Works

  1. One decision per character. isLowerCase picks the branch: only j is lowercase, so it becomes J.
  2. Everything else goes to lowercase. A, V, and A turn into a, v, and a.
  3. Caseless characters survive. toLowerCase returns the space and the 8 unchanged, so they can safely share the else branch.

Example 3 — Characters That Are Neither Lowercase nor Uppercase

Print both tests for letters, a digit, a titlecase digraph, and Greek omega.

Java
public class CharacterIsLowerCaseNeither {
    public static void main(String[] args) {
        char[] chars = {'a', 'A', '5', '\u01C5', '\u03C9'};
        for (char c : chars) {
            System.out.println((int) c + " lower=" + Character.isLowerCase(c)
                    + " upper=" + Character.isUpperCase(c));
        }
    }
}

How It Works

  1. The simple pair. a and A give opposite answers, as expected.
  2. Two "neither" rows. The digit 5 has no case, and U+01C5 (453, capital D with small z with caron) is a titlecase letter, so both tests return false.
  3. Other scripts. Greek small omega (969) is lowercase, so isLowerCase works beyond ASCII.

Frequently Asked Questions

No. It recognises lowercase letters of every cased script, such as Greek, Cyrillic, and accented Latin letters.
No. Digits, spaces, punctuation, and titlecase letters are neither uppercase nor lowercase, so !isUpperCase would wrongly call them lowercase.
Yes. U+00DF is a lowercase letter. It has no single-character uppercase form, so Character.toUpperCase returns it unchanged.
Loop over the characters and return false if any of them isUpperCase or isTitleCase. Characters without case, such as digits, can be ignored.
Yes. Since Java 7 it also accepts characters with the Unicode Other_Lowercase property, not only the LOWERCASE_LETTER category.

Next: isLowSurrogate()

Check whether a char is the second half of a surrogate pair (0xDC00 to 0xDFFF).

isLowSurrogate() tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

9 people found this page helpful