Case Converter
Convert text between camelCase, snake_case, kebab-case, PascalCase, and more.
About Case Converter
This tool converts text between different naming conventions commonly used in programming. Each case style has its own use cases and is preferred in different contexts.
Case Styles Explained
camelCase
First word lowercase, subsequent words capitalized with no spaces.
Example: helloWorldExample
Used in: JavaScript, Java, C# variable names
PascalCase
All words capitalized with no spaces (also called UpperCamelCase).
Example: HelloWorldExample
Used in: Class names in most programming languages
snake_case
All lowercase with underscores separating words.
Example: hello_world_example
Used in: Python, Ruby, database column names
kebab-case
All lowercase with hyphens separating words (also called dash-case).
Example: hello-world-example
Used in: URLs, CSS class names, file names
UPPERCASE
All characters in uppercase.
Example: HELLO WORLD EXAMPLE
Used in: Constants, environment variables
lowercase
All characters in lowercase.
Example: hello world example
Title Case
First letter of each word capitalized.
Example: Hello World Example
Used in: Headings, titles
Sentence case
First letter of first word capitalized, rest lowercase.
Example: Hello world example
Used in: Regular sentences, comments
Common Use Cases
- Variable Naming: Convert between camelCase and snake_case
- File Names: Convert to kebab-case or snake_case
- CSS Classes: Convert to kebab-case
- Database Columns: Convert to snake_case
- Constants: Convert to SCREAMING_SNAKE_CASE
- URLs: Convert to kebab-case
- API Endpoints: Convert to kebab-case or camelCase
Programming Language Conventions
| Language | Variables | Functions | Classes |
|---|---|---|---|
| JavaScript | camelCase | camelCase | PascalCase |
| Python | snake_case | snake_case | PascalCase |
| Java | camelCase | camelCase | PascalCase |
| C# | camelCase | PascalCase | PascalCase |
| Ruby | snake_case | snake_case | PascalCase |
| PHP | camelCase | camelCase | PascalCase |
Features
- ✅ 8 Case Styles: All common programming conventions
- ✅ Instant Conversion: One-click conversion
- ✅ Copy to Clipboard: Easy copying with feedback
- ✅ 100% Client-Side: No server, no data upload
- ✅ Free & Unlimited: Convert as much text as you need
Related Tools
- URL Encoder/Decoder - Encode text for URLs
- Base64 Encoder - Encode text in Base64
- Hash Generator - Generate hashes