Skip to content
2xKit

URL Slug Generator

Convert any title or text into a clean, URL-friendly slug.

Formula v1.0.0GlobalMethodologyReport an issueurl-slug-generator-v1
How this is calculated
Lowercase, strip diacritics, replace non-alphanumeric runs with a hyphen, trim edge hyphens

Assumptions used in this calculation

  • Separator: Hyphens are used as the word separator (not underscores), matching common SEO convention for URL slugs.

About this calculator

A blog post title, product name, or page heading typically contains capital letters, spaces, punctuation and sometimes accented characters — none of which belong in a clean URL path, where inconsistent slugs hurt both readability and SEO. This generator takes any title or text and produces a proper slug by lowercasing everything, stripping diacritics so accented letters fall back to plain ASCII (é becomes e), replacing any run of non-alphanumeric characters with a single hyphen, and trimming leading or trailing hyphens from the result. That follows the standard convention most CMSs and SEO guidance recommend: lowercase, hyphen-separated, ASCII-only slugs that stay short, readable, and safe across every browser and server. Manually converting a title into that format means remembering several rules at once and getting them consistently right every time, so this instant, rule-based conversion is faster and more reliable than typing out a slug from a title by hand for every new page or post.

Worked example

'Hello World!' → 'hello-world'

Result: hello-world

Was this helpful?

Frequently asked questions