Unicode & Text Authority
TEXT REFERENCE / TOOLS

URL slug generator

Turn a title into a lowercase ASCII URL slug.

How it works

Apply Unicode NFKD, remove combining marks, lowercase ASCII letters and replace runs of other characters with the chosen separator. Trim separators from both ends. This is not a general transliteration service: letters such as ß and ø and non-Latin scripts may be omitted. Review the result before publishing; uniqueness and URL availability are not checked.

Slug examples

Café & tea becomes cafe-tea with hyphens or cafe_tea with underscores. Fullwidth ASCII letters and compatibility ligatures can normalize to ASCII. Non-ASCII runs become separators; unsupported-only text produces no slug. Input is limited to 4,000 UTF-16 units. Set a maximum length from 1 to 200 ASCII characters (default 200). Overlength slugs are rejected by default. Enable shortening to keep the longest leading sequence of complete generated tokens that fits, counting separators. For example, Café & Travel: A Practical Guide with a limit of 12 becomes cafe-travel when shortening is enabled. If the first token is too long, increase the limit or edit the title; no partial token is returned. The result is a path segment, not a full URL. Use Copy slug length summary to export the displayed ASCII character count as tab-separated Metric and Value columns. Café & Travel becomes cafe-travel (11 characters). With a limit of 9 and shortening enabled, red apple banana becomes red-apple (9 characters, shortened from 16). The original length is included only after shortening; neither the title nor the generated slug is included in the summary.

Related: Unicode normalization · Text case converter.

Related: URL encoder and decoder.

Other tools

Text utilities

Encoding and conversion

Typography

Character and case tools