Case Converter
Transform text case instantly
Select Case Type
Transformed Output
Batch Case Converter
Enter multiple lines of text (one per line) and convert them all at once
Batch Conversion Tips
One Line Per Entry
Enter each text on a separate line for individual conversion
Copy Results
Click the Copy button to copy all converted text to clipboard
For Developers
Use camelCase, snake_case, or CONSTANT_CASE for variable naming
Large Lists
Perfect for converting lists of names, identifiers, or file names
All Case Types with Examples
Complete reference of all supported case conversions with examples
| Case Type | Example Input | Example Output | Use Case |
|---|---|---|---|
|
UPPERCASE
All uppercase
|
hello world | HELLO WORLD | Emphasis, headings |
|
lowercase
All lowercase
|
Hello World | hello world | Emails, URLs |
|
Title Case
First letter capitalized
|
hello world | Hello World | Titles, names |
|
Sentence case
First letter of sentence
|
hello world. how are you? | Hello world. How are you? | Sentences, paragraphs |
|
camelCase
JavaScript style
|
hello world | helloWorld | JavaScript variables |
|
PascalCase
Class name style
|
hello world | HelloWorld | Class names, types |
|
snake_case
Python style
|
hello world | hello_world | Python, Ruby variables |
|
kebab-case
URL friendly
|
hello world | hello-world | URLs, CSS classes |
|
CONSTANT_CASE
Constants style
|
hello world | HELLO_WORLD | Constants, env vars |
| hello world | hElLo WoRlD | Fun, memes | |
|
Inverse
Swap case
|
Hello World | hELLO wORLD | Text transformation |
|
Reverse
Reverse text
|
hello world | dlrow olleh | Text reversal |
When to Use Each Case
camelCase
Use in JavaScript, Java, and most programming languages for variables and functions
snake_case
Use in Python, Ruby, and database column names for readability
PascalCase
Use for class names in C#, Java, TypeScript, and component names in React
kebab-case
Use in URLs, CSS class names, and HTML attributes for SEO and readability
CONSTANT_CASE
Use for constants and environment variables in most programming languages
Title Case
Use for titles, headings, names, and formal writing
Understanding Text Case Conversion
Case conversion is the process of transforming text between different capitalization styles. Different case styles are used in different contexts - from programming and web development to writing and typography. Understanding when to use each case style is essential for developers, writers, and content creators.
Common Case Types
The most commonly used case conversions:
- UPPERCASE: All letters capitalized. Used for emphasis, acronyms, and headings
- lowercase: All letters lowercase. Used for URLs, emails, and informal text
- Title Case: First letter of each word capitalized. Used for titles and names
- Sentence case: First letter of each sentence capitalized. Used for regular text
- camelCase: First word lowercase, subsequent words capitalized. Used in JavaScript
- PascalCase: All words capitalized. Used for class names and TypeScript
- snake_case: All lowercase with underscores. Used in Python and databases
- kebab-case: All lowercase with hyphens. Used in URLs and CSS
Programming Use Cases
Different programming languages prefer different case styles:
- JavaScript: camelCase for variables and functions, PascalCase for classes
- Python: snake_case for variables and functions, PascalCase for classes
- Java: camelCase for variables, PascalCase for classes, CONSTANT_CASE for constants
- C#: PascalCase for classes and methods, camelCase for parameters
- Ruby: snake_case for variables and methods, PascalCase for classes
- CSS: kebab-case for class names and properties
Best Practices
Follow these best practices for case conversion:
- Be consistent: Use the same case style throughout your code or document
- Follow conventions: Follow the conventions of your programming language
- Be readable: Choose case styles that improve readability
- Use semantic naming: Choose names that describe the purpose
- Avoid abbreviations: Use full words when possible for clarity
Using This Converter
Follow these steps:
- Step 1: Enter or paste your text in the input field
- Step 2: Select the desired case type from the buttons
- Step 3: Click "Transform Text" to see the result
- Step 4: View the transformed output in the preview
- Step 5: Click "Copy" to copy the result to clipboard
- Step 6: Use the Batch tab for converting multiple lines
- Step 7: Check the Examples tab for all case types
More Writing & Text Tools
Explore more writing and text tools in our collection, including Word Character Counter