Aa

Case Converter

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

Input
Converted Text

📖 What is Case Converter?

A case converter transforms text between different naming conventions used in programming and writing. Paste any text and instantly convert it to camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, UPPER CASE, lower case, Title Case or Sentence case.

Developers use this when working across languages with different conventions — JavaScript uses camelCase, Python uses snake_case, CSS uses kebab-case, and constants use SCREAMING_SNAKE_CASE. Instead of retyping, paste and convert. Everything runs in your browser.

💡 Example

Input
user profile settings
Output
camelCase: userProfileSettings PascalCase: UserProfileSettings snake_case: user_profile_settings kebab-case: user-profile-settings

🛠️ Common Use Cases

  • Converting variable names between JavaScript (camelCase) and Python (snake_case)
  • Generating CSS class names in kebab-case from design specs
  • Creating database column names in snake_case from UI labels
  • Converting constants to SCREAMING_SNAKE_CASE
  • Formatting titles and headings in Title Case

📝 When to Use Each Case

  • camelCase — JavaScript/TypeScript variables and functions, Java methods, JSON keys
  • PascalCase — class names in most languages, React/Angular components, C# methods
  • snake_case — Python variables and functions, Ruby, Rust, database columns, REST API parameters
  • kebab-case — CSS classes, HTML attributes, URL slugs, CLI flags
  • SCREAMING_SNAKE_CASE — constants in JavaScript, Java, Python, C, environment variables
  • Title Case — headings, button labels, menu items

⚠️ Common Mistakes

  • Mixing conventions in one codebase — pick one naming convention per context (variables, classes, constants) and stick to it
  • Acronyms in PascalCaseHTMLParser vs HtmlParser. Most style guides prefer the latter for readability.
  • Using hyphens in variable names — kebab-case works in CSS and URLs but is invalid as a variable name in most programming languages
  • Forgetting locale-sensitive casing — Turkish "i" uppercases to "İ", not "I". Use locale-aware functions for internationalized text.

❓ Frequently Asked Questions

What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (userProfile), PascalCase starts with an uppercase letter (UserProfile). In most languages, camelCase is for variables and functions, PascalCase is for classes and types.
Which case should I use for REST API URLs?
kebab-case is the most common convention for URL paths (/user-profile/settings). For query parameters, both snake_case and camelCase are common — pick one and be consistent.
Can I convert multiple words at once?
Yes — paste any text with spaces, hyphens, underscores or mixed casing. The tool splits it into words and re-joins them in your chosen convention.
Is my data private?
Yes — all processing runs entirely in your browser using JavaScript. Your data is never sent to any server.
Is this tool free?
Completely free — no login, no usage limits, and it works offline once the page is loaded.
Yes — completely free, no login required, no usage limits.
Is my data private?
Yes — all processing runs in your browser. Your data is never sent to any server.
Does it work offline?
Yes — once the page is loaded, the tool works without an internet connection.
🔒
Your data stays private. All processing happens entirely in your browser using JavaScript. Nothing is ever sent to our servers. You can even use this tool offline after the page loads.