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. Spaces, hyphens, and existing capitals mark words.
  2. Leave Case on camel.
  3. Copy the identifier. It will not contain the period or the spaces.
  4. Switch Case only if you meant a different spelling. PascalCase is the same words with a capital first letter.

What is camelCase converter?

camelCase is the spelling code uses for a name that started life as English. The first word stays lower, every later word gains a capital, and the separators disappear. “Odd socks in the dryer.” becomes oddSocksInTheDryer. The period is not a word, so it is not in the result. Spaces, hyphens, and underscores are separators, not characters to keep.

Read more

Capitals already inside a token are boundaries. “XMLHttp request” becomes xmlHttpRequest: the run of capitals splits before the last capital that introduces “Http”, and “request” is a following word. “odd-socks” is the same two words as “odd socks”. An apostrophe is removed rather than kept, so a contraction does not leave a quote in the middle of the identifier.

Accented letters are still letters. They are lowercased, not stripped. A slug is the page that turns “crème” into “creme”. This page will not. The Case control on this screen is set to camel. The case converter is the screen that starts on Title and can switch.

Use cases

  • A developer naming a variable from a ticket title.
  • A designer handing “add to cart” to engineering as addToCart.
  • Someone checking that a trailing period did not survive into the identifier.
  • A programmer splitting XMLHttp into xmlHttp before adding another word.
  • A writer comparing camelCase with PascalCase on the same phrase.

A five-word sentence with a period

Odd socks in the dryer.

oddSocksInTheDryer The period is gone. “in” and “the” are capitalized because they are not the first word.

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

Punctuation is not a word. “Odd socks in the dryer.” contributes five words and oddSocksInTheDryer has no period.