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
—
First word lowercase, subsequent words capitalized
—
Every word capitalized (UpperCamelCase)
—
All lowercase, underscore separated
—
All uppercase, underscore separated
—
All lowercase, hyphen separated
—
All uppercase, hyphen separated
—
Each word capitalized, hyphen separated
—
All lowercase, no separator
—
All uppercase
—
All lowercase
—
Each word capitalized, space separated
—
First word capitalized only
Supported Naming Conventions
| Format | Example | Typical Usage |
|---|---|---|
| camelCase | helloWorld | JS/TS variables, function names |
| PascalCase | HelloWorld | Class names, React components |
| snake_case | hello_world | Python variables, database columns |
| SCREAMING_SNAKE_CASE | HELLO_WORLD | Constants, environment variables |
| kebab-case | hello-world | URLs, HTML attributes, CSS classes |
| COBOL-CASE | HELLO-WORLD | COBOL language identifiers |
| Train-Case | Hello-World | HTTP headers |
| flatcase | helloworld | Package names, some database naming |
| Title Case | Hello World | Headings, UI labels |
| Sentence case | Hello world | Sentences, description text |
Smart Tokenization
The converter automatically detects your input format and splits it into tokens:
- Insert a space before uppercase letters following lowercase (handles camelCase / PascalCase)
- Replace delimiters
-,_,.,/with spaces - Strip remaining non-alphanumeric characters
- 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.