Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case and more.
Frequently Asked Questions
What is camelCase vs PascalCase?
camelCase: starts lowercase, each subsequent word capitalised (e.g. myVariableName). Used in JavaScript variables, JSON keys, and Java/Swift methods. PascalCase (UpperCamelCase): every word including the first capitalised (e.g. MyClassName). Used for class names in most languages, React components, and C# conventions.
What is snake_case and where is it used?
snake_case: lowercase words separated by underscores (e.g. my_variable_name). Standard in Python (PEP 8) for variables, functions, and file names; used in Ruby, SQL column names, and many config files. SCREAMING_SNAKE_CASE (e.g. MAX_BUFFER_SIZE) is the convention for constants in Python, Java, and C.
What is kebab-case and where is it used?
kebab-case: lowercase words separated by hyphens (e.g. my-component-name). Used in CSS class names, HTML custom element names, URL slugs, GitHub repository names, and npm package names. Cannot be used as a JavaScript identifier (hyphen is the minus operator), so it's restricted to non-code contexts.
When should I use Title Case vs Sentence case?
Title Case capitalises the first letter of most words — used for headings, book titles, article headlines (e.g. "The Quick Brown Fox Jumps Over the Lazy Dog"). Sentence case capitalises only the first word and proper nouns — used for body text, email subjects, and conversational writing. AP, Chicago, and APA styles all have slightly different Title Case rules.