🔄 Case Converter
A tool that converts text to various case styles. Supports 8 conversion styles!
📝 Input Text
✨ Result
Select a case style to convert your text. Supports lowercase, UPPERCASE, Capitalize, camelCase, PascalCase, snake_case, kebab-case, and tOGGLE cASE.
Supported Conversion Styles
1. lowercase
Converts all characters to lowercase.
Input: Hello World
Result: hello world
2. UPPERCASE
Converts all characters to uppercase.
Input: Hello World
Result: HELLO WORLD
3. Capitalize Each Word
Capitalizes the first letter of each word.
Input: hello world
Result: Hello World
4. camelCase
First word is lowercase, subsequent words start with uppercase.
Input: hello world example
Result: helloWorldExample
5. PascalCase
Capitalizes the first letter of all words and removes spaces.
Input: hello world example
Result: HelloWorldExample
6. snake_case
Converts all characters to lowercase and replaces spaces with underscores (_).
Input: Hello World
Result: hello_world
7. kebab-case
Converts all characters to lowercase and replaces spaces with hyphens (-).
Input: Hello World
Result: hello-world
8. tOGGLE cASE
Swaps uppercase and lowercase characters.
Input: Hello World
Result: hELLO wORLD
Use Cases
💻 Programming
-
Variable Name Conversion: Convert to different naming conventions
// camelCase: userName
// snake_case: user_name
// PascalCase: UserName -
API Endpoints: Convert to URL format
// Original: User Profile
// kebab-case: user-profile
// Result URL: /api/user-profile
📝 Document Work
- Unify Title Style: Convert all titles to a consistent format
- Organize Lists: Unify the case of items
🎨 CSS/HTML
- Generate Class Names: Convert component names to CSS classes
// Component: User Profile Card
// kebab-case: user-profile-card
// Class: .user-profile-card