Case Converter
Interactive StudioConvert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case instantly. Instant feedback with zero server storage.
Loading tool…
About Case Converter
Programming languages and file formats each have their own naming conventions, and this tool switches text between the eight most common ones. Word boundaries are detected from spaces, hyphens, underscores, and the lowercase-to-uppercase transitions inside camelCase or PascalCase words, so "user profile settings", "user-profile-settings", and "userProfileSettings" all convert cleanly into any other style.
camelCase (userProfile) is the default for variables and function names in JavaScript, Java, and Swift. PascalCase (UserProfile) marks class and component names in the same languages, plus C#. snake_case (user_profile) is idiomatic in Python and Ruby, and is also the standard for database column and file names on Unix systems. kebab-case (user-profile) shows up in URLs, CSS class names, and HTML attributes, where underscores and capital letters aren't conventional. Title Case and Sentence case matter for headings and prose rather than code — Title Case capitalizes each significant word for headlines, while Sentence case capitalizes only the first letter, matching normal written English.
Switching a batch of strings between these styles by hand is tedious and error-prone, especially when renaming variables across a codebase or reformatting a CSV header row to match a different system's naming rules.
How to use Case Converter
- Paste or type your text.
- Choose a target style: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, UPPER or lower.
- Copy the converted text.
Worked examples
Input: user profile settings
Result: camelCase: userProfileSettings. snake_case: user_profile_settings. kebab-case: user-profile-settings.
Input: userProfileSettings
Result: PascalCase: UserProfileSettings. CONSTANT_CASE: USER_PROFILE_SETTINGS.
Background
Languages and tools have naming conventions. JavaScript variables use camelCase, classes use PascalCase, Python uses snake_case, CSS and URLs use kebab-case and environment variables use CONSTANT_CASE.
Word boundaries are detected from spaces, hyphens, underscores and lower-to-upper transitions. Acronyms such as HTTPServer can be split in unexpected places, so review the output for names containing them.
Common mistakes
- Converting identifiers with acronyms without checking the result.
- Using Title Case for a title that needs style-guide rules about small words.
- Renaming a public API field by case alone, which breaks callers.
Frequently Asked Questions
Frequently Paired With
Fast, local-first developer micro-tools with zero tracking or latency.
Remove Extra Spaces
Remove extra spaces and blank lines from text.
Find and Replace
Find and replace text, with regex support.
Username Generator
Generate random, memorable usernames.
Word Counter
Count words, characters, sentences with readability & density analysis.
