Uppercase to Lowercase Converter

Convert text between uppercase, lowercase, title case, camelCase, snake_case, kebab-case, and 12 total case styles with text statistics and composition visual.

Text Case Converter

Characters
0
Total characters including spaces
Words
0
Whitespace-separated
Uppercase
0
โ€”
Lowercase
0
โ€”
Digits
0
โ€”
Special / Spaces
0 / 0
Non-alphanumeric + whitespace counts

All Conversions

Case StyleResult
UPPERCASEโ€”
lowercaseโ€”
Title Caseโ€”
Sentence caseโ€”
camelCaseโ€”
PascalCaseโ€”
snake_caseโ€”
kebab-caseโ€”
CONSTANT_CASEโ€”
dot.caseโ€”
tOGGLE cASEโ€”
aLtErNaTiNg CaSeโ€”

Naming Convention Guide

ConventionExampleUsed In
camelCasemyVariableJavaScript, Java, TypeScript variables
PascalCaseMyComponentClass names, React components, C# methods
snake_caseuser_namePython, Ruby, Rust, database columns
kebab-casemy-componentCSS classes, URLs, HTML attributes
CONSTANT_CASEMAX_RETRIESConstants in Java, C, Python, JS
dot.caseconfig.valueProperty paths, package names
Planning notes, formulas, and examples

About the Uppercase to Lowercase Converter

Text case conversion is one of those tasks developers, writers, and data professionals perform hundreds of times โ€” renaming a CSS class from camelCase to kebab-case, formatting a headline to Title Case, normalizing database column names to snake_case, or simply converting an accidentally caps-locked paragraph to lowercase. Each language and platform has its own naming conventions, and switching between them by hand is tedious and error-prone.

This converter handles 12 case styles including everyday transformations (uppercase, lowercase, title case, sentence case) and developer-focused naming conventions (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case). It intelligently splits words from any input format โ€” detecting camelCase word boundaries, underscores, hyphens, and dots โ€” so input like "myVariableName" correctly becomes "my-variable-name" or "MY_VARIABLE_NAME."

Beyond conversion, the converter provides character statistics (uppercase/lowercase ratio, digit count, special characters), a visual composition bar, and side-by-side results for all 12 styles. Whether you're refactoring code, preparing copy, cleaning data, or just fixing caps lock, everything is one paste away.

When This Page Helps

Converting text by hand is tedious when you are normalizing identifiers, cleaning pasted content, or refactoring names across languages and frameworks. This converter auto-detects word boundaries, shows all 12 case styles at once, and adds character statistics so you can choose the right convention without guessing.

How to Use the Inputs

  1. Type or paste your text into the input area, or click a preset for common examples.
  2. Select your target case style from the dropdown (12 options available).
  3. Read the converted text in the highlighted result box โ€” click "Copy to clipboard" to use it.
  4. Check the character statistics: total characters, words, uppercase/lowercase ratio.
  5. View the composition bar for a visual breakdown of character types.
  6. Scroll to the "All Conversions" table to see your text in all 12 case styles at once.
  7. Refer to the naming convention guide to know which style each language/platform expects.
Formula used
Word splitting: detect camelCase boundaries (lowercaseโ†’uppercase), underscores, hyphens, dots, and whitespace โ†’ word array. camelCase: first word lowercase, subsequent words capitalized, no separator. PascalCase: all words capitalized, no separator. snake_case: all lowercase, joined with underscore. kebab-case: all lowercase, joined with hyphen. CONSTANT_CASE: all uppercase, joined with underscore.

Example Calculation

Result: my-variable-name

The camelCase input "myVariableName" is split at uppercase boundaries into ["my", "Variable", "Name"], lowercased, and joined with hyphens to produce "my-variable-name."

Tips & Best Practices

  • Use camelCase for JavaScript/TypeScript variables and PascalCase for React components and classes.
  • Database columns conventionally use snake_case (user_first_name) for portability across SQL dialects.
  • URLs and CSS classes use kebab-case โ€” it is the most readable in URLs.
  • When refactoring code, convert names in bulk here, then use find-and-replace in your editor.
  • Title Case capitalizes every word โ€” AP style actually lowercases short prepositions, but this converter capitalizes all.

When to Use Each Case Style

Different parts of a software project use different conventions. Consistency within each layer is more important than any single "right" style:

| Layer | Convention | Example | |---|---|---| | JavaScript variables | camelCase | getUserName | | React components | PascalCase | UserProfile | | Python functions | snake_case | get_user_name | | CSS/HTML | kebab-case | user-profile | | Constants | CONSTANT_CASE | MAX_RETRY_COUNT | | Database columns | snake_case | first_name | | REST API endpoints | kebab-case | /api/user-profiles | | Environment variables | CONSTANT_CASE | DATABASE_URL |

Title Case Rules

Standard title case (Chicago Manual of Style) capitalizes all words except short articles, prepositions, and conjunctions (a, an, the, in, on, for, and, but, or, of) unless they start a sentence. This converter capitalizes every word (sentence-position-agnostic title case) โ€” for proper editorial title case, a style-aware tool is needed.

Alternating and Toggle Case

Toggle case inverts each character's current case (Hello โ†’ hELLO). Alternating case applies a pattern regardless of input (aLtErNaTiNg). These are mainly used for memes, stylistic text, and the well-known "mocking SpongeBob" format. They have no standard programming use.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It detects camelCase boundaries (lowercase followed by uppercase), PascalCase runs, and splits on underscores, hyphens, dots, and whitespace. This means "myVariableName", "my_variable_name", and "my-variable-name" all produce the same word list.