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 title.
  2. Copy the hyphenated lowercase result.
  3. If an accented letter became plain ASCII, that was intentional.
  4. Use kebab-case instead when crème must stay crème.

What is Slug maker?

A slug is the piece of a URL a person can read. This page splits the title into words, strips accents, drops apostrophes, lowercases, and joins with hyphens. “Odd socks in the dryer.” becomes odd-socks-in-the-dryer. The period is not a word and does not leave a trailing hyphen. “in” and “the” stay. There is no stop-word list.

Read more

Accents are the difference between this page and kebab-case. “Crème brûlée socks!” becomes creme-brulee-socks here. Kebab-case returns crème-brûlée-socks. The slug runs the title through compatibility decomposition and deletes the combining marks, so é becomes e and û becomes u. An exclamation mark disappears. “XMLHttp request” still splits on the capital boundary, the same way the code cases do, and then the pieces are hyphenated.

The result is a string, not a check that the URL is free. Two titles can slug to the same characters once the accents and punctuation are gone. If the accent should remain visible in the path, use kebab-case and accept that some servers will encode it.

Use cases

  • A blog editor turning a headline into a path segment.
  • A developer slugifying “Crème brûlée” and needing ASCII.
  • A CMS author checking that the period did not survive.
  • A reviewer comparing creme-brulee-socks with the accented kebab form.
  • A documentation writer keeping “the” in the slug because nothing strips it.

A sentence into a path segment

Odd socks in the dryer.

odd-socks-in-the-dryer Five words, no period. The same ASCII string kebab-case produces for this particular sentence.

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

odd-socks-in-the-dryer. The period is dropped. in and the are kept.