Skip to content

Blog

camelCase vs PascalCase vs snake_case vs kebab-case: Which Naming Style?

Paste one phrase and see camelCase, PascalCase, snake_case, and kebab-case side by side — then pick the style your language or framework actually expects.

Updated 29 September 2026

camelCase

Camel case converter: turn phrases, snake_case, or kebab-case into camelCase identifiers in your browser.

camelCase converter

FAQ

Questions, answered

What is the difference between camelCase and PascalCase?

Both drop separators and capitalize word boundaries. camelCase keeps the first word lowercase (getHttpStatus). PascalCase capitalizes every word including the first (GetHttpStatus). JavaScript variables usually use camelCase; React components and many class names use PascalCase.

When should I use snake_case instead of camelCase?

Use snake_case in Python, Ruby, many database columns, and config keys that prefer underscores. Use SCREAMING_SNAKE_CASE for constants and environment variables. Prefer camelCase in JavaScript/TypeScript object keys unless an API already dictates otherwise.

Is kebab-case the same as a URL slug?

Close, but not identical. kebab-case is an identifier style (my-component-name) for CSS classes, file names, and route segments. Slugify is stricter about unicode and punctuation so a headline becomes a safe path (café déjà-vu → cafe-deja-vu). Use Slugify for public permalinks.

How do I convert snake_case to camelCase?

Paste the snake_case string into a camelCase converter. The tokenizer splits on underscores (and other separators), then rebuilds camelCase. The same paste can jump to PascalCase, kebab-case, or snake_case without retyping.

Does converting naming case online upload my identifiers?

No. On this site conversion runs in JavaScript in the tab. There is no account and no server-side processing of the paste.

Related

Keep going

All guides

Browse all tools