Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more instantly.
Start typing above to see all case conversions
How to Use
- 1
Paste or type your text
Enter the text you want to convert in the input box.
- 2
View all case variants
All 9 case styles (UPPER, lower, Title, camelCase, etc.) appear instantly.
- 3
Copy the one you need
Click Copy next to any variant to copy it to your clipboard.
How It Works
This tool converts any text between the case conventions used in writing (UPPERCASE, Title Case) and the naming conventions used in code (camelCase, snake_case, kebab-case), so you don't have to retype or manually reformat text by hand.
Writing cases vs. programming cases
UPPERCASE, lowercase, Title Case, and Sentence case are formatting conventions for readable text. camelCase (firstWordLower, restCapitalized), PascalCase (AllWordsCapitalized), snake_case (words_with_underscores), and kebab-case (words-with-hyphens) are naming conventions used in code for variables, functions, files, and URLs β each programming language or context typically favors one specific convention.
Examples
Converting a variable name
"user first name" becomes userFirstName (camelCase), UserFirstName (PascalCase), user_first_name (snake_case), or user-first-name (kebab-case) depending on what your codebase's style guide requires.
Converting a heading
"the quick brown fox" becomes "The Quick Brown Fox" in Title Case, or "THE QUICK BROWN FOX" in uppercase.
Common Use Cases
- Converting variable or function names between camelCase, snake_case, and PascalCase when switching between programming languages with different style conventions
- Formatting headings or titles into consistent Title Case for documents or web content
- Converting text case for filenames, URLs (kebab-case), or database column names (snake_case)
Tips
- Different languages have different conventions: JavaScript/Java typically use camelCase for variables, Python typically uses snake_case, and many CSS/URL contexts use kebab-case β match your target codebase's existing style rather than personal preference.
- Title Case rules vary slightly by style guide (some keep short words like "a", "the", "of" lowercase unless they start the title) β this tool capitalizes every word, so double-check against your specific style guide for formal writing.
Frequently Asked Questions
Related Tools
Fancy Text Generator
Generate fancy Unicode text styles β Bold, Italic, Script, Fraktur, Double-struck, Small Caps, Strikethrough and more. Works on Instagram, WhatsApp & Twitter.
Password Generator
Generate strong random passwords. Choose length, include uppercase, lowercase, numbers and symbols. Instant strength meter.
Lorem Ipsum Generator
Generate Lorem Ipsum placeholder text by words, sentences or paragraphs. Instant copy. Perfect for designers and developers.