Text Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case and more, instantly.
Input
paste or type · or drop a .txt file3 words
camelCasehelloWorldExample
PascalCaseHelloWorldExample
snake_casehello_world_example
SCREAMING_SNAKE_CASEHELLO_WORLD_EXAMPLE
kebab-casehello-world-example
Title CaseHello World Example
UPPERCASEHELLO WORLD EXAMPLE
lowercasehello world example
dot.casehello.world.example
Auto-detects camelCase, PascalCase, snake_case, kebab-case, spaces and mixed input
When to use each case
Seven conventions cover almost everything you'll touch as a developer.
camelCaseJS/TS variables, functions, object keys
PascalCaseClass names, React components, TS types
snake_casePython, Ruby, database columns
SCREAMING_SNAKEConstants, environment variables
kebab-caseCSS classes, HTML attributes, URL slugs
Title CaseHeadings and proper nouns
dot.caseConfig keys (e.g. logging.level)
How auto-detection works
The converter parses any input format into a sequence of words, then re-formats them into every target case. It splits on spaces, underscores, hyphens, dots, slashes, and colons.
For camelCase and PascalCase input, it inserts a split point before each uppercase letter following a lowercase one (e.g. "myVariableName" → ["my", "variable", "name"]) and handles acronyms (e.g. "parseHTMLString" → ["parse", "HTML", "string"]). Mixed inputs like "my-Variable_name" are fully supported.
Case conventions by language
The same case can carry different meaning depending on the ecosystem.
JS / TScamelCase vars/fns, PascalCase classes, SCREAMING constants
Pythonsnake_case vars/fns, PascalCase classes, SCREAMING constants
CSSkebab-case classes and custom properties (--my-color)
SQLUPPER_SNAKE keywords by convention, snake_case tables/columns
GoPascalCase exported, camelCase unexported
Rustsnake_case fns/vars, PascalCase types/traits