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 label.
  2. Leave Case on dot.
  3. Copy the dotted key. It is lowercase, with a dot between words.
  4. Use path case if the separator you needed was a slash.

What is dot.case converter?

Dot case shows up in configuration keys, Java-style package fragments, and some translation ids. Each word is lowercased and joined with a period. “Odd socks in the dryer.” becomes odd.socks.in.the.dryer. The original sentence period is not kept as a second dot on the end. There is no trailing dot.

Read more

Word breaks are the usual ones: spaces, hyphens, underscores, and a capital that starts a new word inside a token. “XMLHttp request” becomes xml.http.request. Small words are not dropped. “in” and “the” are segments, because this is not a stop-word filter.

A path case result uses slashes instead of dots, and a slug uses hyphens and also strips accents. Dot case keeps crème as crème. Do not paste the result into a URL and assume the accent will survive every server.

Use cases

  • A developer building a config key from a short English label.
  • A localization author turning a screen name into a dotted message id.
  • Someone checking that the sentence period did not leave a trailing dot.
  • A Java-leaning codebase that wants package-like segments from a phrase.
  • A reviewer comparing dots with the slashes that path case would have used.

Five words, dots between them

Odd socks in the dryer.

odd.socks.in.the.dryer Five segments. The sentence period is not a sixth dot.

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 period in the sentence is punctuation, not a word. The dots you see are separators between odd, socks, in, the, and dryer.