How it works
The first four options change capitalisation but keep your spacing and punctuation. Title Case capitalises every word except short joining words such as "and", "of" and "the" (unless they start the text or follow a colon). Sentence case lowercases everything, then capitalises the first letter of each sentence and the pronoun "I" — proper nouns need a manual touch afterwards.
The programming cases split each line into words at spaces, punctuation, underscores, hyphens and lower-to-upper transitions, so "user ID", "userId", "user-id" and "USER_ID" all become the same four results. Acronyms are kept together: "parseHTTPResponse" splits into parse, HTTP, Response. Each line is converted separately, which makes it easy to rename a whole list of variables at once.
Conversion runs in your browser, so you can paste code or private text safely.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both join words without spaces and capitalise each word. camelCase keeps the very first letter lowercase (firstName); PascalCase capitalises it too (FirstName). JavaScript variables usually use camelCase, while classes and types use PascalCase.
When should I use snake_case or kebab-case?
snake_case is standard for Python variables and database columns. kebab-case is used in URLs, CSS class names and file names. CONSTANT_CASE is the convention for constants and environment variables.
Does it handle accented letters?
Yes. Upper- and lowercasing follow Unicode rules, so "é" becomes "É" and Greek or Cyrillic text converts correctly.