Skip to main content
KalkuNet

Case Converter — UPPER, lower, Title, camelCase, snake_case and More

Transform strings cleanly between camelCase, PascalCase, snake_case & Title.

Runs in your browserDeveloper · Text Utilities, Regex & Log Parsers
UPPER CASECUSTOMER NAME
lower casecustomer name
Title CaseCustomer Name
Sentence caseCustomer name
camelCasecustomerName
PascalCaseCustomerName
snake_casecustomer_name
CONSTANT_CASECUSTOMER_NAME
kebab-casecustomer-name
dot.casecustomer.name
  • Every line is converted on its own. Words are split at spaces and punctuation, at a lower-case letter or digit followed by an upper-case one (userName, ipv6Address) and before the last capital of a capital run (XMLHttp becomes XML and Http). Accented letters such as é and ß are converted correctly.

When to use the UPPER, lower, camelCase, snake_case, kebab-case Converter

  • Ten formats at once

    Pick one format for the whole text, or read the table under the buttons, which shows the first line in ten formats: upper case, lower case, Title Case, sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case.

  • Identifiers split the right way

    userAccountID splits into user, Account and ID, and XMLHttpRequest into XML, Http and Request, so its snake_case form is xml_http_request rather than x_m_l_http_request. Digits stay with the word they touch: ipv6Address becomes ipv6_address.

  • Accented letters done right

    Case rules follow Unicode, so é, ü and ç change correctly and ß becomes SS in upper case. Title Case respects apostrophes, so it's becomes It's, not It'S.

  • Many lines in one go

    Paste a list of column names, configuration keys or headings; every line is converted on its own and empty lines stay where they are. Copy the result or download it as a .txt file.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts lower case (customerName) and is usual for JavaScript variables, while PascalCase starts upper case (CustomerName) and is usual for class names.

When should I use snake_case or kebab-case?

snake_case is common in Python and database column names; kebab-case is used in URLs, file names and CSS classes, where hyphens are safe.

Why does userAccountID become UserAccountId?

Every word gets a capital first letter and the rest lower case, so the acronym ID becomes Id. That matches Google's Java and JavaScript style guides, which treat acronyms as ordinary words (XmlHttpRequest).

Is the text sent to a server?

No. Every conversion happens in your browser.

Learn more