Nifty Dev Tools
  1. Home
  2. Case Converter
Convert

Type once, get every case. Perfect for naming variables, files, URLs and constants.

Text
Cases

Type something above and every case will show up here ✨

Which case goes where?

CaseExampleCommonly used for
camelCaseuserProfileIdVariables and functions in JavaScript, Java, Swift
PascalCaseUserProfileIdClasses, types, React components
snake_caseuser_profile_idPython, Ruby, database columns
kebab-caseuser-profile-idURLs, CSS classes, file names
CONSTANT_CASEUSER_PROFILE_IDConstants and environment variables
Title CaseUser Profile IdHeadings and labels
Sentence caseUser profile idSentences, UI text

How to use it

  1. Type words, a sentence or an existing name into Text.
  2. Every case appears below as you type. Press Copy on the one you need.

Example

XMLHttpRequest becomes xmlHttpRequest, xml_http_request, xml-http-request and XML_HTTP_REQUEST.

Good to know

  • Existing names are split smartly: XMLHttpRequest becomes xml_http_request, and getUserByID becomes get-user-by-id.
  • Numbers stay attached to the word before them, so utf8Decoder becomes utf8_decoder.
  • Several lines? Each line is converted separately.

FAQ

Is my text uploaded?

No. Conversion happens in your browser. See the privacy page.

Why does “ID” become “Id” in PascalCase?

Each word is written with one capital letter, so acronyms are treated like any other word: getUserByID becomes GetUserById. This keeps names consistent and easy to convert back.