Text Case Converter
Change the case of any text: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
Change the case of any text: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
Switch text between writing cases and programming naming styles in one step. Useful when renaming variables, writing headlines or cleaning up copied text.
The result updates as you type or change the case.
Input: user profile image snake_case: user_profile_image camelCase: userProfileImage
Naming conventions exist because identifiers cannot contain spaces. camelCase starts lowercase and capitalises each later word, and is common for variables in JavaScript and Java. PascalCase capitalises every word and is used for classes and types. snake_case joins lowercase words with underscores and is typical in Python, Ruby and SQL columns, while kebab-case uses hyphens and suits URLs and CSS class names. CONSTANT_CASE, all capitals with underscores, marks constants in many languages.
Conversion is easy when words are clearly separated and hard when they are not. A tool must decide where one word ends, using spaces, punctuation and lowercase-to-uppercase changes as boundaries. Acronyms cause ambiguity: a name like parseHTTPResponse could be split several ways, and results may differ between tools. Title case is not standardised either, since style guides such as AP and Chicago disagree on short words, so a simple capitalise-every-word rule will not match any of them.
Words are split on spaces, punctuation and lowercase-to-uppercase changes, so someVariable becomes some and variable.
It capitalises every word. It does not apply rules for small words like of or the.
Upper and lower case work for most scripts. The programming cases keep only letters and digits A to Z.
No. Conversion happens in your browser.
Lowercase kebab-case is the common choice. Hyphens are read as word separators by search engines, and lowercase avoids duplicate pages on servers that treat uppercase and lowercase paths differently.
Both join words without separators and capitalise each later word. camelCase begins with a lowercase letter, for example userName, while PascalCase begins with a capital, for example UserName.