ply.wtf

Convert Case

Switch text between UPPER, lower, Title, camelCase, snake_case, kebab-case and more. Runs entirely in your browser — nothing is uploaded.

0 characters · 0 words · 0 lines

Which case should I use?

Conventions are per-language, and mixing them is the fastest way to make a codebase feel unmaintained:

  • camelCase — variables and functions in JavaScript, TypeScript, Java, Dart.
  • PascalCase — classes and types almost everywhere; React components.
  • snake_case — Python and Ruby identifiers, SQL columns, PHP (WordPress-era).
  • SCREAMING_SNAKE_CASE — constants and environment variables.
  • kebab-case — URLs, CSS classes, HTML attributes, CLI flags, npm packages.

The one rule that matters more than the choice itself: pick one per context and never mix two in the same layer.

Other tools