Case Converter

Convert Text Case Instantly

Transform text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 7 more formats. One-click copy. 100% free.

About This Tool

Naming conventions are one of the most important yet overlooked aspects of writing maintainable code. JavaScript and TypeScript communities use camelCase for variables and functions (e.g., getUserName), while PascalCase is reserved for classes, components, and type definitions (e.g., UserProfile). Python developers follow snake_case for variables and functions (e.g., get_user_name), with UPPER_SNAKE_CASE for constants. CSS class names and URL slugs conventionally use kebab-case (e.g., user-profile-card). Mixing conventions within a single codebase signals inconsistency and makes codebases harder to navigate. This tool helps you quickly convert between all major conventions.

Unicode case mapping is far more complex than most developers realize. The classic example is the Turkish language, where the uppercase of "i" is not "I" but "İ" (capital I with a dot above), and the lowercase of "I" is not "i" but a dotless "i" (ı). German has the "sharp s" (ß) which historically had no uppercase form -- it uppercases to "SS", changing the string length. JavaScript's toUpperCase() and toLowerCase() methods handle these locale-specific rules when you use toLocaleUpperCase() and toLocaleLowerCase() with the appropriate locale parameter. Without locale-aware conversion, your application may produce incorrect results for non-English text.

Beyond programming, text case conversion is valuable for content creation workflows. Title Case follows specific rules about which words to capitalize -- articles (a, an, the), short prepositions (in, on, at), and conjunctions (and, but, or) are typically lowercase unless they start the title. Sentence case capitalizes only the first word and proper nouns, which is the preferred style for many modern publications and UX writing guidelines. The alternating case (sArCaSm CaSe) has become a cultural shorthand in internet communication for conveying ironic tone.

This tool processes conversions entirely in your browser using JavaScript string manipulation. For programming conventions like camelCase and snake_case, the algorithm first normalizes the input by detecting word boundaries (spaces, hyphens, underscores, and camelCase transitions), then reassembles with the target delimiter and casing. The reverse function operates on individual characters and correctly handles multi-byte Unicode characters. All conversions are instant and private -- no text is sent to any server.

Your Text

0 chars · 0 words

Type or paste text above to see conversions

Learn More

Text cases (or letter cases) are the different formatting conventions used for capitalization in text. Common cases include: UPPERCASE (all capitals), lowercase (no capitals), Title Case (first letter of each word capitalized), Sentence case (first letter of sentence capitalized), camelCase (used in programming, like 'firstName'), PascalCase (like camelCase but first letter capitalized, 'FirstName'), snake_case (words separated by underscores, 'first_name'), and kebab-case (words separated by hyphens, 'first-name'). Each case has specific use cases in writing, programming, and design.

Developers frequently need to convert between naming conventions — JavaScript uses camelCase, Python uses snake_case, CSS uses kebab-case, and class names use PascalCase. Writers need to convert headlines between Title Case and Sentence case. Data entry professionals clean up inconsistently capitalized text. Marketers transform content between different platform formatting requirements. Manual case conversion is tedious and error-prone, especially with large blocks of text. Our converter handles all these transformations instantly and accurately.

In programming: use camelCase for JavaScript variables and functions, PascalCase for class names and React components, SCREAMING_SNAKE_CASE for constants, snake_case for Python variables and database columns, and kebab-case for CSS classes and URL slugs. In writing: use Title Case for headlines and headings, Sentence case for body text and UI labels (preferred by Google and Apple), and UPPERCASE sparingly for emphasis or acronyms. When in doubt about programming conventions, follow the language's official style guide.

How to Convert Text Case

1

1. Paste Your Text

Type or paste the text you want to convert into the input box above.

2

2. See All Conversions

All 12 text case formats are generated instantly in real time as you type.

3

3. Copy the Result

Click the Copy button next to any conversion to copy it to your clipboard.

Frequently Asked Questions

What is a text case converter?

A text case converter transforms text between different letter cases like UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more. Useful for writing, programming, and formatting.

Is this tool free?

Yes, 100% free with no limits. Convert as much text as you need without registration.

What text cases are supported?

We support 12 formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, aLtErNaTiNg CaSe, and Reverse.

Is my text data safe?

Absolutely. Everything runs in your browser. No text is sent to any server.

Explore More Tools