Case Converter & Text Transformer
Transform your text between 8 different case formats. Perfect for programming, writing, social media, and data cleaning.
Try These Examples
Understanding Text Case Formats (Complete Guide)
A case converter transforms text between different capitalization formats. Each format serves a specific purpose — from programming conventions to writing styles. Choosing the wrong case can break code, violate style guides, or confuse readers.
Different industries and platforms have established case conventions. Programmers use camelCase and snake_case for variable names. Journalists follow sentence case for headlines. Academic writing often requires title case for references. Social media marketers use uppercase for emphasis but sparingly — all-caps text is considered "shouting" online.
- Programming: camelCase (JavaScript), snake_case (Python), PascalCase (C#, Java classes), kebab-case (CSS classes, URLs)
- Journalism & Blogging: Sentence case for articles, Title Case for headlines (AP style varies)
- Academic Writing: Title Case for references (APA, MLA, Chicago), Sentence case for abstracts
- Email Marketing: Sentence case for subject lines (best open rates), avoid ALL CAPS (spam trigger)
- Social Media: lowercase for casual brands, Title Case for professional accounts, UPPERCASE for emphasis (use sparingly)
- Data Cleaning: lowercase or UPPERCASE for consistent database entries
- Legal Documents: UPPERCASE for defined terms and warnings, Sentence case for body text
Our case converter supports eight popular formats. Understanding the difference between them can save hours of manual reformatting and prevent costly errors in code or publications.
Complete Guide to 8 Text Case Formats
Every letter is converted to lowercase. Used for: URLs, email addresses, database normalization, casual branding (apple, google, nike). Also used for hashtags (#seo, #contentmarketing).
Example: "HELLO WORLD" → "hello world"
Every letter is converted to uppercase. Used for: acronyms (NASA, CEO), warnings (DANGER), environmental variables, database constants, and shouting (use sparingly — perceived as aggressive).
Example: "Hello World" → "HELLO WORLD"
Capitalizes major words (nouns, verbs, adjectives, adverbs). Articles (a, an, the), conjunctions (and, but, or), and short prepositions (of, to, for, with) remain lowercase unless at start or end. Used for: book titles, article headlines, movie names.
Example: "the lord of the rings" → "The Lord of the Rings"
Capitalizes first letter of first word and proper nouns. Everything else lowercase. Standard for: blog posts, news articles, email body text, most web content. Most readable format for long-form content.
Example: "THIS IS A SENTENCE." → "This is a sentence."
First word lowercase, each subsequent word capitalized, no spaces. Used for: JavaScript variables, Java method names, Swift properties, JSON keys. Most common in web development.
Example: "user profile data" → "userProfileData"
Each word capitalized, no spaces. Like camelCase but first letter uppercase. Used for: C# class names, Java class names, TypeScript interfaces, React components, PowerShell commands.
Example: "user profile data" → "UserProfileData"
Words separated by underscores, all lowercase. Used for: Python variables, Ruby variables, database column names, file names in Linux/Unix. Highly readable and space-efficient.
Example: "user profile data" → "user_profile_data"
Words separated by hyphens, all lowercase. Used for: URL slugs (SEO-friendly), CSS class names, HTML data attributes, package names (npm). Hyphens are Google's preferred word separator.
Example: "user profile data" → "user-profile-data"
12 Costly Case Conversion Mistakes
Python expects snake_case for variables, JavaScript uses camelCase. Using the wrong case breaks code or violates style guides. Check your language's convention before converting.
Not all words capitalize in title case. Articles (a, an, the), conjunctions (and, but, or), and short prepositions (of, to, for, with, in, on, at) stay lowercase unless at start or end of title.
All-caps text is perceived as shouting online. Studies show all-caps emails have 30% lower open rates and are often marked as spam. Use uppercase only for emphasis on 1-2 words maximum.
URLs should use kebab-case (hyphens), not snake_case (underscores). Google treats hyphens as word separators but underscores as word joiners. "seo-tools" is 2 words, "seo_tools" is 1 word.
Some databases (PostgreSQL) are case-sensitive, others (MySQL) aren't by default. Inconsistent case in queries can cause "relation does not exist" errors. Standardize on snake_case for database objects.
UPPERCASE text takes more horizontal space on mobile screens, causing more line breaks and harder readability. Use sentence case for mobile-optimized content.
URLs are case-sensitive on many servers. "SEO-Tools" and "seo-tools" could be different pages. Always use lowercase for URLs to avoid duplicate content issues.
Converting to lowercase loses brand names (Google → google), proper nouns (London → london), and acronyms (NASA → nasa). Use case converters carefully on text with proper nouns.
Inconsistent naming within the same codebase causes confusion. JavaScript uses camelCase for variables/functions, PascalCase for classes/constructors. Know the distinction.
German capitalizes all nouns. French has different title case rules. Our case converter works best with English text. For other languages, review results manually.
Hashtags are case-insensitive (#SEO = #seo), but CamelCase improves readability (#BlackFriday vs #blackfriday). Use PascalCase for multi-word hashtags.
AP Style uses sentence case for headlines. Chicago Manual uses title case. APA uses sentence case for titles. Always follow your publication's style guide.
Case Conventions by Programming Language
Different programming languages have established naming conventions. Following these conventions makes your code more readable and maintainable.
camelCase for variables/functions, PascalCase for classes, UPPER_SNAKE_CASE for constants, kebab-case for file names.
snake_case for variables/functions, PascalCase for classes, UPPER_SNAKE_CASE for constants.
PascalCase for classes/methods, camelCase for parameters/local variables, UPPERCASE for constants (legacy).
camelCase for methods/variables, PascalCase for classes, UPPER_SNAKE_CASE for constants.
PSR standards: camelCase for methods, PascalCase for classes, snake_case for variables (varies by framework).
UPPERCASE for keywords (SELECT, FROM, WHERE), snake_case for table/column names.
kebab-case for class names (.btn-primary), camelCase for JavaScript hooks (.jsSubmitButton).
snake_case for variables/functions, PascalCase for types/traits, SCREAMING_SNAKE_CASE for constants.
You Might Also Like These Text Tools
Frequently Asked Questions About Case Conversion
Transform Your Text Case Instantly
Free case converter for programmers, writers, and content creators. 8 formats, no sign-up required.