Text Case Converter

Paste or type your text below, then click any case button to instantly convert it. Copy the result with one click.

0 characters ยท 0 words ยท 0 lines

How to use

  • Paste your text
    Type or paste any text into the input box. The character, word, and line count updates automatically.
  • Click a case button
    Choose from 12 case types โ€” from everyday writing cases like Title Case to developer-friendly formats like camelCase and snake_case.
  • Copy the result
    Click the Copy button to copy the converted text to your clipboard instantly.
  • View all at once
    Expand "View All Conversions at Once" to see your text in every case format side by side โ€” handy for comparing options.

Case Types Explained

CaseExample
UPPERCASEHELLO WORLD
lowercasehello world
Title CaseHello World
Sentence caseHello world
camelCasehelloWorld
PascalCaseHelloWorld
snake_casehello_world
kebab-casehello-world
CONSTANT_CASEHELLO_WORLD
aLtErNaTiNghElLo WoRlD
iNVERSE cASEHELLo WORLd
esreveRdlrow olleh

What is Text Case Conversion?

Text case conversion is the process of changing the capitalization style of text. Different contexts require different cases โ€” formal writing uses Sentence case and Title Case, while programming languages use camelCase, snake_case, or CONSTANT_CASE to name variables, functions, and constants. This tool handles all of them instantly.

When to Use Each Case Type

CaseBest Used For
UPPERCASEHeadings, acronyms, emphasis, labels
lowercaseEmail addresses, URLs, general text normalization
Title CaseBook/article titles, page headings, proper nouns
Sentence caseNormal writing, blog posts, messages
camelCaseJavaScript variables and functions: myVariableName
PascalCaseClass names in OOP, React components: MyComponent
snake_casePython variables, database columns: user_first_name
kebab-caseCSS classes, HTML attributes, URLs: my-class-name
CONSTANT_CASEConstants in most languages: MAX_RETRY_COUNT

Frequently Asked Questions

What is camelCase?

camelCase writes compound words with no spaces, where each word after the first starts with a capital letter โ€” like the humps of a camel. Example: myVariableName. It's the standard naming convention for variables and functions in JavaScript, Java, and many other languages.

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalize each word. The difference is the first letter: camelCase starts with a lowercase letter (myVariable), while PascalCase (also called UpperCamelCase) starts with an uppercase letter (MyVariable). PascalCase is commonly used for class names and constructors.

What is snake_case used for?

snake_case separates words with underscores and keeps everything lowercase. It's the standard naming convention in Python for variables and functions, and is widely used for database column names and file names. Example: user_first_name, get_user_data.

What is kebab-case?

kebab-case separates words with hyphens โ€” like skewers on a kebab. It's used for CSS class names (.main-container), HTML data attributes (data-user-id), and URL slugs (/blog/my-first-post). It's not valid in most programming languages as a variable name since the hyphen is treated as a minus sign.

What is Title Case?

Title Case capitalizes the first letter of each major word. It's used for book titles, article headlines, page titles, and proper nouns. Short connecting words like "and," "or," "the," and "in" are typically not capitalized in formal title case โ€” this tool capitalizes every word for maximum compatibility across style guides.

What is Sentence case?

Sentence case capitalizes only the first letter of the first word in a sentence, plus proper nouns. It's the standard capitalization used in most everyday writing โ€” blog posts, messages, UI labels, and descriptions. It's easier to read than Title Case for long paragraphs.

Related Tools