Text Case Converter
Convert any text to camelCase, PascalCase, snake_case, kebab-case, UPPER CASE, lower case, Title Case, Sentence case, and more — all at once. Click any result card to copy that format instantly.
Case Format Reference
camelCase
First word lowercase, subsequent words capitalized. Used in JavaScript variables, JSON keys, and most programming languages.
PascalCase
Every word capitalized. Used for class names, React components, TypeScript interfaces, and C# identifiers.
snake_case
Words separated by underscores, all lowercase. Standard in Python, Ruby, SQL column names, and file names.
kebab-case
Words separated by hyphens, all lowercase. Used in CSS class names, HTML attributes, URL slugs, and file names.
CONSTANT_CASE
All uppercase with underscores. Used for constants and environment variables in most languages.
Title Case
Every word capitalized. Used in headings, titles, button labels, and navigation items.
When to Use Each Case in Development
- camelCase — JavaScript variables, function names, JSON keys, Java methods
- PascalCase — class names, React components, TypeScript types, C# classes
- snake_case — Python variables, Ruby methods, SQL columns, file names
- kebab-case — CSS classes, HTML IDs, URL slugs, npm package names
- CONSTANT_CASE — environment variables, global constants, enum values
- dot.case — configuration keys, property paths, Java package names
Format and validate your JSON after converting key names with JSONHack.