Case converter

Paste text or identifiers and see them in every common case at once. Click any result to copy it.

Where each case is used

  • camelCase: JavaScript and Java variables and functions.
  • PascalCase: class and component names.
  • snake_case: Python, Ruby and database columns.
  • CONSTANT_CASE: constants and environment variables.
  • kebab-case: URLs, CSS classes and file names.
  • Title Case: headings in American English style.

How words are detected

The converter splits on spaces, hyphens, underscores, dots and case changes, so getHTTPResponse_code becomes the words "get", "HTTP", "Response" and "code" before being rejoined.

Questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myValue); PascalCase starts with a capital (MyValue).

Does it work on multiple lines?

Yes. Each line is converted separately.

Related tools