Transform text into any case style instantly
Naming conventions exist because code is read far more often than it is written. Consistent case styles make identifiers immediately recognisable — a developer reading getUserById knows it's a function; reading MAX_CONNECTIONS knows it's a constant. Case conventions are one of the most widely agreed-upon aspects of software style across languages.
| Style | Example | Common uses |
|---|---|---|
| lowercase | helloworld | Simple labels, package names (Go, Python modules) |
| UPPERCASE | HELLOWORLD | Abbreviations, acronyms, SQL keywords |
| Title Case | Hello World | Page titles, book titles, UI button labels, headings |
| Sentence case | Hello world | Regular prose, error messages, tooltips |
| camelCase | helloWorld | Variables and functions in JavaScript, Java, Swift, C# |
| PascalCase | HelloWorld | Class names, React components, TypeScript interfaces |
| snake_case | hello_world | Python variables, database columns, Ruby, Rust |
| kebab-case | hello-world | URLs, CSS classes, HTML attributes, npm package names |
| CONSTANT_CASE | HELLO_WORLD | Constants and environment variables in most languages |
| dot.case | hello.world | Configuration keys, version numbers, Java package names |
Most programming languages enforce some naming rules — identifiers can't contain spaces, and some are case-sensitive (so myVar and MyVar are different). Beyond language rules, conventions exist at the community level and are enforced by style guides, linters, and team standards.
The most influential style guides — Google's Java/JavaScript/Python guides, Airbnb's JavaScript guide, and PEP 8 for Python — all specify case conventions in detail. Following them makes code immediately recognisable to other developers in that ecosystem. A React developer reading UserProfile knows it's a component; userProfile is a variable.
For non-developers, case conventions matter in URLs (kebab-case is strongly preferred for SEO — Google treats hyphens as word separators, underscores as word joiners), in database design (snake_case is the standard for column and table names), and in configuration files where keys like DATABASE_URL are universally understood as environment variables.
This case converter supports 12 case styles: lowercase, UPPERCASE, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, aLtErNaTiNg, and iNVERSE. The All conversions panel shows all 12 at once — tap any to copy. Use the Use as input button to chain multiple conversions.