Case Converter

Convert text between 11 different case formats instantly.

Case Converter — What It Does

Paste any text and instantly convert it to all major programming and writing case formats: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, dot.case, and more. Useful for renaming variables, converting database column names to API field names, or generating URL slugs.

Naming Conventions by Language / Context

  • camelCase — JavaScript/TypeScript variables and functions, Java variables
  • PascalCase — Class names (all languages), React components, TypeScript interfaces
  • snake_case — Python variables, functions, and modules; PostgreSQL column names; Ruby
  • kebab-case — CSS class names, HTML attributes, URL slugs, npm package names
  • SCREAMING_SNAKE_CASE — Constants and environment variables in all languages
  • dot.case — Configuration file keys (e.g. Spring Boot: spring.datasource.url)

Common Mistakes

  • Mixing conventions — Using camelCase in a Python codebase or snake_case in a JavaScript file breaks language idioms and reduces readability
  • Abbreviations — Acronyms like "URL" in camelCase are debated: parseUrl vs parseURL. Pick one and be consistent
  • Leading numbers — Most identifiers can't start with a digit; the converter handles this by prepending an underscore or letter where needed

Frequently Asked Questions

What is camelCase and when do I use it?
camelCase joins words without separators, capitalizing the first letter of each word after the first (e.g. myVariableName). It is the standard naming convention for variables and functions in JavaScript, Java, and Swift.
What is the difference between snake_case and kebab-case?
Both use words separated by a single character: snake_case uses underscores (my_variable) while kebab-case uses hyphens (my-variable). Snake_case is common in Python and database columns; kebab-case in CSS class names and URL slugs.
What is PascalCase used for?
PascalCase (also called UpperCamelCase) capitalizes the first letter of every word including the first (e.g. MyComponent, UserProfile). It is the standard for class names and React component names.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE is all uppercase with underscores (MAX_RETRIES, API_URL). It is universally used for constants and environment variable names across languages.
Does the converter handle unicode or special characters?
The tool handles standard Latin alphabet text including accented characters. Special characters and punctuation are typically preserved in place or treated as word boundaries depending on the target case format.