Text to Slug

Text to Slug

What this does

Turns a title into a URL-safe slug: lower case, spaces to hyphens, accents removed, punctuation dropped. "Café & Bar — Opening Hours!" becomes cafe-bar-opening-hours.

When to use it

  • Naming blog post URLs, file names and IDs.
  • Making anchors for headings in documentation.

Good to know

Non-Latin text (Korean, Japanese) is transliterated where possible or left as UTF-8, depending on the option. Short slugs rank and share better than long ones.


Avatar

James Smith

CEO / Co-Founder

Enjoy the little things in life. For one day, you may look back and realize they were the big things. Many of life's failures are people who did not realize how close they were to success when they gave up.

Cookie
We care about your data and would love to use cookies to improve your experience.
피플앤툴즈 네트워크
🛍 샵