consolelog.tools logo

Case Converter

Convert text to camelCase, snake_case, kebab-case, and more. Supports 13 different case formats with smart detection.

0

Examples

Input: "Hello World" or "helloWorld" or "hello_world"

  • camelCase: helloWorld
  • PascalCase: HelloWorld
  • snake_case: hello_world
  • kebab-case: hello-world
  • CONSTANT_CASE: HELLO_WORLD
  • dot.case: hello.world
  • path/case: hello/world
  • SCREAMING-KEBAB-CASE: HELLO-WORLD
  • Train-Case: Hello-World

Tips

  • Use Ctrl+Enter (or Cmd+Enter on Mac) to convert
  • Toggle Live Preview for instant conversions as you type
  • The tool automatically detects your input format
  • Use Quick Convert to transform your input to a specific case
  • Download all formats at once for reference

Quick Reference: When to Use Each Case

camelCase

For JavaScript/TypeScript variables and functions

userName
getUserData

PascalCase

For React components and class names

UserProfile
DataTable

snake_case

For Python variables and database columns

user_name
get_user_data

kebab-case

For URLs, CSS classes, and file names

user-profile
main-content

CONSTANT_CASE

For constants and environment variables

API_KEY
MAX_USERS

Title Case

For headings and proper nouns

User Profile Page
My Application

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Frequently Asked Questions - Case Converter