Skip to content
GivenTool

Case converter

Convert text to UPPER, lower, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE.

0 / 2,000,000 characters · Updates as you type.

Settings

Programming cases convert each line separately, so a list of names converts in one go.

Runs in your browser. Nothing you type is sent anywhere.

Paste text, pick a case and copy the result. Title Case follows the common headline rule: capitalise every word except short articles, conjunctions and prepositions (a, an, the, and, but, or, for, of, in, on, to, via, vs ...), but always capitalise the first and last word and the word after a colon. Words that already contain inner capitals, such as iPhone or NASA, are left alone unless the whole text is in capitals. Sentence case lowercases everything and capitalises the first letter of each sentence and the pronoun "I".

The programming cases split words at spaces, punctuation and camelCase humps, so "XMLHttpRequest", "xml http request" and "xml_http_request" all become xmlHttpRequest, XmlHttpRequest, xml_http_request, xml-http-request or XML_HTTP_REQUEST. They work line by line, which is handy for renaming a column of identifiers.

Scripts without letter case, such as Arabic, pass through unchanged. Style guides differ on Title Case details (AP capitalises words of four letters or more; Chicago lowercases all prepositions), so review headlines that matter.

How to use it

  1. Paste your text into the box.
  2. Choose the target case; the output updates as you type.
  3. Copy the result or download it as a .txt file.

Frequently asked questions

Which words stay lowercase in Title Case?

a, an, and, as, at, but, by, en, for, if, in, nor, of, on, or, per, the, to, v, vs and via, unless they are the first or last word or follow a colon.

Will it break acronyms like NASA or brand names like iPhone?

No. In Title Case, words that already mix upper and lower case or are all capitals are kept as typed, unless the entire input is in capitals.

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (userName); PascalCase capitalises every word including the first (UserName). JavaScript variables usually use camelCase and class names PascalCase.

Does Sentence case know proper nouns?

No. It cannot tell that "paris" should be "Paris". It capitalises only sentence starts and "I", so proper nouns need a manual pass.