Tool guide
About this tool.
A slug is a readable identifier often used as one segment of a URL, such as creme-brulee-42. This tool extracts words and joins them with one chosen separator.
ASCII mode removes common Latin accents and maps selected Latin letters such as ß → ss, æ → ae and ł → l. Unicode mode keeps letters from other scripts and their combining marks, with optional Latin-accent removal.
A slug is not an entire URL, an encoded URL component or a unique database identifier. It is a text transformation; different titles can produce the same result.
- Create readable article, product or documentation paths.
- Generate consistent names from titles with spaces, punctuation and accents.
- Keep non-Latin text readable when your routing system supports Unicode paths.
- Choose hyphens, underscores or dots to match an existing naming convention.
Paste a title or name, or apply a complete sample.
Choose ASCII for a restricted Latin/digit slug, or Unicode to retain other scripts. ASCII does not transliterate Chinese, Cyrillic or every Latin letter.
Choose the separator, lowercase handling and whether numbers should remain. In Unicode mode, uncheck Remove Latin accents to retain accented letters.
Run Slugify. If no supported letters or numbers remain, it reports an error instead of returning an unusable empty slug.
Copy or Download slug.txt. Use URL Encode if a receiving system requires percent-encoded path text, and check uniqueness before storing the slug.
- Crème brûlée #42 → creme-brulee-42 in ASCII mode.
- Straße Æsir Łódź → strasse-aesir-lodz in ASCII mode.
- Příliš žluťoučký → příliš-žluťoučký in Unicode mode with accents retained.
- 你好 世界 → 你好-世界 in Unicode mode.
- one---two / three → one-two-three; separator runs and edge punctuation are normalized.
- Runs locally and offline. Source text is never uploaded or executed.
- Supports 100,000 UTF-16 input units. Unpaired Unicode surrogates are rejected so the displayed and saved UTF-8 text agree.
- The only separators are -, _ and .; whitespace, slash, query delimiters and arbitrary regex syntax are rejected. Separator runs are always collapsed and leading/trailing separators are removed.
- ASCII mode supports A–Z, a–z and 0–9. Its additional letter mapping is limited to ß/ẞ, æ/Æ, œ/Œ, ø/Ø, ł/Ł, đ/Đ, ð/Ð, ħ/Ħ, ŧ/Ŧ, dotless ı and þ/Þ; other unsupported characters split words rather than being guessed.
- Unicode mode uses letters, number characters and attached combining marks. Punctuation, emoji, joiners and whitespace separate words. Turning off numbers removes all Unicode number categories.
- Text is normalized to NFC. Accent removal decomposes only Latin letters with marks; it does not remove vowel signs from other scripts or perform full-language transliteration.
- Lowercase uses default Unicode rules, not a device-dependent locale. No length truncation, uniqueness suffix, reserved-word check or routing policy is applied.
- The saved file contains the complete plain slug with no added newline.