Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, and more.
All conversions happen in your browser. No data is sent to our servers - see why that matters. Share links encode your input in the URL itself; nothing is stored on a server. Press Cmd/Ctrl + Enter to convert.
How to Convert Text Case
Type or paste text, identifiers, or one phrase per line. The converter splits words on spaces, underscores, hyphens, and capital letters, then outputs every common case style at once - just copy the block you need.
Naming Conventions by Language
JavaScript and Java prefer camelCase for variables and PascalCase for classes. Python and Rust use snake_case with SCREAMING_SNAKE_CASE constants. CSS properties, URLs, and CLI flags use kebab-case. Moving data between these ecosystems is the most common reason to convert case.
Frequently Asked Questions
Which case styles are supported?
camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE (constants), kebab-case, Title Case, lowercase, and UPPERCASE - all generated at once so you can copy the one you need.
Can it convert from any style to any style?
Yes. The converter detects word boundaries from spaces, underscores, hyphens, and camelCase humps, so you can paste an identifier in any style and get every other style back.
Can I convert multiple identifiers at once?
Yes. Put one identifier or phrase per line and each line is converted independently within every style block.
When do developers need case conversion?
When translating between language conventions - JSON camelCase to Python snake_case, CSS kebab-case to JS camelCase, database column names to class properties, or environment variable CONSTANT_CASE.