○ RUNS IN YOUR BROWSER

Case Converter

Change text to upper case, lower case, title case or sentence case, or to the naming styles used in code. Paste your text and pick a style.

SENTENCE CASE

The quick brown fox jumps over the lazy dog. It was not amused.
13 words1 line Processed locally · 0 bytes sent

The cases, with examples

For writing

  • Sentence case: the first word of each sentence is capitalised, the rest is lower case. "i" on its own becomes "I".
  • lower case: every letter small.
  • UPPER CASE: every letter a capital.
  • Title Case: every word capitalised except short words like "of" and "the" in the middle.

For code

  • camelCase: userName, common for JavaScript and Java variables.
  • PascalCase: UserName, used for class and component names.
  • snake_case: user_name, the norm in Python, Ruby and SQL.
  • kebab-case: user-name, for URLs, CSS classes and file names.
  • CONSTANT_CASE: USER_NAME, for constants and environment variables.

Fixing text typed with caps lock on

Paste the text and pick Sentence case. Every sentence gets one capital at the start and the rest goes to lower case. Check names and places afterwards: the tool can't know that "paris" should be "Paris".

Works with every alphabet that has cases

Accented letters and other alphabets with upper and lower case, such as Greek and Cyrillic, convert correctly, so "crème brûlée" becomes "Crème Brûlée". Scripts without case, such as Chinese or Arabic, are left as they are.

How to change the case of text

  1. 1

    Paste your text

    Type or paste into the input pane. Text written in all caps works fine too.

  2. 2

    Pick a case

    Choose Sentence, lower, UPPER or Title for normal text, or camel, Pascal, snake, kebab or CONST for code.

  3. 3

    Copy the result

    Copy the converted text to your clipboard or download it as a .txt file.

Frequently asked questions

What's the difference between title case and sentence case?

Title Case Capitalises Most Words, the way book and article titles are written. Sentence case only capitalises the first word of each sentence, like normal writing. Most style guides now prefer sentence case for headings.

Which words stay lowercase in title case?

Short words such as a, an, the, and, but, or, of, in, on, to and with, unless they're the first or last word, or follow a colon. Style guides such as AP and Chicago differ on a few longer words like "with" and "from", so check the guide you follow for those.

Does it keep acronyms like NASA?

Yes, in title and sentence case. When most of the text is in capitals, though, it's treated as shouting and every word is lowered first.

How do the code cases handle my text?

Each line becomes one name. The words are split on spaces, dashes, underscores and changes from lower to upper case, so "user name", "userName" and "USER_NAME" all turn into the same result.

On this page
Pages
Home
All tools
Suggest a tool
About
Privacy