TinyToolHub
Text Case Converter
Convert text between different case formats including camelCase, snake_case, UPPERCASE, lowercase, and more. Perfect for developers and content creators.
Enter text to see case conversions
Our free text case converter tool helps you transform text into various case formats instantly. Whether you're a developer working with different naming conventions or a writer formatting content, this tool supports all common case formats.
Supported Case Formats:
- camelCase: First word lowercase, subsequent words capitalized (myVariableName)
- PascalCase: All words capitalized, no spaces (MyClassName)
- snake_case: Words separated by underscores, all lowercase (my_variable_name)
- SCREAMING_SNAKE_CASE: Words separated by underscores, all uppercase (MY_CONSTANT)
- kebab-case: Words separated by hyphens, all lowercase (my-css-class)
- SCREAMING-KEBAB-CASE: Words separated by hyphens, all uppercase (MY-CONSTANT)
- dot.case: Words separated by dots, all lowercase (my.config.key)
- path/case: Words separated by forward slashes (my/file/path)
- Title Case: First letter of each word capitalized (My Title Text)
- Sentence case: Only first letter capitalized (My sentence text)
Common Use Cases:
- Converting variable names between programming languages
- Formatting CSS class names and IDs
- Creating consistent file and folder names
- Converting database column names
- Formatting API endpoint names
- Converting text for different style guides
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariable), while PascalCase starts with an uppercase letter (MyVariable). PascalCase is often used for class names, while camelCase is used for variable and function names.
When should I use snake_case vs kebab-case?
snake_case is commonly used in Python, Ruby, and database column names. kebab-case is popular in CSS class names, HTML attributes, and URLs. Choose based on your programming language or platform conventions.
Does the tool handle special characters and numbers?
Yes, the tool handles special characters by treating them as word separators. Numbers are preserved in their original form. For example, "user-id-123" becomes "userId123" in camelCase.
Can I convert multiple lines of text at once?
Yes, you can paste multiple lines of text, and each line will be converted according to the selected case format. This is useful for converting lists of variable names or file names.
Is the conversion reversible?
Some conversions are reversible (like UPPERCASE to lowercase), but others may lose information. For example, converting "Hello World" to "helloworld" loses the word boundary information.