Skip to content
A2ZCalc

Case Converter

Change text between UPPERCASE, lowercase, Title Case, Sentence case and more. Handy for writers, developers and editors.

Written by Rahman · Last reviewed

Quick answer

Case conversion rewrites text between conventions: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case. In code the distinctions are narrow but strict: camelCase and PascalCase differ only in the first character, snake_case and kebab-case only in the separator, and most languages accept just one by convention.

30 characters25 without spaces6 words1 lines
Every case at once
  • UPPERCASECONVERT YOUR TEXT TO ANY CASE.
  • lowercaseconvert your text to any case.
  • Title CaseConvert Your Text To Any Case.
  • Sentence caseConvert your text to any case.
  • camelCaseconvertYourTextToAnyCase
  • PascalCaseConvertYourTextToAnyCase
  • snake_caseconvert_your_text_to_any_case
  • kebab-caseconvert-your-text-to-any-case
  • CONSTANT_CASECONVERT_YOUR_TEXT_TO_ANY_CASE
  • aLtErNaTiNgcOnVeRt yOuR TeXt tO AnY CaSe.

About the Case Converter

A case converter changes the capitalisation of text, switching between UPPERCASE, lowercase, Title Case, Sentence case and programming styles such as camelCase and snake_case.

It is a quick tool for writers, editors and developers who need to reformat text without retyping it.

Title case is a house style, not a rule

Upper and lower case are mechanical transformations with one right answer. Title case is not. It depends on which style guide you follow, and the guides genuinely disagree about which words to capitalise.

The common thread is that major words are capitalised and minor ones are not, but the definition of minor varies. Some guides lower-case all prepositions; others capitalise those of four or more letters, so "Between" is capitalised under one and not the other. Most agree that the first and last words are capitalised regardless of what they are.

  • Articles (a, an, the) and short conjunctions (and, but, or) are lower-cased by essentially every guide.
  • Hyphenated compounds and the word after a colon are handled differently between guides.
  • Any automated title case applies one convention. Check the output against whichever guide the document follows rather than assuming.

Case conversion depends on language

Changing case looks like a character-by-character operation and is not, because the correct mapping depends on the language the text is in. The same input can correctly produce different output under different locales.

Turkish is the standard example: it distinguishes dotted and dotless i, so upper-casing "i" gives "İ" in Turkish and "I" in English, and lower-casing "I" reverses the problem. German ß has historically upper-cased to "SS", which changes the length of the string. Neither behaviour is a bug.

  • Some characters change length when case is changed, so upper-casing is not always a one-to-one mapping.
  • Comparing strings case-insensitively across languages requires case folding rather than simple lower-casing.
  • Identifiers, filenames and code should be case-converted with an invariant locale, so behaviour does not change with the user's system settings.

Frequently Asked Questions

What is Title Case?

⌄

Title Case capitalises the first letter of each word, a style often used for headings and titles.

What is the difference between camelCase and snake_case?

⌄

camelCase joins words with no spaces and capitalises each word after the first (myVariableName). snake_case joins words with underscores in lowercase (my_variable_name).

Is my text sent anywhere?

⌄

No. All text transformations happen instantly in your browser and nothing is uploaded or stored.

More Common Converters