Case Converter: Upper, Lower, Title and camelCase

Convert text between UPPER CASE, lower case, Title Case, Sentence case - and developer styles like camelCase, snake_case and kebab-case. Private - runs in your browser.
ListFerret mascot

Input

0 characters

Result

Convert to

How to use the case converter

  1. Type or paste your text. Anything goes - a sentence, a heading, a list of variable names or a whole document.
  2. Click a case style. Choose from UPPER CASE, lower case, Title Case, Sentence case and more. The result updates instantly and stays selected as you keep typing.
  3. Use developer styles. camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Train-Case, dot.case and path/case split your words automatically and rejoin them in the chosen style - with one result per line if you wish.
  4. Copy or download. Copy the result, download it, or move it back into the input to chain conversions.

Common uses

One phrase in every style

The phrase “user account ID” converts to: USER ACCOUNT ID, user account id, User account ID (sentence case, acronym kept), User Account ID (title case), userAccountId (camelCase), UserAccountId (PascalCase), user_account_id (snake_case), USER_ACCOUNT_ID (constant case) and user-account-id (kebab-case). The guide to text case styles explains where each is used.

What Title Case does here

Title Case capitalises the main words and keeps these small words in lower case unless they start or end the text: a, an, and, as, at, but, by, for, if, in, nor, of, on, or, per, the, to, up, via, vs, v. Style guides such as AP, Chicago, APA and MLA each have their own rules, so if you must follow one exactly, check the result against it. “Capitalize Each Word” has no exceptions and capitalises every word.

Keeping acronyms

With Keep ACRONYMS on, words already written in capitals (ID, URL, NASA) are left alone in sentence, title and capitalised styles, so “user account ID and the NASA API docs” becomes “User Account ID and the NASA API Docs”. This only applies when the text also contains lower-case letters; a fully capitalised line is converted normally. Turn the option off to lower-case everything except the first letters.

Developer styles and lists

For camelCase, snake_case and the other programming styles, the tool works out the words from spaces, punctuation and existing capital letters. With “convert each line separately” on, a list of names, one per line, comes back as one converted name per line. In these styles an acronym follows the convention of the style, so “ID” becomes Id in userAccountId.

Limits

Frequently asked questions

How do I convert text to uppercase or lowercase?

Paste your text and click UPPER CASE or lower case. The converted text appears in the result box ready to copy.

What is Title Case?

Title Case capitalises the main words of a heading while leaving short words such as “a”, “of” and “the” lowercase, except at the start or end.

What is the difference between Title Case and Capitalize Each Word?

Capitalize Each Word makes the first letter of every word uppercase, including small words. Title Case follows common headline style and keeps small words lowercase.

What is Sentence case?

Sentence case capitalises only the first letter of each sentence, like normal writing, and lowercases everything else.

How do I convert to camelCase or snake_case?

Click camelCase or snake_case. Words are detected from spaces, punctuation and existing camel humps, so “User Account-ID” becomes userAccountId or user_account_id.

Can I convert a list of variable names at once?

Yes. Put one name per line and keep “convert each line separately” ticked to get one converted name per line.

Is my text stored anywhere?

No. The conversion happens in your browser and your text is never uploaded.

More tools: Email Extractor · Compare Lists · Remove Duplicates · Sort Lines · List Converter · List to CSV · Word Counter · Case Converter

Related guides

Share this page: XFacebookLinkedInRedditEmail