Switching between uppercase, lowercase, title case, and programming naming conventions by hand is tedious and error-prone. A case converter does it in one click.
Common text cases
Everyday cases
- UPPERCASE β All capital letters. Used for acronyms, headings, emphasis
- lowercase β All small letters. Standard for body text, URLs
- Title Case β First Letter Of Each Word Capitalized. Used for titles, headings
- Sentence case β First letter of each sentence capitalized. Standard for body text
Programming cases
- camelCase β First word lowercase, subsequent words capitalized. Used in JavaScript, Java variables
- PascalCase β Every word capitalized, no separators. Used for class names
- snake_case β Words separated by underscores, all lowercase. Used in Python, Ruby, database columns
- kebab-case β Words separated by hyphens, all lowercase. Used in URLs, CSS class names
- CONSTANT_CASE β Snake case but uppercase. Used for constants and environment variables
When you need case conversion
- Formatting headings β Convert body text to Title Case for section headers
- Cleaning data β Normalize inconsistent capitalization in spreadsheets
- Code refactoring β Convert variable names between naming conventions
- Content migration β Adjust text formatting when moving between platforms
- SEO optimization β Ensure consistent title formatting
Naming conventions in programming
| Language | Variables | Constants | Classes | Functions |
|---|---|---|---|---|
| JavaScript | camelCase | UPPER_SNAKE | PascalCase | camelCase |
| Python | snake_case | UPPER_SNAKE | PascalCase | snake_case |
| CSS | kebab-case | β | β | β |
| Ruby | snake_case | UPPER_SNAKE | PascalCase | snake_case |
| Go | camelCase | PascalCase | PascalCase | camelCase |
Following the right convention makes your code more readable and consistent with the ecosystem. A case converter handles the transformation without manual editing.
Tips
- Donβt title-case small words β Words like βaβ, βanβ, βtheβ, βinβ, βonβ, βatβ are typically lowercase in titles (unless theyβre the first word)
- Acronyms in camelCase β
htmlParseris preferred overHTMLParserin most style guides - Be consistent β Pick one convention and stick with it across your project