Case Converter — All Text Cases Explained
Text case conversion is something every writer, developer, and content creator needs regularly. Whether you accidentally hit CAPS LOCK or need to format variable names in code, a case converter saves time and eliminates manual editing.
The 9 Text Cases We Support
- UPPERCASE: All letters are converted to capital letters. HELLO WORLD. Used for headers, acronyms, and shouting (in internet culture).
- lowercase: All letters become small. hello world. Used for casual writing, CSS class names, and email addresses.
- Title Case: First letter of every word is capitalized. Hello World. Used for titles, headings, and proper nouns.
- Sentence case: Only the first letter of each sentence is capitalized. Standard for most writing.
- camelCase: No spaces, each word starts with a capital except the first. helloWorld. Standard for JavaScript variable names.
- PascalCase: Like camelCase but the first word is also capitalized. HelloWorld. Used for class names in OOP languages.
- snake_case: Words are separated by underscores, all lowercase. hello_world. Common in Python and database column names.
- kebab-case: Words separated by hyphens. hello-world. Used in URLs, CSS class names, and HTML attributes.
- AlTeRnAtInG: Alternating upper and lower case characters. Used for mocking tone in memes and fun content.
When to Use Which Case in Programming
Different programming languages have conventions for naming variables, functions, and classes:
- JavaScript / TypeScript: camelCase for variables, PascalCase for classes
- Python: snake_case for variables and functions, PascalCase for classes
- PHP: camelCase or snake_case depending on the framework
- CSS: kebab-case for class and ID names
- SQL: UPPERCASE for keywords, snake_case for column and table names
- URLs / Slugs: kebab-case (best for SEO and readability)
Common Use Cases for Writers
If you accidentally typed an entire paragraph in CAPS LOCK, our case converter fixes it in one click. Title case is perfect for book titles, movie names, and article headings. Sentence case is ideal for converting messy imported content into readable text.