🔡

Case Converter

Convert text between all letter cases

Input Text
UPPERCASE
lowercase
Title Case
Sentence case
camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
dot.case

About Case Converter

Type or paste text, click the case format you need. All ten variants are shown simultaneously — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case. The converter intelligently splits on spaces, underscores, hyphens, and existing camelCase boundaries, so renaming myVariableName to my_variable_name works correctly. Click any result to copy it immediately.

Common Use Cases

  • Renaming variables between camelCase and snake_case
  • Converting article titles to kebab-case URL slugs
  • Standardising API field names across a codebase
  • Preparing CSS class names in kebab-case from design token names

Frequently Asked Questions

camelCase vs PascalCase — what is the difference?+
camelCase starts with a lowercase letter (firstName, totalAmount). PascalCase capitalises every word (FirstName, TotalAmount). JavaScript variables typically use camelCase; class names and React components use PascalCase.
When is snake_case used?+
Python variables and functions, Ruby, database column names, and many REST API response fields. All lowercase with underscores as word separators.
When is kebab-case used?+
CSS class names (background-color, max-width), HTML attributes, URL slugs, and some config file keys. Lowercase with hyphens.