Text Case Converter

Convert text between 13 different case formats including UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more. Everything runs in your browser.

0 words | 0 characters
Converted text will appear here...

When to Use Each Case

camelCase

JavaScript/TypeScript variables, function names

PascalCase

React components, class names, TypeScript types

snake_case

Python variables, Ruby, database columns

kebab-case

CSS classes, URL slugs, HTML attributes

CONSTANT_CASE

Environment variables, constants, config keys

Title Case

Headings, titles, button labels

Frequently Asked Questions

What is camelCase vs PascalCase?

In camelCase, the first word starts with a lowercase letter and each subsequent word starts with an uppercase letter (e.g., “myVariableName”). PascalCase is the same pattern but the first word also starts uppercase (e.g., “MyComponentName”). camelCase is the standard in JavaScript for variables and functions, while PascalCase is used for classes and React components.

What is the difference between snake_case and kebab-case?

snake_case uses underscores between words (e.g., “my_variable_name”) and is standard in Python, Ruby, and SQL. kebab-case uses hyphens (e.g., “my-css-class”) and is standard in CSS class names, URLs, and HTML data attributes. Both are lowercase.

Can I convert between programming naming conventions?

Yes. This tool intelligently splits input text on camelCase boundaries, underscores, hyphens, dots, slashes, and spaces. This means you can paste “myVariableName” and convert it directly to “my_variable_name” or “my-variable-name” without manually reformatting.

Is my text data safe?

Yes. All text conversion happens entirely in your browser using JavaScript string operations. No text is sent to any server. You can safely convert confidential text, code, and other sensitive content.