Free tools that run locally in your browser with zero data storage.
Tyzo

Case Converter & Text Transformer

Transform your text between 8 different case formats. Perfect for programming, writing, social media, and data cleaning.

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.

When to Use Each Case Type:
  • 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

lowercase

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"
UPPERCASE

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"
Title Case

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"
Sentence case

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."
camelCase

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"
PascalCase

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"
snake_case

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"
kebab-case

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

Mistake #1: Using Wrong Case in Programming

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.

Mistake #2: Title Case Overcapitalization

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.

Mistake #3: Overusing UPPERCASE in Writing

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.

Mistake #4: Using Wrong Separator for URLs

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.

Mistake #5: Inconsistent Database Case

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.

Mistake #6: Ignoring Mobile Display

UPPERCASE text takes more horizontal space on mobile screens, causing more line breaks and harder readability. Use sentence case for mobile-optimized content.

Mistake #7: Case Sensitivity in SEO

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.

Mistake #8: Losing Proper Noun Capitalization

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.

Mistake #9: Mixing camelCase and PascalCase

Inconsistent naming within the same codebase causes confusion. JavaScript uses camelCase for variables/functions, PascalCase for classes/constructors. Know the distinction.

Mistake #10: Capitalization Rules in Other Languages

German capitalizes all nouns. French has different title case rules. Our case converter works best with English text. For other languages, review results manually.

Mistake #11: Case in Hashtags

Hashtags are case-insensitive (#SEO = #seo), but CamelCase improves readability (#BlackFriday vs #blackfriday). Use PascalCase for multi-word hashtags.

Mistake #12: Ignoring Style Guides

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.

JavaScript/TypeScript

camelCase for variables/functions, PascalCase for classes, UPPER_SNAKE_CASE for constants, kebab-case for file names.

Python

snake_case for variables/functions, PascalCase for classes, UPPER_SNAKE_CASE for constants.

C#

PascalCase for classes/methods, camelCase for parameters/local variables, UPPERCASE for constants (legacy).

Java

camelCase for methods/variables, PascalCase for classes, UPPER_SNAKE_CASE for constants.

PHP

PSR standards: camelCase for methods, PascalCase for classes, snake_case for variables (varies by framework).

SQL

UPPERCASE for keywords (SELECT, FROM, WHERE), snake_case for table/column names.

CSS

kebab-case for class names (.btn-primary), camelCase for JavaScript hooks (.jsSubmitButton).

Rust

snake_case for variables/functions, PascalCase for types/traits, SCREAMING_SNAKE_CASE for constants.

Frequently Asked Questions About Case Conversion

What's the difference between Title Case and Sentence Case?
Title Case capitalizes major words (nouns, verbs, adjectives) while leaving short words (a, an, the, of, to, for, with, and, but, or) lowercase unless at start/end. Example: "The Lord of the Rings" (title case). Sentence Case only capitalizes the first letter of the first word and proper nouns. Example: "The lord of the rings" (sentence case). Title case is used for headlines and book titles. Sentence case is used for blog posts and articles.
When should I use camelCase vs PascalCase vs snake_case?
camelCase (first word lowercase, subsequent words capitalized) for JavaScript variables, Java methods, Swift properties. PascalCase (every word capitalized) for C# classes, Java classes, React components, TypeScript interfaces. snake_case (words separated by underscores) for Python variables, Ruby variables, database columns, file names. Your choice depends entirely on the programming language and team convention.
Should I use kebab-case or snake_case for URLs?
Always use kebab-case (hyphens) for URLs. Google treats hyphens as word separators, so "best-seo-tools" is read as "best seo tools" (3 words). Underscores are treated as word joiners, so "best_seo_tools" is read as "bestseotools" (1 word). Hyphens also look cleaner and are more common on the web. kebab-case is the SEO industry standard for URL slugs.
Is writing in ALL CAPS bad for engagement?
Yes. Studies show all-caps text is perceived as shouting and reduces trust. Email subject lines in all caps have 30% lower open rates. Social media posts in all caps get 50% less engagement. However, uppercase is acceptable for: acronyms (NASA, CEO), short warnings (DANGER), environmental variables, and single-word emphasis (NEVER). Use uppercase sparingly for best results.
Does case sensitivity affect SEO?
Yes, for URLs. URLs are case-sensitive on many servers (Apache, Nginx). "example.com/SEO-Tools" and "example.com/seo-tools" could be different pages, causing duplicate content issues. Always use lowercase for URLs, file names, and directory names. Meta tags (titles, descriptions) can use mixed case for readability but consistency matters.
What's the best case for hashtags?
Use PascalCase for multi-word hashtags (also called CamelCase hashtags). Example: "#BlackFriday" is more readable than "#blackfriday". Hashtags are case-insensitive (#SEO = #seo), so capitalization doesn't affect discovery, but it improves readability for users. Avoid using all-caps hashtags — they look like shouting.
What case gives the best email open rates?
Sentence case subject lines consistently outperform Title Case and UPPERCASE. Studies show sentence case subject lines have 15-25% higher open rates. Example: "Your weekly SEO report is ready" vs "Your Weekly SEO Report Is Ready". Keep subject lines under 60 characters and avoid all-caps (spam trigger).
Does this tool work with non-English text?
Yes, but with limitations. The tool handles accented characters (é, ñ, ü) correctly. However, title case rules vary by language — German capitalizes all nouns, French has different rules. For non-English text, review the output manually. For programming cases (camelCase, snake_case), the tool works perfectly for any language using Latin script.
Does case affect mobile readability?
Significantly. UPPERCASE text takes 30-40% more horizontal space on mobile screens, causing more line breaks and harder scanning. Sentence case is most readable on mobile devices. For headlines, Title Case works well. Avoid long strings of uppercase text — they're difficult to read quickly on small screens.
Is this case converter really free?
Yes, completely free! No sign-up, no credit card, no hidden fees. No limits on how many times you convert text. We keep it free through non-intrusive advertising that respects your privacy. Your text never leaves your browser — we don't store or log anything you type. Use it for programming, writing, data cleaning, or any text transformation.

Transform Your Text Case Instantly

Free case converter for programmers, writers, and content creators. 8 formats, no sign-up required.

Explore All Text Tools