Result
Advertisement

Text Case Types Explained

Different situations call for different text cases. Here is a complete guide to each case type and when to use it:

Case TypeExampleCommon Uses
UPPERCASETHE QUICK BROWN FOXHeadlines, acronyms, emphasis, legal documents
lowercasethe quick brown foxURLs, email addresses, hashtags, casual text
Title CaseThe Quick Brown FoxBook titles, article headlines, headings
Sentence caseThe quick brown foxRegular writing, body text, descriptions
camelCasetheQuickBrownFoxJavaScript variables, Java methods, JSON keys
PascalCaseTheQuickBrownFoxClass names, C# methods, React components
snake_casethe_quick_brown_foxPython variables, Ruby, database columns
kebab-casethe-quick-brown-foxURLs, CSS classes, file names
tOGGLE cASEtHE QUICK BROWN FOXReversing accidental caps lock
aLtErNaTiNgtHe QuIcK bRoWn FoXMemes, sarcasm (SpongeBob meme text)

Title Case Rules: Which Words to Capitalize

Title case follows specific capitalization rules. Here's what to capitalize and what to leave lowercase:

Capitalize:
  • First and last word (always)
  • Nouns, verbs, adjectives, adverbs
  • Pronouns (including "It")
  • Subordinating conjunctions (Because, Although)
  • Words with 4+ letters
Lowercase:
  • Articles: a, an, the
  • Short conjunctions: and, but, or, nor
  • Short prepositions: in, on, at, to, for, of, by
  • The word "to" in infinitives

Our title case converter follows AP/Chicago style conventions. Edge cases: hyphenated words capitalize both parts ("Self-Driving Car"), and the word after a colon is always capitalized.

Keyboard Shortcuts for Changing Case

If you need to change text case in other applications, these shortcuts can help:

ApplicationWindowsMacCycles Through
Microsoft WordShift + F3Fn + Shift + F3UPPER, lower, Title
Google DocsFormat > Text > CapitalizationSame menuUPPER, lower, Title
VS CodeCtrl+Shift+P > "Transform"Cmd+Shift+P > "Transform"UPPER, lower, Title, snake, camel
PagesN/AFormat > Font > CapitalizationUPPER, lower, Title, Small Caps

For quick, universal case conversion without any software, just paste your text into our tool above. It works on any device with a web browser.

Unicode References

This tool uses Unicode characters from the following blocks:

For more details, see the Unicode Standard.

Frequently Asked Questions

A case converter changes the capitalization of text. It can convert to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and other formats without retyping.
Paste your text into the box above and click the "Title Case" button. It capitalizes the first letter of each major word while keeping minor words (a, an, the, in, on) lowercase.
Sentence case capitalizes only the first word and proper nouns. Title case capitalizes the first letter of most words. Sentence case is for regular writing; title case is for headlines and titles.
Select your text and press Shift+F3 (Windows) or Fn+Shift+F3 (Mac) to cycle through uppercase, lowercase, and title case. Or use Format > Change Case in the menu.
camelCase is a naming convention where each word starts with a capital letter except the first: myVariableName. It is standard for JavaScript, Java, and many other programming languages.
snake_case replaces spaces with underscores and uses all lowercase: my_variable_name. It is standard in Python, Ruby, and database column names.

Technical Reference: Unicode Case Mapping

Understanding Unicode case mapping rules helps explain why certain characters may not convert as expected across different systems. Below are key Unicode case folding rules and browser compatibility notes.

Unicode Case Folding Rules

Unicode case folding is the process of converting characters to a common case for case‑insensitive comparison. The following table highlights some notable mappings:

LowercaseUppercaseUnicode Code PointsNotes
ßSSU+00DF → U+0053 U+0053German sharp s, folds to two characters
ıIU+0131 → U+0049Dotless i (Turkish)
ſSU+017F → U+0053Long s (historical)
ϗ;U+03D7 → U+037EKai symbol, maps to Greek question mark
FFIU+FB03 → U+0046 U+0046 U+0049Ligature expands to three characters

Browser Compatibility Notes

Modern browsers implement Unicode case conversion according to the ECMAScript specification, but subtle differences may exist:

  • Chrome/Edge (Blink): Full support for Unicode 15.0 case mapping; handles most edge cases correctly.
  • Firefox (Gecko): Generally compliant, but some historical ligatures may not fold as expected.
  • Safari (WebKit): Good coverage, but Turkish dotless i (ı/I) behavior depends on locale settings.
  • Node.js & JavaScript engines: Follow the Unicode version embedded in the engine (V8, SpiderMonkey, JavaScriptCore).

Our tool uses the browser's native String.prototype.toUpperCase() and String.prototype.toLowerCase() methods, ensuring compatibility with the user's current environment. For case‑insensitive comparisons, consider using String.prototype.localeCompare() with the sensitivity: 'accent' option.

Further Reading

How Unicode Case Conversion Works: Technical Deep Dive

Understanding the technical foundations of case conversion helps you anticipate edge cases and work effectively with text across different languages and platforms.

