Slug Generator
Turn any title, heading or product name into a clean, URL-friendly slug. Pick hyphen, underscore or dot separators; lowercase; strip diacritics, stop words, emojis and symbols; set a max length. 100% browser-based, free, no signup.
Text → Clean Slug
Paste any title, heading or product name and get a URL-safe slug instantly. Spaces become separators, punctuation is removed, and everything is collapsed into one tidy string.
Three Separators
Switch between hyphen (-), underscore (_) or dot (.) with a single click. Perfect for blog URLs (hyphen), file names (underscore) or extension-style slugs (dot).
100% Private
All processing happens in your browser. Your text is never uploaded to a server, logged, or sent anywhere. No signup, no tracking, no rate limits.
Smart Options
Strip diacritics, stop words, emojis and symbols. Transliterate Cyrillic and Greek. Set a max length and truncate on a word boundary (no half-words).
What is a URL slug?
A slug is the human-readable, URL-safe part of a web address that identifies a specific page. For example, in https://example.com/blog/10-ways-to-use-qr, the slug is "10-ways-to-use-qr". Slugs should be lowercase, contain only letters, digits and separators (usually hyphens), and have no spaces or special characters.
Which separator should I use?
For SEO-friendly blog and article URLs, hyphens (-) are the standard — Google treats hyphens as word separators. Underscores (_) are better for file names and database keys, while dots (.) are sometimes used for extension-style slugs or to mimic file extensions. Most websites should stick with hyphens.
What does "strip diacritics" do?
It removes accent marks from characters: é → e, ñ → n, ü → u, ç → c. This is done via Unicode NFKD normalization followed by removing combining diacritical marks (̀-ͯ). The result is an ASCII-clean slug that works in any browser or server.
How does "strip stop words" help?
Stop words like "a", "the", "of", "in", "to" add length to a slug without adding meaning. Removing them gives shorter, more focused slugs: "the ultimate guide to pdf tools" → "ultimate-guide-pdf-tools". This is optional — many sites keep stop words for readability.
How does the max length truncation work?
When you set a max length (e.g., 60 chars), the slug is cut at that limit but on a separator boundary — so it never splits a word in half. For example, truncating "ultimate-guide-pdf-tools" at 18 chars yields "ultimate-guide-pdf", not "ultimate-guide-pdf-t".
Ready to use the Slug Generator?
Free, no signup, no watermark. 100% browser-based. Your data never leaves your device.
Open the tool