Case converter

Transform text into any case style instantly

Your text
Words: 0
Characters: 0
Choose a case
Result — click to select all
Your converted text will appear here...
Case styles explained — which to use when

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.

StyleExampleCommon uses
lowercasehelloworldSimple labels, package names (Go, Python modules)
UPPERCASEHELLOWORLDAbbreviations, acronyms, SQL keywords
Title CaseHello WorldPage titles, book titles, UI button labels, headings
Sentence caseHello worldRegular prose, error messages, tooltips
camelCasehelloWorldVariables and functions in JavaScript, Java, Swift, C#
PascalCaseHelloWorldClass names, React components, TypeScript interfaces
snake_casehello_worldPython variables, database columns, Ruby, Rust
kebab-casehello-worldURLs, CSS classes, HTML attributes, npm package names
CONSTANT_CASEHELLO_WORLDConstants and environment variables in most languages
dot.casehello.worldConfiguration keys, version numbers, Java package names
Why naming conventions matter in programming

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.

Frequently asked questions
You might also need
About this tool

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.