Slug Generator
Convert a title into a URL-safe slug. Separator, case, max-length, and Unicode transliteration options.
- 10-things-i-wish-i-knew-about-oklch
01 — Overview
How the Slug Generator works
Turn a title or arbitrary string into a clean URL slug. Configure separator (- or _), case, max length, and Unicode handling. Accented characters are transliterated to ASCII; emoji and unsafe characters are stripped. Runs locally.
02 — Use cases
When to use the Slug Generator
- 01
Convert a blog post title into a SEO-friendly URL slug
- 02
Bulk-slugify a list of product names
- 03
Sanitize a user-supplied filename for use as a URL
- 04
Strip emoji and diacritics from a title for filesystem use
03 — Examples
Slug Generator examples
10 Things I Wish I Knew About OKLCH
ex 0110-things-i-wish-i-knew-about-oklch
Lowercased, spaces become hyphens.
Café Olé — naïve résumé
ex 02cafe-ole-naive-resume
Accented characters transliterated, punctuation stripped.
Ürün Açıklaması Sayfası
ex 03urun-aciklamasi-sayfasi
Turkish diacritics transliterated to their closest ASCII equivalents.
Multiple spaces & symbols!!
ex 04multiple-spaces-symbols
Runs of whitespace collapse to one separator; punctuation is dropped, not encoded.
04 — FAQ
Slug — frequently asked questions
Are emojis stripped or transliterated?
What's the difference between - and _ separators?
How long should a slug be?
What happens if I change a slug after publishing?
Should slugs be lowercase?
How long should a slug be?
05 — Reference
Specs and further reading
The primary sources this tool follows. Where behaviour is defined by a specification, we link the specification rather than a summary of it.
- RFC 3986: URI Generic Syntax
IETF — Which characters are legal unescaped in a path segment.
- UAX #15: Unicode Normalization Forms
Unicode Consortium — The NFD normalisation step behind accent stripping and transliteration.
- URL structure best practices
Google — Google's guidance on readable, hyphen-separated URLs.
07 — More
Tools that pair with Slug
Lorem Ipsum Generator
Generate placeholder text in seconds. Classic Latin or modern variants — corporate, hipster, bacon. By paragraphs, sentences, or words.
Regex Generator
Describe what you want to match in plain English. Get a regex pattern with a live test panel and a token-by-token breakdown.
Meta Tags Generator
Generate a full SEO + OpenGraph + Twitter Card meta tag block. Optional AI-suggest from a URL or page description.