Slugify string, create URL slug

Type in the string you want slugify. 'URL slug' is the part of a URL which identifies a particular page on a website in an easy to read form. In other words, it's the part of the URL that explains the page's content. The URL slugs that you use in your webpage will appear in the search engine results pages (SERPs). This is very important for site optimization process.

A clean URL is also less intimidating to a human user. They can look at it and get an idea what the page is about. Clean URLs are also more sharable. Being short and meaningful, they are more pleasing to the eye and more likely to be shared.


Type or paste your string in the text box above and click the "Get me some slug" button, or simply press ENTER. The human-readable string will appear below the input box.

Optionally check the option to remove articles from the returned string. e.g. 'An article about computing' will be converted to 'article-about-computing'.

In case you wondered how to create URL slug in PHP - it is easy in fat-free framework! See below.

How it was done:

How it works:

  • Converts all to lowercase letters
  • Uses ISO-9 transliteration with a lookup table array that can be extended with the DIACRITICS var
  • Converts (transliterate) all the letters that can not be used in a URL; e.g. ú becomes u, or ý becomes y
  • The empty spaces are converted to the separator "-"
  • The characters that can not be converted are removed

Further interesting reading from our site