Type or paste text in the input area
10 formats — text & developer cases
Click Copy or switch modes to compare
Convert text between 10 case formats — instantly and privately
Type or paste text in the input area
10 formats — text & developer cases
Click Copy or switch modes to compare
| Case | Example | Languages & Usage |
|---|---|---|
| camelCase | userName, getData, handleClick | JavaScript, TypeScript, Java (variables/methods), Go (unexported) |
| PascalCase | UserName, GetData, ReactComponent | C#, .NET (methods/properties), Java (classes), React components, TypeScript types |
| snake_case | user_name, get_data, max_retries | Python, Ruby, Rust, PHP, PostgreSQL, C (standard library style) |
| kebab-case | user-name, get-data, flex-container | CSS, HTML attributes, URLs, CLI arguments, Lisp |
| CONSTANT_CASE | MAX_RETRIES, API_KEY, PI | Constants in JS/TS/Java/C#/Python/C — nearly universal for immutable values |
| UPPERCASE | WARNING, ERROR, HEADING | Emphasis, headings, acronyms, legacy COBOL/FORTRAN |
UPPERCASE conveys emphasis, urgency, or headings. Used in warning labels, legal disclaimers, and acronyms. Overuse reduces readability — studies show all-caps text reads 10-15% slower than mixed case because word shapes (ascenders and descenders) are lost.
Title Case is for headings, book titles, and article headlines. Different style guides disagree on which words to capitalize: APA capitalizes all words of 4+ letters; Chicago Manual of Style capitalizes all major words; AP style only capitalizes words of 3+ letters. This converter follows the "capitalize first letter of every word" approach — the most universal interpretation.
Sentence case is for body text, emails, and documentation. Only the first letter of each sentence and proper nouns are capitalized. This is the most readable format for long-form content and is the standard for most technical documentation.
Losing acronyms in Title Case. "NASA" and "FBI" should stay uppercase even in title case — but most automated converters (including this one) can't distinguish acronyms from regular words without NLP. Always proofread converted titles manually. Double spaces after sentence case. If your input has inconsistent spacing, Sentence case may produce unpredictable results. Clean up extra spaces first. Unicode characters. The converter handles standard Latin characters well. For non-Latin scripts (Cyrillic, Greek, CJK), case conversion behavior depends on the browser's Unicode support — most modern browsers handle this correctly.
Paste your text and click the UPPERCASE or lowercase button. The result appears instantly. You can type in the input box to see real-time conversion.
Title Case capitalizes the first letter of every word. Sentence case only capitalizes the first letter of each sentence. Use Title Case for headings and book titles; use Sentence case for body text, emails, and documentation.
Paste your code identifier and select the target case. The converter handles word boundaries intelligently — it detects spaces, underscores, hyphens, and uppercase letters as word separators. You can convert snake_case directly to camelCase without any intermediate steps.
JavaScript uses camelCase for variables and PascalCase for classes. Python uses snake_case. CSS uses kebab-case. Java and C# use PascalCase for methods. CONSTANT_CASE is universal for constants. See the reference table above for details.
tOGGLE cASE inverts every letter — uppercase becomes lowercase and vice versa. It's most useful for fixing text accidentally typed with Caps Lock on. A sentence typed as "hELLO wORLD" becomes "Hello World" after toggling.