$ case-converter --dev

camelCase · snake_case · kebab · PascalCase · SCREAMING · dot · path

Paste a label and get all the case variants: camelCase for JavaScript, snake_case for PHP, kebab-case for CSS, PascalCase for classes and components. Custom prefix support included.

Input
Output — click any row to copy
0chars
0words
0tokens

In programming naming conventions, the format of a name changes depending on the language, framework and context. Manually converting a readable label to all relevant formats is slow and error-prone.

This converter supports:

  • camelCase for JavaScript, JSON, PHP variables
  • PascalCase for PHP classes, React components, WordPress CPTs
  • snake_case for PHP variables, ACF field names, WordPress options
  • kebab-case for CSS classes, HTML slugs, URLs
  • SCREAMING_SNAKE_CASE for PHP constants (WP_DEBUG, ABSPATH)
  • dot.case for configuration keys