Text Case Converter: UPPER, lower, Title, Sentence Case
Convert text between uppercase, lowercase, title case, sentence case, and camelCase. When each is used.
Text Case Types and When to Use Them
UPPERCASE: Headings, acronyms, emphasis. All letters capitalised.
lowercase: URLs, filenames (hyphens separate words), email addresses, CSS class names, coding conventions in many languages.
Title Case: Article and book titles, blog post titles, page headings. First letter of most words capitalised (articles, prepositions typically not capitalised).
Sentence case: Body text, email body, normal writing. Only first word and proper nouns capitalised.
camelCase: Variable names in JavaScript, Java, C#. No spaces, each word starts with capital: userFirstName, totalPrice.
PascalCase: Class names in most object-oriented languages. Like camelCase but first word also capitalised: UserProfile, ShoppingCart.
snake_case: Python variables and functions, database column names. Words separated by underscores: user_first_name, total_price.
kebab-case: CSS class names, URL slugs, file names. Words separated by hyphens: user-profile, blog-post-title.
Frequently asked questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (firstName). PascalCase starts with an uppercase letter (FirstName). camelCase is used for variables and functions; PascalCase for class names in most languages.
Put this guide into practice with our free online tool — no signup required.
Open tool