String Case Converter
Convert text between different case formats
Input Text
Case Formats
Programming Formats
myVariableNameFirst word lowercase, subsequent words capitalized, no spaces
Common use: JavaScript/Java variables, object properties
MyClassNameAll words capitalized, no spaces (Upper Camel Case)
Common use: Class names, constructors, components
my_variable_nameAll lowercase with underscores between words
Common use: Python variables, database columns, file names
my-variable-nameAll lowercase with hyphens between words
Common use: CSS classes, HTML attributes, URLs, file names
MY_CONSTANT_VALUEAll uppercase with underscores between words
Common use: Constants, environment variables, macros
MY-CONSTANT-VALUEAll uppercase with hyphens between words
Common use: HTTP headers, some configuration files
my.variable.nameAll lowercase with dots between words
Common use: Package names, namespaces, configuration keys
Text Formats
All characters in lowercase
Common use: Simple text processing, case-insensitive comparisons
All characters in uppercase
Common use: Headers, emphasis, legacy systems
First letter of each word capitalized
Common use: Titles, headers, proper names
First letter capitalized, rest lowercase
Common use: Sentences, descriptions, user-facing text
Special Formats
my/variable/nameAll lowercase with forward slashes between words
Common use: File paths, URLs, hierarchical structures
Case Format Reference
Quick Reference
camelCaseJS variables, propertiesPascalCaseClasses, constructorssnake_casePython, databaseskebab-caseCSS, URLs, filesUPPER_CASEConstants, env varsProgramming Conventions
- JavaScript: camelCase for variables, PascalCase for classes
- Python: snake_case for variables and functions
- CSS: kebab-case for classes and IDs
- Constants: UPPER_CASE in most languages
- URLs: kebab-case for readability and SEO