Developer Case Converter

Developer case converter

Switch identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case in one tap.

▌ Input / Output
CHARS 0NO-SPACE 0WORDS 0LINES 0SENT 0
Case
Developer
Lines & sort
Clean up & encode

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.

FAQ

Can it convert from one code case to another?
Yes. Paste getUserName or get_user_name and tap a target format; it detects word boundaries automatically.
kebab-case vs snake_case?
kebab-case joins words with hyphens (my-slug), common in URLs/CSS; snake_case uses underscores (my_var), common in Python/SQL.

Related tools