Text Case

Free online text case converter. Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and kebab-case. All processing is local and private.

Input Text
Output

How to Use Text Case

1

Enter Your Text

Type or paste the text you want to convert into the input panel.

2

Choose a Case Format

Select from UPPERCASE, lowercase, Title Case, camelCase, snake_case, or kebab-case. Each format serves a different purpose in programming and writing.

3

Copy the Result

The converted text appears in the output panel. Copy it and use it in your code, documentation, or wherever needed.

Examples

CaseOutput for "{}"
UPPERCASEHELLO WORLD EXAMPLE
lowercasehello world example
Title CaseHello World Example
camelCasehelloWorldExample
snake_casehello_world_example
kebab-casehello-world-example

Frequently Asked Questions

What is camelCase?

camelCase is a naming convention where the first word is lowercase and each subsequent word starts with an uppercase letter (e.g., myVariableName). It is commonly used for variable and function names in JavaScript, Java, and many other languages.

What is snake_case?

snake_case uses all lowercase letters with underscores between words (e.g., my_variable_name). It is the standard naming convention in Python, Ruby, and for database column names. It is also widely used in configuration files and APIs.

What is kebab-case?

kebab-case uses all lowercase letters with hyphens between words (e.g., my-variable-name). It is commonly used in CSS class names, URLs, and HTML attributes. It cannot be used directly as a variable name in most programming languages because hyphens are interpreted as minus signs.

When should I use Title Case?

Title Case capitalizes the first letter of each word. Use it for headings, titles, proper names, and user interface labels. It is not typically used in code but is common in content and documentation.

Naming Conventions in Programming

Different programming languages and frameworks have different naming conventions. Using the correct case format for your language improves code readability and follows community standards.

Language Preferences

  • camelCase — JavaScript, Java, TypeScript, Go
  • snake_case — Python, Ruby, Rust, PHP
  • kebab-case — CSS, HTML, URLs, CLI arguments
  • PascalCase — C#, .NET, React components

Related Tools

Related Articles