Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, and more.

Input
Ready — enter text and choose a case type

Frequently Asked Questions

What case formats are supported?+
The tool supports UPPER CASE (all caps), lower case (all lowercase), Title Case (capitalizing each word), Sentence case (first letter of sentences capitalized), camelCase (first word lowercase, subsequent words capitalized), snake_case (lowercase with underscores), kebab-case (lowercase with hyphens), and PascalCase (every word capitalized).
When should I use each naming convention?+
Use camelCase for JavaScript variables and functions. Use PascalCase for class names and React components. Use snake_case for Python, Ruby, and database column names. Use kebab-case for CSS properties, HTML attributes, and URL slugs. JavaScript identifiers cannot include hyphens, so kebab-case is only for files and URLs.
Is my data sent to a server?+
No. All case conversion happens locally in your browser using JavaScript string methods. Your text is transformed instantly without any network requests or data leaving your device.
How does the tool handle acronyms like "ID" or "HTML"?+
The converter intelligently handles acronyms, keeping them uppercase in most contexts. For example, "user id" becomes "userId" (camelCase), "user id" becomes "UserId" (PascalCase), and "XML HTTP request" becomes "xmlHttpRequest" with proper capitalization of each acronym word.
What happens with numbers and special characters?+
The tool splits text on word boundaries including spaces, hyphens, underscores, and camelCase transitions. Numbers are treated as part of words where possible. Special characters are preserved but typically used as split points for determining word boundaries.
Can I convert programming identifiers to readable text?+
Yes, enter any programming identifier in its original format (like userLoginCount or user-login-count) and convert it to Title Case or Sentence case for a human-readable version. This is useful for generating display labels from variable names or converting between different code conventions.
Copied!