Case Converter

Convert text between different letter cases and naming conventions.

lowercase
UPPERCASE
Title Case
Sentence case
camelCase
PascalCase
snake_case
kebab-case

What Is a Case Converter?

A case converter transforms text between different letter casing styles. This is useful for writing, coding, content creation, and data formatting. Instead of retyping text manually, simply paste it and select the desired case.

Case Types Explained

  • lowercase — All letters converted to lowercase. Example: hello world. Used in URLs, email addresses, and database queries.
  • UPPERCASE — All letters converted to uppercase. Example: HELLO WORLD. Used for constants, acronyms, and emphasis.
  • Title Case — First letter of each word capitalized. Example: Hello World. Used for headings, titles, and proper nouns.
  • Sentence case — First letter of each sentence capitalized. Example: Hello world. This is a test. Standard for body text and paragraphs.
  • camelCase — Words joined without spaces, first word lowercase, subsequent words capitalized. Example: helloWorld. Standard in JavaScript and Java for variables and functions.
  • PascalCase — Words joined without spaces, all words capitalized. Example: HelloWorld. Used for class names in C#, Java, TypeScript, and Python.
  • snake_case — Words joined with underscores, all lowercase. Example: hello_world. Common in Python, Ruby, and database column names.
  • kebab-case — Words joined with hyphens, all lowercase. Example: hello-world. Used in URLs, CSS classes, and file names.

Developer tip: Most programming languages have naming conventions: camelCase for JavaScript/Java variables, PascalCase for C#/Java classes, snake_case for Python/Ruby, and kebab-case for CSS and URLs.

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

Both styles capitalize words and remove spaces. The difference is the first letter: camelCase starts with a lowercase letter (myVariable), while PascalCase starts with an uppercase letter (MyClass). PascalCase is sometimes called “UpperCamelCase.”

Which case should I use for my code?

Follow the conventions of your programming language. JavaScript: camelCase for variables/functions, PascalCase for classes. Python: snake_case for variables/functions, PascalCase for classes. CSS: kebab-case for class names and properties.