Convert text into a URL-safe slug: lowercase, punctuation stripped, separators collapsed to a single "-", and accented characters normalized to their plain-ASCII equivalents.
Text to slugify.
A lowercase, hyphen-separated, URL-safe slug.
slugify('Hello, World! 100% Awesome'); // 'hello-world-100-awesome'slugify(' Multiple Spaces '); // 'multiple-spaces' Copy
slugify('Hello, World! 100% Awesome'); // 'hello-world-100-awesome'slugify(' Multiple Spaces '); // 'multiple-spaces'
Convert text into a URL-safe slug: lowercase, punctuation stripped, separators collapsed to a single "-", and accented characters normalized to their plain-ASCII equivalents.