Case Converter
Convert text between camelCase, snake_case, kebab-case, PascalCase, and 18+ other case formats instantly.
What is a Case Converter?
A case converter transforms text between different capitalization styles: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more. These naming conventions are used in programming languages, file naming, URLs, and content formatting.
Common Use Cases
- •Converting variable names between camelCase and snake_case
- •Transforming titles to Title Case for headings
- •Converting constants to UPPER_SNAKE_CASE
- •Generating URL-safe kebab-case strings
- •Fixing accidentally typed CAPS LOCK text
Frequently Asked Questions
What naming convention should I use?
It depends on the language: JavaScript/TypeScript use camelCase for variables and PascalCase for classes. Python uses snake_case. CSS uses kebab-case. Constants typically use UPPER_SNAKE_CASE. Follow your language's and team's conventions.
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName). PascalCase starts with an uppercase letter (MyClassName). In most languages, camelCase is for variables/functions and PascalCase is for classes/types/components.