Aa

Case Converter

Convert between camelCase, snake_case and more — 100% in your browser, nothing leaves your machine

Choose a case above to convert your text.

Frequently Asked Questions

camelCase is the standard for variables and function names in JavaScript, TypeScript, and Java. PascalCase is reserved for classes, types, and React components (e.g. UserProfile), while CONSTANT_CASE is typically used for top-level constants (e.g. MAX_RETRY_COUNT).
Python's official style guide (PEP 8) recommends snake_case for variables and function names, and most SQL databases follow the same convention for column and table names. It's a readability preference baked into each ecosystem's tooling and linters, not a technical requirement.
kebab-case shows up in URLs, HTML attributes, CSS class names, and file names — contexts where underscores and camelCase can be harder to read or aren't valid syntax (for example, hyphens are the standard word separator in URL slugs and CSS classes like nav-bar-item).
It splits input on spaces, hyphens, and underscores, and also detects camelCase/PascalCase humps (a lowercase or digit followed by an uppercase letter, like in userID or getUserName) before converting to the target case. This means you can paste text in almost any case style and it will still convert correctly.
Yes. All conversion happens instantly in your browser using JavaScript — nothing you type or paste is sent to a server, logged, or stored anywhere, so it's safe to use with production code, internal naming, or anything else you don't want leaving your machine.