How to use the case converter
Paste or type your text, then choose a style in Convert to. The converted text appears next to the input as you type, and you can switch styles as often as you like without losing your original. Press Copy result to copy the output, or Clear to start over.
Your text stays on your device
The conversion runs in your browser. Nothing you type is sent to our server or saved, so it is fine to convert private notes, emails or source code.
Writing styles
- UPPERCASE makes every letter a capital, useful for headings and labels.
- lowercase makes every letter small, handy for cleaning up text typed with Caps Lock on.
- Title Case capitalizes the first letter of every word and makes the rest small. Contractions stay intact, so "don't" becomes "Don't". Small words such as "of" and "the" are capitalized too; adjust them by hand if your style guide keeps them small.
- Sentence case makes everything small except the first letter of each sentence and each line. The word "I" on its own is capitalized as well. Names and brands are not detected, so check them afterwards.
Programming styles
For code, each line becomes one name. Spaces, hyphens, underscores and other symbols split the words, apostrophes are removed, and existing camelCase words are split at their capital letters, so XMLHttpRequest is read as XML, Http and Request.
- camelCase: words joined, every word after the first capitalized. Common for JavaScript variables.
- PascalCase: like camelCase but the first word is capitalized too. Common for class names.
- snake_case: small letters joined with underscores. Common in Python and databases.
- kebab-case: small letters joined with hyphens. Common in URLs and CSS class names.
- CONSTANT_CASE: capital letters joined with underscores, used for constants and environment variables.
Worked example
The line user account ID becomes userAccountId in camelCase, UserAccountId in PascalCase, user_account_id in snake_case, user-account-id in kebab-case and USER_ACCOUNT_ID in CONSTANT_CASE. In Title Case it reads "User Account Id", which shows why acronyms may need a manual touch.
Fun styles
Alternating case switches between small and capital letters, starting small, and skips spaces and symbols. Inverse case swaps every letter, so capitals become small and small letters become capitals.
Good to know
- Letters from other alphabets, such as é, ü or Greek and Cyrillic letters, are converted too.
- Converting to lowercase and back cannot restore the original capitals, so keep your source text until you are happy with the result.
- You can convert up to 1,000,000 characters at a time.