camelCase, snake_case, UPPER, Title, kebab-case and more
Ctrl+Enter = convert
Aa
Type text above
Converted forms appear automatically
Case Converter
Free online case converter. Convert text between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, Sentence case and more, instantly. Each line is converted separately, so you can paste a whole list of names at once.
FreeNo login100% browser-basedYour input never leaves your device
Different programming languages and frameworks have strong conventions around identifier naming. JavaScript and Java use camelCase, Python and SQL prefer snake_case, CSS uses kebab-case, and constants are typically SCREAMING_SNAKE_CASE. Manually converting between these formats is tedious and error-prone.
This tool converts text between all major case formats in one click: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, and sentence case. Paste any identifier, phrase or list (one per line) and get every variant instantly, each with its own copy button.
When do I use camelCase vs snake_case?
camelCase is standard in JavaScript, Java, Swift, and Kotlin for variables and functions. snake_case is standard in Python, Ruby, and for database column names. kebab-case is used in CSS classes and URL slugs.
What is PascalCase?
PascalCase (also called UpperCamelCase) capitalizes every word including the first. It's used for class names in most languages and React component names.
Can I convert multi-word input from any format?
Yes. This tool detects camelCase, PascalCase, snake_case, and kebab-case in your input and normalises them before converting. You can paste code identifiers directly.
What is camelCase and when is it used?
camelCase joins words without separators, capitalising each word after the first (e.g. getUserName). It is the standard naming convention for variables and functions in JavaScript, Java, Swift, and most C-family languages.
What is the difference between snake_case and kebab-case?
snake_case uses underscores as separators (e.g. user_first_name) — standard in Python, Ruby, and SQL. kebab-case uses hyphens (e.g. user-first-name) — standard in CSS class names, HTML attributes, and URL slugs. Hyphens are not valid in most programming language identifiers, so kebab-case is limited to markup and URLs.
What is PascalCase used for?
PascalCase capitalises every word including the first (e.g. UserProfile, HttpRequest). It is the standard for class names, types, and interfaces in most object-oriented languages: JavaScript, TypeScript, C#, Java, Swift.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE (all uppercase with underscores) is used for constants and environment variables: MAX_RETRY_COUNT, DATABASE_URL, API_KEY. It signals to developers that the value should not be changed at runtime. Common in Python, C, and virtually all languages for global constants.