Free Online Case Converter

Convert any text between camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case and 6 more naming conventions — all at once, instantly.

Auto-detects camelCase / PascalCase / snake_case / kebab-case / spaces / dots

camelCase

First word lowercase, subsequent words capitalized

PascalCase

Every word capitalized (UpperCamelCase)

snake_case

All lowercase, underscore separated

SCREAMING_SNAKE_CASE

All uppercase, underscore separated

kebab-case

All lowercase, hyphen separated

COBOL-CASE

All uppercase, hyphen separated

Train-Case

Each word capitalized, hyphen separated

flatcase

All lowercase, no separator

UPPERCASE

All uppercase

lowercase

All lowercase

Title Case

Each word capitalized, space separated

Sentence case

First word capitalized only

Supported Naming Conventions

FormatExampleTypical Usage
camelCasehelloWorldJS/TS variables, function names
PascalCaseHelloWorldClass names, React components
snake_casehello_worldPython variables, database columns
SCREAMING_SNAKE_CASEHELLO_WORLDConstants, environment variables
kebab-casehello-worldURLs, HTML attributes, CSS classes
COBOL-CASEHELLO-WORLDCOBOL language identifiers
Train-CaseHello-WorldHTTP headers
flatcasehelloworldPackage names, some database naming
Title CaseHello WorldHeadings, UI labels
Sentence caseHello worldSentences, description text

Smart Tokenization

The converter automatically detects your input format and splits it into tokens:

  1. Insert a space before uppercase letters following lowercase (handles camelCase / PascalCase)
  2. Replace delimiters -, _, ., / with spaces
  3. Strip remaining non-alphanumeric characters
  4. Split on whitespace and reassemble in the target format

So whether you paste myVariableName, my-variable-name, or MY_VARIABLE_NAME, it converts correctly to any target format.

Common Use Cases

  • Copy snake_case database column names into JavaScript as camelCase
  • Normalize API field names to a consistent naming convention
  • Refactor variable names across a codebase
  • Convert English titles to URL slugs (kebab-case)
  • Generate environment variable names (SCREAMING_SNAKE_CASE)

FAQ

Does it support non-ASCII characters?

Tokenization is based on ASCII letters and common delimiters. Non-ASCII characters are stripped — add them back manually if needed.

How are consecutive uppercase letters handled?

XMLParser is split into two tokens: XML and Parser. Consecutive uppercase sequences are treated as a single word.

Are numbers preserved?

Yes. Numeric characters are kept in place within their token and are not removed.