What Is the Text Case Converter?
Convert text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more.
Why Use This Tool?
Switching between text cases is a constant need for developers (variable naming conventions) and content creators (headline formatting). This tool converts between all common cases instantly.
How to Use This Text Case Converter
- Paste your text — Enter the text you want to convert to a different case format.
- Select the target case — Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case.
- View the converted text — The tool transforms your text instantly, showing the result in the selected format.
- Copy the result — Click Copy to grab the converted text for your code, content, or database.
Tips and Best Practices
- → Use Title Case for headings. Capitalize the first letter of major words. Articles (a, an, the), prepositions (in, on, at), and conjunctions (and, but, or) stay lowercase unless they're the first word.
- → Use camelCase and PascalCase in code. JavaScript conventionally uses camelCase for variables and functions, PascalCase for classes and React components.
- → Use kebab-case for URLs and CSS. URL slugs and CSS class names use kebab-case (words separated by hyphens). It's the most readable format in these contexts.
- → Use CONSTANT_CASE for config values. Environment variables and configuration constants conventionally use SCREAMING_SNAKE_CASE to distinguish them from regular variables.
Frequently Asked Questions
What is kebab-case?
Kebab-case uses lowercase words separated by hyphens: 'my-variable-name'. It's the standard convention for CSS class names, URL slugs, and CLI flags.
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (myVariableName). PascalCase starts with an uppercase letter (MyVariableName). Convention: camelCase for variables/functions, PascalCase for classes/components.
Does it handle special characters?
Yes. Special characters, numbers, and punctuation are preserved in most conversions. For code-style conversions (camelCase, snake_case), special characters are typically stripped.
What is CONSTANT_CASE?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses all uppercase letters with underscores: MY_CONSTANT_VALUE. It's the convention for constants and environment variables in most programming languages.
Does it handle acronyms correctly?
For camelCase and PascalCase, common acronyms like URL, API, and HTML are handled contextually. URLParser becomes urlParser in camelCase.
What is the difference between camelCase and PascalCase?+
camelCase starts with a lowercase letter and capitalizes subsequent words (myVariableName). PascalCase capitalizes every word including the first (MyClassName). In JavaScript, camelCase is used for variables and functions; PascalCase is used for classes, interfaces, and React components.
What is kebab-case used for?+
Kebab-case (words-separated-by-hyphens) is the standard for URL slugs, CSS class names, HTML attributes, and file names. It's highly readable and avoids issues with case sensitivity in URLs and file systems.
What is snake_case used for?+
Snake_case (words_separated_by_underscores) is the standard naming convention in Python, Ruby, and database column names. SCREAMING_SNAKE_CASE (all uppercase) is used for constants and environment variables across most languages.
Built by Derek Giordano · Part of Ultimate Design Tools
Privacy Policy · Terms of Service