Case Converter
Convert text to UPPER, lower, Title, camelCase, snake_case, kebab-case and more.
About Case Converter
What is the Case Converter?
The Case Converter is a text formatting utility designed to seamlessly transform your strings between various typographical and programming casing standards. Whether you accidentally left Caps Lock on, need to format an essay title, or are preparing variables for your code, this tool automates the tedious manual editing process instantly.
Common Programming Case Formats
- camelCase: The first letter is lowercase, and each subsequent word starts with a capital letter (e.g., myVariableName). Widely used in JavaScript and Java.
- PascalCase: Every word starts with a capital letter (e.g., MyClassName). Commonly used for classes in C#, TypeScript, and React Components.
- snake_case: Words are separated by underscores and are entirely lowercase (e.g., my_variable_name). The standard convention in Python, Ruby, and SQL databases.
- kebab-case: Words are separated by hyphens (e.g., my-css-class). Standard for CSS classes, HTML attributes, and URL slugs.
Frequently Asked Questions
What is the difference between Title Case and Sentence case?
Sentence case capitalizes only the first letter of the very first word in a sentence, leaving the rest lowercase (like a normal book sentence). Title Case capitalizes the first letter of every single word in the string, which is typically used for book titles, blog post headlines, and movie names.
Can this tool fix messy text with irregular spacing?
Yes. When converting to programming formats like camelCase or snake_case, the underlying algorithm uses regular expressions to detect irregular spacing, dashes, and underscores, normalizing them into the clean format you selected.
Is this tool safe for sensitive data?
Absolutely. The Case Converter runs entirely via client-side JavaScript. Your text never leaves your browser and is never sent to our servers.