gg
HomeText › Slugify
Text

Slugify

Turn any title into a clean, URL-friendly slug: lowercased, accents folded to plain ASCII, and every run of non-alphanumeric characters replaced with a single hyphen. Leading and trailing hyphens are trimmed. Perfect for blog and product URLs.

Try it now

Worked example

hello-world-gg-1

Frequently asked

What happens to accented letters?

They're folded to plain ASCII before slugging — café becomes cafe, Łódź becomes lodz, straße becomes strasse. Central and Eastern European letters are covered, not just French and Spanish ones.

What about Cyrillic, Greek or Chinese titles?

They are kept as they are, because there is no honest ASCII for them. A slug of москва is a working URL in every current browser; deleting the letters would leave you with an empty slug and a broken link.

Can the slug have double hyphens?

No — runs of symbols and spaces collapse to a single hyphen.

Related Text tools