Case Converter

Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case instantly.

Embed this tool
UPPERCASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lowercase
the quick brown fox jumps over the lazy dog
Title Case
The Quick Brown Fox Jumps Over The Lazy Dog
Sentence case
the quick brown fox jumps over the lazy dog
camelCase
theQuickBrownFoxJumpsOverTheLazyDog
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog
URL Slug
the-quick-brown-fox-jumps-over-the-lazy-dog

Advertisement

Ad

Text Case Conventions

Different industries and programming languages prefer different text casing conventions. Writers use title case and sentence case. Developers use camelCase, snake_case, and kebab-case for variable names, filenames, and URLs. Understanding when to apply each convention improves readability, maintains consistency across codebases, and ensures your content follows professional standards.

When to Use Each

  • Title Case: Headlines, book titles, article names, and navigation menus
  • Sentence case: Paragraphs, emails, casual writing, and UI labels
  • camelCase: JavaScript variables, Java methods, and JSON keys
  • PascalCase: Class names, type definitions, and React components
  • snake_case: Python variables, Ruby, database columns, and file names
  • kebab-case: CSS classes, URL paths, HTML attributes, and Git branch names
  • UPPERCASE: Constants, enums, environment variables, and warning labels

Unicode Case Mapping

Unicode defines language-aware case mapping rules that go far beyond simple ASCII conversion. Special cases include the German sharp s (ß → SS), Greek final sigma (ς vs σ), and locale-specific rules for Turkish and Lithuanian. The Unicode Standard provides three types of case mapping: simple (one-to-one), special (one-to-many), and conditional (context-dependent). For more details, see the Wikipedia article on Letter case and the Unicode case mapping documentation.

Programming Style Guides

Major tech companies publish style guides that specify case conventions. Google’s JavaScript style guide enforces camelCase for variables and PascalCase for constructors. PEP 8 mandates snake_case for Python variables and PascalCase for classes. Airbnb’s JavaScript style guide and the Rust API Guidelines both provide detailed recommendations for consistent naming.

Related Reading & Tools

Explore our Title Case Converter for more nuanced headline formatting, or use the Text to Slug Converter to create URL-friendly identifiers. Writers may also appreciate our Word Counter andFind and Replace tools for bulk text transformations.

References: Wikipedia — Letter case, Unicode Consortium Case Mapping,Google Developer Documentation Style Guide, PEP 8 — Style Guide for Python Code.

Frequently Asked Questions

camelCase is a naming convention where the first word is lowercase and subsequent words are capitalized without spaces, such as "myVariableName" or "calculateTotalPrice". It is the dominant convention in JavaScript, Java, and C# for variable and function names because it improves readability while keeping identifiers compact.

Related Tools