CalquioCalquio

Search

Search for calculators and tools

Case Converter

Transform text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 10+ other formats. Copy with one click!

UPPERCASE

HELLO WORLD

lowercase

hello world

Title Case

Hello World

Sentence case

Hello world

camelCase

helloWorld

PascalCase

HelloWorld

snake_case

hello_world

kebab-case

hello-world

CONSTANT_CASE

HELLO_WORLD

dot.case

hello.world

path/case

hello/world

aLtErNaTiNg

hElLo WoRlD

iNVERSE cASE

hELLO wORLD

You May Also Like

What Are Text Cases?

Text cases are different ways to capitalize letters in words. Just like how we write names with capital letters ("John") but regular words in lowercase ("hello"), programmers and writers use many different styles for specific purposes.

Think of it like dress codes - you wouldn't wear a suit to the beach, and you wouldn't use SCREAMING_CONSTANTS in a friendly email!

Common Case Styles Explained

For Writing:

  • UPPERCASE - All capitals. Used for headings, acronyms (NASA, FBI), or EMPHASIS
  • lowercase - All small letters. Casual, modern aesthetic
  • Title Case - First Letter Of Each Word Capitalized. Used for titles, headlines
  • Sentence case - Only first letter capitalized. Standard for most text

For Programming:

  • camelCase - First word lowercase, rest capitalized. Used in JavaScript, Java variables
  • PascalCase - Every word capitalized, no spaces. Used for class names
  • snake_case - Words separated by underscores. Used in Python, databases
  • kebab-case - Words separated by hyphens. Used in URLs, CSS classes
  • CONSTANT_CASE - All caps with underscores. Used for constants

When to Use Each Style

Case StyleBest ForExample
camelCaseJavaScript variablesuserName, isLoggedIn
PascalCaseClass names, React componentsUserProfile, ShoppingCart
snake_casePython, databases, file namesuser_name, created_at
kebab-caseURLs, CSS, HTML attributesuser-profile, nav-menu
CONSTANT_CASEConstants, env variablesMAX_SIZE, API_KEY

Why Naming Conventions Matter

In programming, using the wrong case isn't just a style issue - it can break your code!

// JavaScript is case-sensitive
let userName = "Alice";
console.log(username); // Error! "username" is not defined

Most programming languages and frameworks have strict conventions:

  • Python: snake_case for variables, PascalCase for classes
  • JavaScript: camelCase for variables, PascalCase for components
  • CSS: kebab-case for class names
  • SQL: snake_case for columns, UPPERCASE for keywords

Pro Tips

  1. Be consistent - Pick one style per context and stick with it
  2. Follow team/language conventions - Don't be the rebel using camelCase in Python
  3. Use descriptive names - userEmailAddress beats uea any day
  4. Avoid mixing styles - user_Name is a crime against readability