Case Converter

Paste text and switch it between UPPERCASE, lowercase, Title Case, Sentence case and the naming styles programmers use: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. Accented letters, numbers and line breaks are handled, and scripts without letter case, such as Arabic, are left alone. Everything runs in your browser.

Processed locally in your browser. Your data is not uploaded to our servers.

Your text stays in this page. Each line is converted on its own.

The first letter of every word in a capital.

SettingsDefault settings

Result

Examples

The same input in every style (the first row is the input):

StyleResult
Originalhello World-wide web2 XMLHttpRequest
UPPERCASEHELLO WORLD-WIDE WEB2 XMLHTTPREQUEST
lowercasehello world-wide web2 xmlhttprequest
Title CaseHello World-Wide Web2 Xmlhttprequest
Sentence caseHello world-wide web2 xmlhttprequest
camelCasehelloWorldWideWeb2XmlHttpRequest
PascalCaseHelloWorldWideWeb2XmlHttpRequest
snake_casehello_world_wide_web2_xml_http_request
kebab-casehello-world-wide-web2-xml-http-request
CONSTANT_CASEHELLO_WORLD_WIDE_WEB2_XML_HTTP_REQUEST
dot.casehello.world.wide.web2.xml.http.request

Formula & Methodology

Text is split into words at spaces, punctuation, underscores and hyphens, at camelCase boundaries (fooBar becomes foo Bar) and where an acronym ends (XMLHttp becomes XML Http). Digits stay attached to their word. The words are then joined and capitalized according to the style. Each line of your text is converted separately, so line breaks are kept.

Notes and limitations

  • Title Case capitalizes every word by default. The short-words option follows common English style and only applies to English words.
  • Sentence case capitalizes the first letter after a period, question mark or exclamation mark. It does not know names or acronyms, so check the result.
  • Languages without capital letters, such as Arabic, Hebrew or Chinese, are not changed by the upper, lower, title and sentence styles.
  • The programmer styles (camelCase, snake_case and so on) drop punctuation and symbols and keep letters and digits.
  • Some languages have special case rules. The Turkish option handles i and ฤฐ correctly.

How to Use

  1. Paste or type your text.
  2. Choose a case style.
  3. Adjust the options if you need them.
  4. Copy the converted text or download it.

Frequently Asked Questions

What is the difference between title case and sentence case?

Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of each sentence, as in normal writing.

When do I use camelCase, snake_case or kebab-case?

They are naming styles for code. camelCase is common for JavaScript variables, snake_case for Python and databases, kebab-case for URLs and CSS classes, and CONSTANT_CASE for constants.

Does it work with accented letters?

Yes. Letters such as รฉ, รฑ and รผ are converted correctly, and accents are kept.

What happens to Arabic text?

Arabic has no capital letters, so the upper, lower, title and sentence styles leave it unchanged. The programmer styles keep the Arabic words and change only the separators.

Is anything sent to a server?

No. Conversion runs in your browser and nothing you enter is uploaded or sent to analytics.

Last updated: