How to use the Case Converter tool
- Paste your textType or paste any text into the box. It can be a single heading or several pages.
- Choose a case styleClick one of the buttons, for example “Title Case” or “snake_case”. The text is converted immediately.
- Copy or downloadUse “Copy result” to paste it anywhere, or download it as a plain .txt file.
Available case styles
- Sentence caseCapitalizes the first letter of each sentence and lowercases the rest. Ideal for fixing text typed with Caps Lock on.
- Title CaseCapitalizes major words and keeps short words such as “and”, “of” and “the” lowercase, following common headline style guides.
- UPPER and lower caseConverts every letter to capitals or to small letters, including accented letters such as É and ß.
- Capitalize Each WordCapitalizes the first letter of every word, useful for names, labels and product titles.
- camelCase & PascalCaseJoins words without spaces for variable, function and class names in JavaScript, Java, C# and more.
- snake_case, kebab-case & CONSTANT_CASEFormats for Python variables, URL slugs, CSS classes and environment variables.
When to use each text case
Different kinds of writing follow different capitalization rules. Getting them right makes your work look professional and, for code, makes it work at all. Retyping text by hand is slow and error-prone, so a case converter does it in a single click.
Sentence case
Sentence case is the normal style of most writing: the first word of a sentence and proper nouns are capitalized and everything else is lowercase. Many modern websites and apps use sentence case for headings and buttons because it is easier to read than Title Case.
Title Case
Title Case is the traditional style for book titles, article headlines and email subject lines. Major words are capitalized while articles, short conjunctions and short prepositions stay lowercase unless they are the first or last word. For example, “the lord of the rings” becomes “The Lord of the Rings”. Our converter follows this widely used rule, which matches the AP and Chicago style guides in most everyday cases.
UPPER CASE and lower case
UPPER CASE is used for acronyms, warnings and short labels. Long passages in capitals are hard to read and can come across as shouting, so use it sparingly. Lower case is handy for cleaning up data before comparing it, such as email addresses or tags.
Case styles for programmers
Programming languages and tools have their own naming conventions. The converter splits your text into words, even if it is already in another format such as userProfileId, and rebuilds it in the style you choose:
| Style | Example | Commonly used for |
|---|---|---|
| camelCase | userProfileId | JavaScript and Java variables and functions |
| PascalCase | UserProfileId | Class names in C#, Java and TypeScript |
| snake_case | user_profile_id | Python variables, database columns |
| kebab-case | user-profile-id | URL slugs, CSS class names, file names |
| CONSTANT_CASE | USER_PROFILE_ID | Constants and environment variables |
Each line is converted separately, so you can paste a whole list of names and convert them all at once.
Fixing text typed with Caps Lock on
If you have typed a paragraph with Caps Lock accidentally switched on, paste it in and click “Sentence case”. Every sentence starts with a capital letter again and the rest becomes lowercase. You may need to re-capitalize names of people and places afterwards, since no tool can reliably tell which words are proper nouns.