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
How to use
- 1Paste or type text; switch to Code identifier to split camelCase, snake_case and kebab-case names.
- 2See all 18 cases at once. Cases the input already uses are marked Detected, and Bulk converts each line separately.
- 3Pick a case with Copy as or by clicking its card, then press Copy (⌘↵), or use a result as the new input.
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.