Text Case Converter

Convert text between different cases: UPPER, lower, Title, camelCase, snake_case, kebab-case, PascalCase, and more.

0 characters | 0 words
Ad space - AdSense banner will appear here

About Text Case Converter

This free online text case converter helps you quickly transform text between different casing styles used in programming, writing, and design. All conversions run instantly in your browser.

Supported Cases

Case Example Used For
UPPERCASEHELLO WORLDConstants, headings, emphasis
lowercasehello worldURLs, file names, emails
Title CaseHello WorldTitles, headings, labels
Sentence caseHello worldRegular sentences, descriptions
camelCasehelloWorldJavaScript variables, Java methods
PascalCaseHelloWorldClass names, React components
snake_casehello_worldPython, Ruby, database columns
kebab-casehello-worldURLs, CSS classes, file names
CONSTANT_CASEHELLO_WORLDConstants, env variables
dot.casehello.worldObject properties, config keys
path/casehello/worldFile paths, URL segments

FAQ

What is camelCase?

camelCase is a naming convention where the first word is lowercase and subsequent words start with uppercase letters (e.g., myVariableName). It's the standard convention for variables and functions in JavaScript, TypeScript, and Java.

What's the difference between camelCase and PascalCase?

In camelCase, the first letter is lowercase (myFunction). In PascalCase, the first letter is also uppercase (MyFunction). PascalCase is typically used for class names in most languages and component names in React.

When should I use snake_case vs kebab-case?

snake_case is the standard in Python, Ruby, and SQL/database column names. kebab-case is preferred for CSS class names, HTML attributes, URLs, and file names. Most style guides are specific about which to use in each context.

How does the converter handle multi-line text?

For programming cases (camelCase, snake_case, etc.), the converter treats each line independently and converts each line separately. For text cases (UPPER, lower, Title), it converts the entire text while preserving line breaks.