Unicode Case Folding Algorithms

Unicode defines three main types of case folding for text processing:

  • Simple Case Folding: One-to-one character mapping (e.g., 'a' → 'A', 'A' → 'a')
  • Full Case Folding: One-to-many or many-to-one mappings for special cases (e.g., German sharp 'ß' → 'SS' in uppercase)
  • Turkish Case Folding: Language-specific handling of dotted/dotless 'i' and 'I'

Language-Specific Case Mapping Rules

Different languages have unique case conversion requirements:

LanguageSpecial CaseExampleNotes
GermanSharp s (ß)'straße' → 'STRASSE'Uppercase expands to two characters
TurkishDotted/dotless i'ı' → 'I', 'i' → 'İ'Requires locale-aware conversion
GreekFinal sigma (ς)'ς' → 'Σ' at word endContext-dependent form
DutchIJ ligature'ij' → 'IJ' at word startTreated as single letter in uppercase

Code Point Ranges for Different Scripts

Unicode organizes characters into blocks by script and language:

  • Basic Latin (U+0041-005A, U+0061-007A): English alphabet
  • Latin-1 Supplement (U+00C0-00FF): Western European accented characters
  • Cyrillic (U+0400-04FF): Russian, Ukrainian, Bulgarian alphabets
  • Greek (U+0370-03FF): Modern Greek alphabet
  • Arabic (U+0600-06FF): Arabic script with contextual shaping

Performance Considerations for Large Text

When processing large volumes of text, case conversion performance matters:

  • Memory Usage: Simple case mapping is O(n) in memory
  • Algorithm Complexity: Full case folding can be O(n²) in worst cases
  • Locale Awareness: Turkish/Greek-specific rules add overhead
  • Batch Processing: For large datasets, consider streaming or chunked processing

Security Implications

Case conversion has security implications in certain contexts:

  • Case-Insensitive Comparisons: Can lead to homograph attacks if not properly normalized
  • Input Validation: Always validate after case normalization, not before
  • SQL Injection: Case conversion alone does not prevent SQL injection
  • Cross-Site Scripting (XSS): Case folding can bypass some XSS filters

Practical Case Conversion Examples

People usually search for a case converter because they have a real formatting problem to solve, not because they want a definition of uppercase or lowercase. These examples mirror the most common real-world use cases across social media, writing, spreadsheets, and coding.

ScenarioInputOutputWhy it helps
Instagram or LinkedIn headlinemy portfolio is now liveMy Portfolio Is Now LiveTitle case makes short headlines look cleaner and more deliberate.
Fix accidental caps locktHIS EMAIL SUBJECT IS WRONGThis email subject is wrongQuickly normalizes copy without retyping.
JavaScript variable nameuser profile imageuserProfileImageUseful when moving plain text into camelCase naming conventions.
Python or SQL field nameOrder Total Amountorder_total_amountHelps standardize naming for scripts, datasets, and exports.
Spreadsheet cleanupjANE DOEJane DoeMakes names and labels easier to read before sharing or importing.

Where a Case Converter Is Most Useful

Case conversion shows up in more workflows than people expect. A simple case changer is often faster than hunting for the right menu option inside another app.

  • Students and writers: Clean up essay headings, article titles, and pasted notes.
  • Developers: Convert labels or specs into camelCase, PascalCase, snake_case, or kebab-case.
  • Marketing teams: Standardize headlines, email subject lines, and campaign naming.
  • Spreadsheet and ops work: Normalize imported names, tags, product labels, and CSV column values.
  • Social media publishing: Test whether sentence case, title case, or all caps reads best before posting.

Programming Language Naming Conventions Reference

Different programming languages have established naming conventions for variables, functions, classes, and constants. Understanding these conventions helps you write code that follows community standards and is easier for other developers to read.

LanguageVariablesFunctions/MethodsClassesConstantsExample
Pythonsnake_casesnake_casePascalCaseSCREAMING_SNAKE_CASEuser_name, calculate_total(), UserProfile, MAX_RETRIES
JavaScriptcamelCasecamelCasePascalCaseSCREAMING_SNAKE_CASEuserName, calculateTotal(), UserProfile, MAX_RETRIES
JavacamelCasecamelCasePascalCaseSCREAMING_SNAKE_CASEuserName, calculateTotal(), UserProfile, MAX_RETRIES
C#camelCasePascalCasePascalCasePascalCaseuserName, CalculateTotal(), UserProfile, MaxRetries
Rubysnake_casesnake_casePascalCaseSCREAMING_SNAKE_CASEuser_name, calculate_total(), UserProfile, MAX_RETRIES
GocamelCasecamelCasePascalCaseSCREAMING_SNAKE_CASEuserName, calculateTotal(), UserProfile, MAX_RETRIES
SwiftcamelCasecamelCasePascalCasecamelCaseuserName, calculateTotal(), UserProfile, maxRetries
PHPcamelCasecamelCasePascalCaseSCREAMING_SNAKE_CASEuserName, calculateTotal(), UserProfile, MAX_RETRIES

