Developer case converter
Switch identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case in one tap.
Programmer-friendly case conversion
Paste an identifier and convert it between the naming conventions programmers use — camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — without retyping it by hand. Handy when you're moving a name between languages, matching a codebase's style, or turning a label into a variable.
Which case goes where
camelCase (firstNameLast) is standard for variables and functions in JavaScript, Java and Swift. PascalCase (FirstNameLast), or upper camel case, names classes, types and React components. snake_case (first_name_last) is the Python convention for variables and functions and is common in Ruby and database columns. kebab-case (first-name-last) suits URLs, CSS class names and HTML attributes, which are case-insensitive and hyphen-friendly. CONSTANT_CASE (FIRST_NAME_LAST), or screaming snake case, marks constants and environment variables across most languages.
Why it matters
Consistent naming is one of the simplest ways to keep a codebase readable, and mixing conventions causes friction when code crosses languages or teams. Converting mechanically also avoids the typos that creep in when you re-case a long name by hand. For URL slugs specifically, the slugify tool is purpose-built; for plain capitalization, see the title case converter.