1. Home
  2. SEO & Marketing
  3. Slug Generator

Slug Generator

Turn a title into a URL slug. Turkish characters such as ğ, ş, ı and İ are transliterated.

What it is for?
Runs in your browser Free, no sign-up

What it is for?

A slug is the readable part of a URL that names a page, such as cay-ve-seker-istanbul in example.com/blog/cay-ve-seker-istanbul. It holds only lower-case letters, digits and a separator, so it works in every browser, server and analytics tool without percent encoding. Type or paste a title and the slug updates as you type.

Turkish letters

ğ, ü, ş, ı, ö and ç become g, u, s, i, o and c. The capital dotted İ is mapped before lowercasing, because otherwise it would leave a stray dot. Accented Latin letters such as é lose their accent. Everything else that is not a letter or a digit becomes the separator.

Example

Çay ve Şeker, İstanbul becomes cay-ve-seker-istanbul. Runs of spaces and punctuation collapse into one separator, and separators at the start or end are removed. Tick Use underscores to get cay_ve_seker_istanbul instead. Hyphens are the usual choice for URLs, because search engines read a hyphen as a break between words.

Things to watch

  • An apostrophe is a separator too, so Ahmet'in Evi becomes ahmet-in-evi. Remove the apostrophe first if you want ahmetin-evi.
  • Letters outside the Latin alphabet, such as Cyrillic, Greek or Arabic, become the separator. So do letters like ß or ø that have no plain base letter.
  • The tool does not shorten the slug or drop words like ve or and. Short slugs are easier to read and share, so trim a long one by hand.
  • Changing the slug of a published page changes its URL. Add a 301 redirect from the old address.

It stays in the browser

The slug is made in this tab with JavaScript. Nothing is sent to a server.