Case Converter
Convert text between different cases instantly
Case Types Explained
Understanding different text case formats and when to use them:
UPPERCASE
All letters are capitalized. Often used for emphasis, headings, or constants in programming.
lowercase
All letters are in lowercase. Common for general text and programming identifiers.
Title Case
The first letter of each major word is capitalized. Used for titles, headings, and proper names.
Sentence case
Only the first letter of each sentence is capitalized. This is the standard format for regular writing.
camelCase
First word lowercase, subsequent words capitalized with no spaces. Popular in JavaScript, Java, and C# for variable names.
PascalCase
Similar to camelCase but the first letter is also capitalized. Common for class names in many programming languages.
snake_case
Words separated by underscores, all lowercase. Standard in Python, Ruby, and database column names.
kebab-case
Words separated by hyphens, all lowercase. Often used in URLs, CSS class names, and file names.
Frequently Asked Questions
What is title case?
Title case capitalizes the first letter of each major word in a sentence. It's commonly used for titles, headings, and proper names. For example, 'the quick brown fox' becomes 'The Quick Brown Fox'.
What is camelCase used for?
camelCase is a naming convention commonly used in programming where the first letter is lowercase and subsequent words start with uppercase letters, with no spaces or punctuation. For example, 'user profile name' becomes 'userProfileName'. It's widely used for variable and function names in JavaScript, Java, and other languages.
What's the difference between snake_case and kebab-case?
Both snake_case and kebab-case use lowercase letters, but snake_case uses underscores (_) to separate words while kebab-case uses hyphens (-). For example, 'user name' becomes 'user_name' in snake_case and 'user-name' in kebab-case. Snake_case is common in Python and database naming, while kebab-case is often used in URLs and CSS class names.