Sign up free

Online Case Converter – Upper, Lower and Title Case

Switch text between UPPER, lower, Title, Sentence and programming cases like camelCase and snake_case.

About Case Converter

A case converter saves retyping when text arrives in the wrong capitals: a heading typed with Caps Lock on, a list of names in all lowercase, or an email subject that needs Title Case. Paste the text and click a style, and the box changes in place. Undo takes you back one step at a time.

Title Case keeps small words like a, of and the in lowercase unless they start the title, and Sentence case capitalizes after each full stop and fixes a lone i. For code, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE turn each line into one identifier, splitting words that were already joined. There are also Capitalize Each Word, aLtErNaTiNg and InVeRsE.

How to use Case Converter

  1. 1
    Paste your text

    Type or paste into the box, or open a text file.

  2. 2
    Pick a case

    Click one of the twelve case converter buttons, from UPPER CASE to CONSTANT_CASE.

  3. 3
    Undo or try another

    Undo steps back through your changes, so you can compare styles freely.

  4. 4
    Copy or save

    Click Copy, or Save to download the result as a text file.

Why use Cubfile for this

  • Twelve cases

    Everyday styles plus camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE for code.

  • Smart Title Case

    Articles, short conjunctions and prepositions stay lowercase in the middle of a title.

  • Line by line for code

    Each line becomes its own identifier, so a column of labels converts in one go.

  • Step-by-step undo

    Every conversion is remembered, so you can go back as far as you need.

FAQ

Case Converter: questions and answers

How does the case converter handle Title Case?
It capitalizes each word except short ones like a, an, the, and, of, in, on, to and with, which stay lowercase unless they begin the title or follow a colon or full stop. To check the title's length as well, paste it into the Word Counter.
Can the case converter make camelCase or snake_case variable names?
Yes. Put one name per line, such as user first name, and click camelCase for userFirstName or snake_case for user_first_name. Existing camelCase words are split first, so converting between styles works too.
Why did Sentence case lowercase my names?
Sentence case lowers everything and then capitalizes only the first letter of each sentence. Fix proper nouns by hand afterwards, or use Capitalize Each Word instead. A name that appears many times can be fixed in one go with Find and Replace Text.
Does it work with accented letters?
Yes, letters such as é and ü are converted too. Scripts without capitals, like Chinese, are left as they are.
Is my text uploaded when I convert case online?
No. Conversion runs in your browser, nothing is sent to us and there's no daily limit. The text is kept as a draft in this browser until you clear it.
Share Case Converter with a friendIt runs in any browser, and they can try it without signing up.

Related tools

JSON JSON FormatterFormat, validate and minify JSON, errors pointed out by line.
TXT Text CleanerRemove extra spaces, empty lines and broken line breaks in one click.
TXT Text CompareCompare two texts side by side and see every change.
TXT Word CounterCount words, characters, Chinese characters, lines and reading time live.
TXT Base64 Encode and DecodeEncode and decode Base64 text and files.
TXT Find and Replace TextReplace words in text in bulk, with regular expressions if you need them.
TXT Password GeneratorMake strong random passwords on your device.
TXT Remove Duplicate LinesDelete repeated lines and sort what’s left.