Case Converter

Free text case converter. Switch any text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and PascalCase instantly.

Quick answer

UPPERCASE makes every letter capital. lowercase makes every letter small. Title Case capitalizes each word's first letter. camelCase joins words and capitalizes each after the first. snake_case joins with underscores. kebab-case joins with hyphens.

Case Converter

Conversions

UPPERCASE
lowercase
Title Case
Sentence case
camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE

How it works

Eight common case formats applied to your input. Title Case capitalizes every word; Sentence case capitalizes only the first letter and after periods. Programming cases (camel, Pascal, snake, kebab, constant) split on spaces and punctuation, then re-join in the target format.

When to use it

Renaming files for consistency, formatting code variables, normalizing CSV column headers, fixing all-caps text someone sent you, generating CSS class names, or converting between programming style guides.

Common mistakes

Title case rules vary by style guide (AP Title Case lowercases short prepositions like "of", "the", "in"; this tool capitalizes every word for simplicity). For publishable copy, double-check against your style guide.

How the case converter works

Each conversion follows a simple rule applied character-by-character. Uppercase and lowercase use the standard ASCII case-mapping (extended for Unicode where applicable). Title case capitalizes the first letter of each word and lowercases the rest. Sentence case capitalizes only the first letter of each sentence. Programming-style cases (camelCase, PascalCase, snake_case, kebab-case) split the input into words on spaces, hyphens, or underscores, then rejoin with the appropriate separator and capitalization rule.

When to use it

Cleaning up data exports where one column is mixed case. Generating SEO-friendly URL slugs (kebab-case) from page titles. Renaming a database column from CamelCase to snake_case to match a style guide. Converting CONSTANT_CASE environment variables. Normalizing user-submitted form input to title case (names, addresses) before storage.

Common mistakes

Frequently asked questions

What's the difference between camelCase and PascalCase?

Both join words without separators, but camelCase keeps the first letter lowercase ('myVariable') while PascalCase capitalizes the first letter too ('MyVariable'). camelCase is conventional for variables and functions in JavaScript and Java; PascalCase is conventional for classes and types.

When should I use kebab-case vs. snake_case?

Kebab-case (my-variable) is conventional for URL slugs, CSS class names, and shell command arguments — anywhere hyphens are valid but underscores aren't. Snake_case (my_variable) is conventional in Python, Ruby, Rust, and database column names — anywhere identifiers can include underscores.

Does title case capitalize 'and' and 'the'?

It depends on your style guide. AP style and Chicago style both keep articles, short conjunctions, and short prepositions lowercase mid-title (a, an, the, and, but, or, of, in, on, at, to). Some styles capitalize prepositions over a certain length. The first and last words are always capitalized.