Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more. Runs entirely in your browser — your text stays private.
About Text Cases
Different programming languages, frameworks, and contexts call for different text casing conventions. Using the correct case improves code readability, consistency, and adherence to community standards.
| Case | Example | Common Usage |
|---|---|---|
| UPPERCASE | THE QUICK BROWN FOX |
Headings, acronyms, emphasis, SQL keywords |
| lowercase | the quick brown fox |
CSS properties, HTML tags, email addresses, URLs |
| Title Case | The Quick Brown Fox |
Titles, headings, proper nouns, UI labels |
| Sentence case | The quick brown fox |
Sentences, paragraphs, natural language text |
| camelCase | theQuickBrownFox |
JavaScript variables, Java methods, JSON keys |
| PascalCase | TheQuickBrownFox |
Class names (Java, C#, JS), React components, TypeScript types |
| snake_case | the_quick_brown_fox |
Python variables/functions, Ruby, database columns, file names |
| kebab-case | the-quick-brown-fox |
CSS classes, URL slugs, HTML attributes, CLI flags |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX |
Constants (JS, Java, Python), environment variables, config keys |
| dot.case | the.quick.brown.fox |
Java package names, property keys, configuration files |
Why Naming Conventions Matter
Consistent naming conventions make code easier to read and maintain. Most style guides and linters enforce specific casing rules: ESLint expects camelCase for JavaScript variables, PEP 8 requires snake_case for Python, and BEM methodology uses kebab-case for CSS class names.
When migrating data between systems, converting API response keys, or refactoring variable names, a case converter saves time and eliminates manual errors. This tool handles all the common formats developers encounter daily.
Features
- 10 case conversion formats covering all major programming conventions
- Real-time character and word counts for input and output
- Handles multi-line text, preserving line breaks where appropriate
- Smart word splitting: recognizes spaces, hyphens, underscores, dots, and camelCase boundaries
- One-click copy to clipboard
- 100% client-side — your text never leaves your browser