Case Converter
Convert any text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case.
Case conversion comes up constantly in development and writing workflows. Variable naming conventions require different cases across languages. Document headings need consistent title case. Database column names often use snake_case. Having all conversions in one place with a single click is faster than doing them manually or searching for the right regex.
Title case rules vary by style guide. AP style capitalizes the first and last word and all words of four or more letters. Chicago style capitalizes all principal words. This converter uses a common rule: capitalize all words except articles, conjunctions, and prepositions under five letters.
When each case is used
UPPERCASE: acronyms, emphasis, legal documents (ALL CAPS warnings), headers in some formal contexts. lowercase: URLs, email addresses, CSS class names in some conventions, casual emphasis in digital communication. Title Case: book titles, headlines, proper names, section headings. Sentence case: most body text, email subjects, conversational writing. camelCase: JavaScript variable and function names (myVariableName). PascalCase: JavaScript and C# class names (MyClassName). snake_case: Python variables and functions, database column names, file names with spaces removed. kebab-case: CSS class names, HTML attributes, URL slugs.
Title case exceptions
Standard title case rules capitalize everything except: articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, yet, so), and short prepositions (in, on, at, by, to, up, of, as). These short words are capitalized when they begin or end the title. Style guides disagree on exact rules, particularly for prepositions of four or more letters (from, with, over, into).
Frequently asked questions
What is Pascal case vs camel case?
Both join words without spaces. camelCase starts with a lowercase letter (myVariable). PascalCase (also called UpperCamelCase or StudlyCase) starts with an uppercase letter (MyVariable). In most languages, PascalCase is used for class names and camelCase for variables and functions.
What about SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE (all uppercase with underscores) is used for constants in many programming languages. Convert to snake_case first, then apply uppercase.