Case-Insensitive

If something is case-insensitive, it does not distinguish between uppercase and lowercase characters. It is the opposite of case-sensitive, in which the case of each letter matters.

Most search engines are case insensitive, meaning the case of the keywords does matter. For example, searching for "Microsoft Word" and "microsoft word" will return the same results. Case insensitive functions are able to match strings regardless of letter case.

Usernames are also typically case-insensitive. For instance, when logging in to a website, the username field of the login is not case-sensitive. The password field is. So, while capital letters usually don't matter when entering your username, they are important when entering your password.

Sorting Text

Sorting algorithms are usually case-insensitive, meaning they treat "A" the same as "a." However, some functions use the ASCII value of each character, in which all uppercase letters come before all lowercase letters. In an ASCII sort, C comes after A, but before b.

When sorting text values in a database, the sort order is determined by collation, a rule for sorting the data. The default collation is typically case-insensitive and based on the text's character encoding, which assigns a numeric value to each character. MySQL and other database engines support multiple collations, such as latin1_general_cs (case-sensitive) and latin1_general_ci (case-insensitive). While it is rare to use a case-sensitive — or "cs" — collation, it is possible to override the default "ci" collation if necessary.

Updated August 20, 2022 by Per C.

quizTest Your Knowledge

Which of the following statements best describes downtime?

A
It is the amount of time a computer has been turned off.
0%
B
It is the length of time it takes to download a file.
0%
C
It is the amount of time an online service is unavailable.
0%
D
It is the length of time a computer has been in use.
0%
Correct! Incorrect!     View the Downtime definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Case-Insensitive on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation bar directly below the definition.

Our goal to explain computer terminology in a way that is easy to understand. We strive for accuracy and simplicity with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

TechTerms Newsletter

Improve your technical knowledge with our daily or weekly newsletter! Subscribe today and get new terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.