Case Format Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, and more
Usage Tips
- Use camelCase for JavaScript/TypeScript variable names
- Use PascalCase for React components and class names
- Use snake_case for Python variables and file names
- Use kebab-case for CSS classes and HTML attributes
- Use SCREAMING_SNAKE_CASE for constants and environment variables
- Use Train-Case for some documentation systems and CSS frameworks
- Use Title Case for article titles and UI headings
- Use Path/case for file system organization and URL routing
- Use Space Case for readable text displayed to users
- When converting between formats, check the output especially for acronyms and special characters
Related Tools
About Case Format Conversion
Case Format Types
- camelCase: First word lowercase, remaining words capitalized
- PascalCase: All words capitalized, no separators
- snake_case: All lowercase with underscores
- kebab-case: All lowercase with hyphens
- SCREAMING_SNAKE_CASE: All uppercase with underscores
- dot.case: All lowercase with dots
- Train-Case: Words capitalized with hyphens
- Title Case: Words capitalized with spaces
- lowercase: All lowercase with no separators
- UPPERCASE: All uppercase with no separators
- Path/case: All lowercase with forward slashes
- Space Case: All lowercase with spaces
Common Use Cases
- camelCase: Variables in JavaScript, Java, TypeScript
- PascalCase: Classes in OOP languages, React components
- snake_case: Python, Ruby, and SQL variables
- kebab-case: HTML attributes, CSS classes, URLs
- SCREAMING_SNAKE_CASE: Constants and environment variables
- dot.case: Namespaces and package names
- Train-Case: Documentation headings and some CSS frameworks
- Title Case: UI labels, article titles, headings
- lowercase: Minimalist config files, simplified CSS classes
- UPPERCASE: Acronyms, abbreviations, shortcodes
- Path/case: File system structures, routing paths
- Space Case: Human-readable labels, display text