Skip to content
OddsockLocal
Local
Source text
lowercaseodd socks in the dryer
UPPERCASEODD SOCKS IN THE DRYER
Title CaseOdd Socks In The Dryer
Sentence caseOdd socks in the dryer
camelCaseoddSocksInTheDryer
PascalCaseOddSocksInTheDryer
snake_caseodd_socks_in_the_dryer
SCREAMING_SNAKEODD_SOCKS_IN_THE_DRYER
kebab-caseodd-socks-in-the-dryer
Train-CaseOdd-Socks-In-The-Dryer
dot.caseodd.socks.in.the.dryer
path/caseodd/socks/in/the/dryer
aLtErNaTiNgOdD SoCkS In tHe dRyEr
iNVERSEODD SOCKS IN THE DRYER
5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the phrase.
  2. Leave Case on pascal.
  3. Copy the type-style name.
  4. Use camel if the first letter should stay lower.

What is PascalCase converter?

PascalCase is camelCase with the first letter capital. “Odd socks in the dryer.” becomes OddSocksInTheDryer. The period is dropped. “in” and “the” are capitalized because every word is. There is no separator left to show where the words were.

Read more

The word split matches the other code cases. “XMLHttp request” becomes XmlHttpRequest. A run of capitals yields to the capital that starts the next lowercase run, so HTTP does not stay glued to Http. Hyphens, spaces, and underscores are all just boundaries. Apostrophes are deleted inside the word.

Choose this for a type, a component, or a class. Choose camelCase for a variable, where the same phrase is oddSocksInTheDryer. Choose Title case if you still wanted the spaces: “Odd Socks In The Dryer.”

Use cases

  • A React developer naming a component from a screen title.
  • A C# or Java author turning a phrase into a type name.
  • A reviewer checking XmlHttpRequest against the camelCase xmlHttpRequest.
  • A design-system writer generating a token name with no spaces.
  • Someone confirming the sentence period did not survive into the type.

Five words, first letter capital

Odd socks in the dryer.

OddSocksInTheDryer camelCase of the same phrase is oddSocksInTheDryer. The only difference is the first letter.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

The words match. PascalCase capitalizes the first one too. oddSocksInTheDryer and OddSocksInTheDryer are the pair.