Text Case Converter
Enter text above to see conversions
Examples: UPPERCASE · camelCase · snake_case · kebab-case · PascalCase
Frequently Asked Questions
When and how to use different text formats
When to use camelCase vs PascalCase?
camelCase (starts lowercase: helloWorld) is typically used for variable and function names in JavaScript, Java, C#. PascalCase (starts uppercase: HelloWorld) is used for class names, Vue/React components, TypeScript interfaces and types. In PHP, PascalCase is the standard for Laravel classes.
When to use snake_case vs kebab-case?
snake_case is the standard for variables and functions in Python, Ruby, PHP (databases). kebab-case is used for CSS file names, CSS classes, URLs and component names in HTML/Vue. SCREAMING_SNAKE_CASE is reserved for constants in many languages (PHP, Python, Java).
Are Sentence case and Title Case the same thing?
No. Sentence case capitalizes only the first word of the sentence (like a normal sentence). Title Case capitalizes every word. Title Case is used in English book/film titles, while Sentence case is the standard format for headings in many European editorial styles.
Does conversion work with accented characters?
Uppercase and lowercase conversions work correctly with accented characters (à, è, ì, ò, ù). Programming format conversions (camelCase, snake_case, etc.) remove non-ASCII characters to ensure compatibility with programming language identifiers.
When do I use camelCase and when PascalCase?
camelCase, which starts with a lower case letter, is for variables and functions in JavaScript, Java and C#. PascalCase, which starts upper case, is for classes, components and types.
When do I use snake_case and when kebab-case?
snake_case is the convention of Python, of Ruby and of database columns. kebab-case is the one used in file names, CSS classes, web addresses and component names.
Are accented letters handled?
Upper case and lower case treat accented letters correctly. The code formats strip out non-ASCII characters instead, because many languages do not allow them inside identifiers.