Key Takeaways

  • camelCase is the most common convention for variables and functions across JavaScript, Java, Go, Swift, and PHP.
  • snake_case dominates in Python and Ruby ecosystems for variables and functions.
  • PascalCase is nearly universal for class names across all major languages.
  • SCREAMING_SNAKE_CASE is the standard for constants in most languages, except C# (PascalCase) and Swift (camelCase).
  • kebab-case is primarily used for URLs, CSS class names, and file names, not typically in source code.

Platform-Specific Tips for Word, Docs, Excel, and Code Editors

If you only need a one-off fix, built-in shortcuts can work. But if you need multiple formats, want consistent results, or are switching between writing and code conventions, an online case converter is usually faster.

Microsoft Word

Word supports case changes with Shift + F3 on Windows and usually Fn + Shift + F3 on Mac keyboards. It cycles through uppercase, lowercase, and title-style capitalization. That is useful for documents, but it does not help with developer formats like camelCase or snake_case.

Google Docs

In Google Docs, use Format > Text > Capitalization to switch between lowercase, uppercase, and title case. This is fine for document editing, but it is slower when you are testing several variants at once.

Excel and Google Sheets

Spreadsheet users often rely on formulas like UPPER(), LOWER(), and PROPER(). Those formulas are powerful when you want repeatable transformations across a whole column. For quick manual cleanup before pasting data into a sheet, a browser-based case changer is simpler.

VS Code and other code editors

Editors like VS Code can transform selected text via the command palette, but plain writing often needs to be cleaned before it becomes a variable name or class name. That is where converting raw phrases into camelCase, PascalCase, or kebab-case becomes handy.

Web styling with CSS

If you only need a visual transformation on a webpage, CSS text-transform can change how text looks without changing the stored content. That is different from this tool, which changes the actual text you can copy and paste into documents, apps, or source code.

Practical Application Scenarios: Real-World Uses of Case Conversion

Case converters are useful in many real-world situations. Here are practical examples of how different professionals use case conversion tools:

Content Editing & Writing

  • Academic Paper Formatting: Convert titles to APA/MLA title case: "the effects of climate change on biodiversity" → "The Effects of Climate Change on Biodiversity"
  • Blog Post Headlines: Standardize headlines across a content calendar: "how to start a blog in 2026" → "How to Start a Blog in 2026"
  • Social Media Posts: Create attention-grabbing text: "new product launch today!" → "NEW PRODUCT LAUNCH TODAY!"
  • Email Subject Lines: Professional formatting: "monthly report for q1 2026" → "Monthly Report for Q1 2026"

Programming & Development

  • Code Refactoring: Convert between naming conventions: "user_first_name" → "userFirstName" (camelCase) → "UserFirstName" (PascalCase)
  • Database Column Names: Standardize database schema: "CustomerID" → "customer_id" (snake_case for SQL databases)
  • API Endpoint Naming: Consistent REST API design: "getUserProfile" → "get-user-profile" (kebab-case for URLs)
  • Configuration Files: Format environment variables: "api_key" → "API_KEY" (SCREAMING_SNAKE_CASE)

Data Processing & Analysis

  • CSV/Excel Data Cleanup: Standardize imported data: "First Name" → "first_name" (consistent column headers)
  • Database Record Normalization: Clean user input: "JOHN DOE" → "John Doe" (proper name formatting)
  • Report Generation: Format report sections: "executive summary" → "EXECUTIVE SUMMARY" (section headers)
  • Data Validation: Check case-sensitive comparisons: "Admin" vs "admin" (user role validation)

Social Media & Online Presence

  • Username/Handle Formatting: Create consistent branding: "companyname" → "CompanyName" (professional handles)
  • Bio/Profile Text: Highlight key information: "software developer at tech corp" → "SOFTWARE DEVELOPER AT TECH CORP"
  • Hashtag Consistency: Standardize campaign hashtags: "#summersale2026" → "#SummerSale2026" (readable hashtags)
  • Platform Requirements: Adapt to different platforms: Instagram (title case), Twitter (sentence case), LinkedIn (professional formatting)

Before/After Examples

Example 1: Programming Variable Conversion

Before: "maximum_retry_count"
After: "maximumRetryCount" (camelCase) → "MaximumRetryCount" (PascalCase) → "MAXIMUM_RETRY_COUNT" (constant)

Example 2: Document Title Formatting

Before: "a comprehensive guide to seo best practices in 2026"
After: "A Comprehensive Guide to SEO Best Practices in 2026" (title case)

Example 3: Database Column Standardization

Before: "CustomerFirstName", "customer_last_name", "CUSTOMEREMAIL"
After: "customer_first_name", "customer_last_name", "customer_email" (consistent snake_case)

User Persona Applications

  • Developers: Code formatting, API documentation, configuration files
  • Writers: Title case, headline optimization, manuscript formatting
  • Students: Academic formatting, report standardization, citation styles
  • Social Media Managers: Platform-specific formatting, hashtag consistency, brand voice
  • Data Analysts: Data cleanup, report generation, database normalization