String Case Converter
Convert text between camelCase, snake_case, kebab-case, and more.
About the String Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more. Every language and format has its own convention, and renaming identifiers by hand when moving between them is tedious and error-prone.
How to use it
- 1 Paste your text or identifier into the input.
- 2 Every case variant is generated at once.
- 3 Pick the convention your target language uses.
- 4 Copy the result.
What it does
- camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, dot.case and path/case
- All variants computed simultaneously
- Handles multi-word input and existing separators
- Batch conversion of multiple lines
Frequently asked questions
Is my text sent anywhere?
No. Every calculation happens locally in your browser using JavaScript. Nothing you paste is uploaded, logged, or stored on a server, which makes the tool safe to use with production data, credentials, and customer records.
Which case convention should I use?
Follow the language, not personal preference. JavaScript and Java use camelCase for variables and PascalCase for classes; Python and Rust use snake_case; CSS and URLs use kebab-case; constants are CONSTANT_CASE nearly everywhere. Consistency within a codebase matters more than which one you pick.
What is the difference between camelCase and PascalCase?
Only the first letter. camelCase starts lowercase (userName), PascalCase starts uppercase (UserName). PascalCase is also called upper camel case, and most languages reserve it for types, classes, and components.
How are acronyms handled?
Acronyms are the genuinely ambiguous case — HTTPResponse or HttpResponse are both defensible. Most modern style guides, including Google's, treat an acronym as a normal word and produce HttpResponse, because it makes word boundaries unambiguous when converting between cases.