Skip to content
Ruby lib to turn a string in its alfanumerical dashed equivalent
Find file
Latest commit cf71da1 stefaan Update version - removed duplicate keys


A slugifier that converts utf-8 latin characters to their ascii counterpart.
All non-recognized characters are removed, only lowercase alfanumerical characters
and dashes are left. Also has an option to strip away starting, ending and double dashes.

Conversion is based on

To use, just install it

  gem install slugify

require it

  require 'slugify'

and use it

  "test test".slugify

Something went wrong with that request. Please try again.