Select Format
UPPERCASE — ALL CAPS
Converted text will appear here…Supported Case Types
- UPPERCASE – All letters capitalized. Used for headings, constants, and emphasis.
- lowercase – All letters in small case. Used for tags, slugs, and normalizing input.
- Title Case – First letter of each major word capitalized. Standard for headings and article titles.
- Sentence case – First letter of each sentence capitalized. Natural prose format.
- camelCase – Words joined, first letter lowercase (
myVariableName). Standard in JavaScript and Java. - PascalCase – Words joined, all first letters uppercase (
MyClassName). Used for classes and components. - snake_case – Words joined by underscores (
my_variable_name). Standard in Python and Ruby. - kebab-case – Words joined by hyphens (
my-css-class). Standard for CSS, HTML, and URL slugs.
When to Use Each Case in Programming
Naming conventions exist to make code readable and consistent. Violating the convention for a given language or framework makes code immediately feel foreign to other developers. Here are the standard conventions:
- JavaScript/TypeScript – camelCase for variables and functions, PascalCase for classes and React components.
- Python – snake_case for variables, functions, and modules; PascalCase for classes; UPPER_CASE for constants.
- CSS/HTML – kebab-case for class names and IDs.
- Databases – snake_case for table and column names is the most common convention.
- URLs and slugs – kebab-case is the standard (better for SEO and readability).
Frequently Asked Questions
Does it preserve punctuation and numbers?
Yes. Only the letter casing is transformed. Numbers, punctuation, and symbols are left untouched, except when converting to joined formats (camelCase, snake_case, kebab-case) where spaces are removed.
What is the difference between camelCase and PascalCase?
In camelCase the first letter is lowercase (myFunction). In PascalCase (also called UpperCamelCase) the first letter is uppercase (MyFunction). Both remove spaces between words.
Can I convert multiple lines at once?
Yes. Paste any amount of text and the conversion applies to the entire input. Line breaks are preserved for most case types.
Is Title Case the same as sentence case?
No. Title Case capitalizes the first letter of every major word (The Quick Brown Fox). Sentence case only capitalizes the first letter of each sentence (The quick brown fox).