Case Converter

Convert text between 10 case formats — instantly and privately

← Back to Conversion Tools
1
Paste Your Text

Type or paste text in the input area

2
Pick a Case Mode

10 formats — text & developer cases

3
Copy the Result

Click Copy or switch modes to compare

0 characters · 0 words · 0 lines

Output

Programming Naming Conventions — Which Case for Which Language

CaseExampleLanguages & Usage
camelCaseuserName, getData, handleClickJavaScript, TypeScript, Java (variables/methods), Go (unexported)
PascalCaseUserName, GetData, ReactComponentC#, .NET (methods/properties), Java (classes), React components, TypeScript types
snake_caseuser_name, get_data, max_retriesPython, Ruby, Rust, PHP, PostgreSQL, C (standard library style)
kebab-caseuser-name, get-data, flex-containerCSS, HTML attributes, URLs, CLI arguments, Lisp
CONSTANT_CASEMAX_RETRIES, API_KEY, PIConstants in JS/TS/Java/C#/Python/C — nearly universal for immutable values
UPPERCASEWARNING, ERROR, HEADINGEmphasis, headings, acronyms, legacy COBOL/FORTRAN

When to Use Each Text Case

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.

Common Case Conversion Mistakes

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.

Frequently Asked Questions

How do I convert text to UPPERCASE or lowercase?

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.

What is the difference between Title Case and Sentence case?

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.

How do I convert between camelCase, snake_case, and kebab-case?

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.

Which programming languages use which naming conventions?

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.

What is toggle case and when would I use it?

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.