Case Converter
Instantly convert any text into 14 different cases. Click any result to copy it. Includes standard cases, all programming cases (camelCase, snake_case, PascalCase, dot.case, path/case) and extras like alternating and reverse. Download all conversions as a .txt file.
case-converter.tool
0 words · 0 characters
Start typing above to see all case conversions.
All 14 Cases Explained
- UPPERCASE — every letter capitalised. Used in headings, acronyms, warnings.
- lowercase — every letter in small case. Common for usernames and CSS class names.
- Sentence case — only the first word of each sentence is capitalised. Standard for body text and article titles.
- Title Case — major words capitalised, minor words (a, the, and, of, in) kept lowercase unless first. AP/Chicago style for headlines.
- tOGGLE cASE — inverts every letter's case. Useful for mocking memes.
- aLtErNaTiNg — alternates between lower and upper on each letter. Spongebob meme style.
- camelCase — words joined, first word lowercase, subsequent words capitalised. JavaScript variables and JSON keys.
- PascalCase — same as camelCase but first word also capitalised. Class names in JavaScript, Python, Java, C#.
- snake_case — words joined with underscores, all lowercase. Python variables, database column names.
- kebab-case — words joined with hyphens, all lowercase. HTML attributes, CSS class names, URL slugs.
- CONSTANT_CASE — all uppercase with underscores. Constants in most programming languages.
- dot.case — words joined with dots, all lowercase. Configuration keys, file extensions, package names.
- path/case — words joined with forward slashes, all lowercase. File paths, URL segments, API routes.
- esreveR txeT — reverses the entire string character by character. Useful for generating palindrome tests or creative text effects.
Frequently Asked Questions
Both join multiple words without spaces and capitalise the first letter of each word after the first. The difference is the very first letter: camelCase starts with a lowercase letter (e.g. myVariableName), while PascalCase starts with an uppercase letter (e.g. MyClassName). In programming, camelCase is the standard for variables and function names in JavaScript, Java and C#, while PascalCase is used for class names and component names in the same languages.
snake_case joins words with underscores and keeps all letters lowercase. It is the dominant convention in Python for variable names, function names and module names, following PEP 8 style. It is also widely used for database column names in SQL, where spaces are not allowed. Some developers prefer snake_case for readability because word boundaries are explicit.
Both are all-lowercase with words joined by a separator, but kebab-case uses hyphens (-) while snake_case uses underscores (_). Kebab-case cannot be used in most programming languages as an identifier because hyphens are interpreted as the minus operator. Instead, kebab-case is used for HTML attribute names, CSS class names, URL slugs and file names. snake_case is used inside code where the underscore is a valid identifier character.
Title Case capitalises the first letter of "major" words — nouns, verbs, adjectives and adverbs — while keeping "minor" words lowercase: articles (a, an, the), coordinating conjunctions (and, but, or, for, nor), and short prepositions (in, at, to, by, of). The first and last word of a title are always capitalised regardless. This converter follows this rule, keeping words like "the", "a", "and", "of" and "in" lowercase unless they are the first word.
dot.case joins words with periods and keeps everything lowercase. It is used in configuration file keys (e.g. server.port.number), Java package names (e.g. com.company.project), file extensions, and some logging and metrics frameworks. It is less common than snake_case or kebab-case in general programming but appears frequently in property-based configuration systems like Spring Boot, .env files and YAML configuration keys.