Converter

Case Converter

Convert text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more.

About text case formats and common questions

What is text case conversion?

Overview

Text case conversion changes the capitalization or word separator style of text. It can turn the same words into formats such as uppercase, lowercase, title case, camelCase, PascalCase, snake_case, kebab-case, and other common styles.

Different case formats are useful in different contexts. Writers often use title case or sentence case, while developers often use camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, or path/case for code, filenames, identifiers, routes, and configuration values.

Where it is used

  • Headings, titles, notes, messages, and article drafts
  • Variable names, function names, class names, and object properties
  • File names, folder names, URL paths, and route segments
  • CSS class names, data keys, labels, and structured text values
  • Cleaning pasted text with inconsistent capitalization

Key facts

  • Uppercase converts letters to capital letters.
  • Lowercase converts letters to small letters.
  • Title case capitalizes the main words in a phrase.
  • Sentence case usually capitalizes the first word of a sentence.
  • camelCase starts lowercase and capitalizes later words without spaces.
  • PascalCase capitalizes each word and removes spaces.
  • snake_case uses underscores between lowercase words.
  • kebab-case uses dashes between lowercase words.

Examples

Writing formats

Title case is commonly used for headings, labels, and titles when each important word should stand out.

Inputquick text formatting example
OutputQuick Text Formatting Example

JavaScript-style identifier

camelCase is often used for variables, object properties, and function names in many programming workflows.

Inputuser profile image
OutputuserProfileImage

URL or CSS-friendly format

kebab-case is useful for readable URLs, route names, CSS classes, and file names.

InputCase Converter Tool
Outputcase-converter-tool

Database or configuration key

snake_case is commonly used for database columns, configuration keys, and structured data fields.

InputAccount Created Date
Outputaccount_created_date

Common mistakes

  • Using title case for code identifiers where camelCase, PascalCase, or snake_case would be expected.
  • Using spaces in file names, URL paths, or identifiers when separators such as dashes or underscores are safer.
  • Changing case without checking whether acronyms, brand names, or technical terms still look correct.
  • Assuming every programming language or framework follows the same naming convention.

Limitations

  • Automatic case conversion may not perfectly handle names, acronyms, abbreviations, or language-specific capitalization rules.
  • Converting text to formats such as camelCase or snake_case may remove punctuation or spacing that was meaningful in the original text.
  • Title case rules can vary between style guides, so the result may still need manual review for formal publishing.

Technical details

camelCase and PascalCase

camelCase and PascalCase both remove spaces between words. The difference is the first letter: camelCase starts with a lowercase letter, while PascalCase starts with an uppercase letter.

These formats are often used when a value needs to be readable but cannot contain spaces.

Separator-based cases

snake_case, kebab-case, dot.case, and path/case use visible separators between words.

These formats are useful when the result must stay readable in filenames, URLs, configuration keys, or structured text.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase first word, such as userProfileImage. PascalCase starts each word with an uppercase letter, such as UserProfileImage.

Which case format is best for URLs?

kebab-case is usually a good choice for URLs because it uses lowercase words separated by dashes, making the result readable and easy to copy.

Which case format is best for variable names?

It depends on the programming language and project style. camelCase, PascalCase, and snake_case are all common choices in different codebases.

Can case conversion change the meaning of text?

It can. Acronyms, names, abbreviations, and brand terms may need manual checking after conversion.

Why use snake_case instead of spaces?

snake_case keeps words readable while avoiding spaces, which makes it useful for identifiers, database fields, configuration keys, and file names.

Private by design

Your input is processed locally in this browser and is not uploaded to MevoLab.

lowercase

Input text

Converted text

Guide

How to use the Case Converter

Use this tool to quickly change text into the format you need for writing, code, filenames, URLs, headings, labels, and structured data.

Convert common writing cases

Change text into uppercase, lowercase, title case, or sentence case for articles, headings, notes, messages, and general editing tasks.

Format text for code

Convert words into camelCase, PascalCase, snake_case, or kebab-case when preparing variable names, file names, CSS classes, routes, or identifiers.

Clean up pasted text

Paste text with inconsistent capitalization and convert it into a consistent case format without manually editing every word.

Copy the converted result

After choosing a case format, review the converted output and copy it for use in documents, websites, apps, spreadsheets, or development workflows.