What is Case Converter?
How It Works
Type or paste your text, then select the desired case format. The converter instantly transforms your text and displays the result with a copy button. An "All conversions" panel shows your text in every format simultaneously. The tool includes character, word, and line counts for reference.
Formula
Title Case: Capitalize first letter of major words, lowercase minor words (articles, conjunctions, short prepositions) camelCase: Remove spaces/separators, capitalize first letter of each word except the first snake_case: Replace spaces/separators with underscores, all lowercase
Formula Explained
Each case format follows specific rules. Title Case uses AP/Chicago style guidelines to determine which words are capitalized. camelCase and PascalCase use word boundary detection that handles existing camelCase, snake_case, and other formats. The converter intelligently tokenizes input by splitting on spaces, underscores, hyphens, dots, and camelCase boundaries before rejoining in the target format.
Example
Input: "the quick brown fox jumps over the lazy dog" UPPER CASE: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG lower case: the quick brown fox jumps over the lazy dog Title 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
Tips & Best Practices
- โUse Title Case for article headlines and H1 tags for SEO.
- โUse camelCase for JavaScript variables and PascalCase for React components.
- โUse snake_case for Python variables and database columns.
- โUse CONSTANT_CASE for environment variables and constants.
- โUse kebab-case for URL slugs and CSS class names.
Common Use Cases
- โขConverting headings to proper Title Case for blog posts
- โขTransforming variable names between programming conventions
- โขStandardizing text case for data cleaning and consistency
- โขCreating URL-friendly slugs from titles (kebab-case)
- โขConverting database column names between snake_case and camelCase