What Is a Text Case Converter?
A Text Case Converter transforms text between different capitalization styles — camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, Sentence case, and more. All conversions happen instantly in your browser. No server, no upload, no data leaving your device.
Supported Case Formats
| Format | Example | Common Use |
|---|---|---|
| camelCase | helloWorldFoo | JavaScript variables, JSON keys, APIs |
| PascalCase | HelloWorldFoo | Classes, React components, C# types |
| snake_case | hello_world_foo | Python, Ruby, database columns |
| SCREAMING_SNAKE_CASE | HELLO_WORLD_FOO | Constants, environment variables |
| kebab-case | hello-world-foo | CSS classes, URL slugs, HTML attributes |
| UPPER CASE | HELLO WORLD FOO | Headings, labels, abbreviations |
| lower case | hello world foo | Plain text normalization |
| Title Case | Hello World Foo | Book titles, headings, UI labels |
| Sentence case | Hello world foo | Sentences, descriptions |
| Alternating case | hElLo wOrLd | Memes, emphasis, sarcasm |
How to Use
- Type or paste any text into the input field — any format works
- All 10 case variants appear instantly below
- Click Copy next to any variant to copy it to your clipboard
Smart Word Splitting
The converter automatically detects word boundaries across all common formats:
- Space-separated:
hello world→ tokens:hello,world - snake_case:
hello_world→ tokens:hello,world - kebab-case:
hello-world→ tokens:hello,world - camelCase:
helloWorld→ tokens:hello,World - PascalCase:
HelloWorld→ tokens:Hello,World - SCREAMING_SNAKE:
HELLO_WORLD→ tokens:HELLO,WORLD
This means you can paste any existing variable name and get all formats without manual editing.
camelCase
camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word. It is the dominant convention for variables and function names in JavaScript, TypeScript, Java, and Swift. Example: getUserById, isAuthenticated, maxRetryCount.
PascalCase
PascalCase (also called UpperCamelCase) capitalizes the first letter of every word. It is the standard for class names, React components, and TypeScript interfaces. Example: UserProfile, HttpRequest, ApiResponse.
snake_case
snake_case uses underscores to separate words, all lowercase. It is the idiomatic style in Python and Ruby, and the preferred convention for database column names in SQL. Example: user_id, created_at, max_retry_count.
SCREAMING_SNAKE_CASE
SCREAMING_SNAKE_CASE is snake_case with all letters uppercased. It conventionally marks constants and environment variables across many languages and shell environments. Example: DATABASE_URL, MAX_CONNECTIONS, API_BASE_URL.
kebab-case
kebab-case separates words with hyphens, all lowercase. It is the standard for CSS class names, URL path segments, and HTML custom attributes. Example: font-size, user-profile, data-testid.
Title Case
Title Case capitalizes the first letter of every word. It is used for book titles, article headings, product names, and button labels. Example: The Quick Brown Fox, Get Started Today.
Sentence Case
Sentence case capitalizes only the first word of the text, leaving the rest lowercase — the natural style for sentences, descriptions, and tooltip text. Example: The quick brown fox.
Privacy
All case conversions run locally in your browser using pure JavaScript string operations. No text is ever sent to a server.