Slug Generator
Turn titles into clean, lowercase, hyphenated URL slugs. Handles accents, punctuation and non-Latin scripts. Runs entirely in your browser.
Last reviewed by the Radiatus Cloud team
Slug Generator
Convert any text into SEO-friendly URL slugs instantly.
Need this done properly for your business?
Radiatus delivers secure cloud, DevOps & compliance engineering.
What makes a good slug
A URL slug should be lowercase, use hyphens between words, contain only unreserved ASCII characters, and be short enough to read at a glance. Lowercase matters because path components are case-sensitive on most servers, so two casings of the same slug are two different URLs and therefore duplicate content. Hyphens matter because search engines treat them as word separators while underscores historically were not, so red-shoes reads as two words and red_shoes may read as one.
Accents and non-Latin scripts
Accented characters need transliteration rather than removal: café should become cafe, not caf. This is done by decomposing to Unicode NFD, which separates a base letter from its combining accent, then stripping the combining marks. Some characters need explicit mapping because decomposition does not cover them: the German sharp s to ss, the Nordic slashed o to o, the Polish crossed l to l.
For scripts with no Latin equivalent, you have a real choice. Percent-encoded Unicode slugs work in modern browsers and are more meaningful to native readers, though they look unreadable when copied as raw encoded text. Transliteration produces ASCII that is readable but sometimes awkward. Wikipedia uses native scripts successfully, which is reasonable evidence the approach is viable.
Stop words and length
Trimming articles and short prepositions keeps slugs tight, and there is no ranking penalty for their absence. Do not trim so aggressively that the slug stops making sense: how-to-tie-a-tie is better than tie-tie. Keeping the total under roughly 60 characters avoids truncation in search results and keeps the URL shareable.
Collisions and stability
Two different titles can produce the same slug, so the generator has to handle collisions, usually with a numeric suffix. More importantly, once a slug is published it should not change. Editing a title should not silently move the URL, because every existing link then breaks. If a slug must change, serve a 301 from the old one permanently.
Related tools
- Meta Tag Analyzer — Check a page's meta tags for the problems that actually affect indexing and click-through.
- Redirect Chain Checker — Trace the full path of redirects (301/302) to find loops or lost link juice.
- Robots.txt Validator — Validate robots.txt syntax and check whether a specific URL is allowed or blocked for a given crawler.
- Sitemap Generator (Lite) — Generate a valid XML sitemap with lastmod dates and correct structure, and learn which URLs belong in it and which do not.
Frequently Asked Questions
Should I use hyphens or underscores?
Hyphens. Search engines treat a hyphen as a word separator, so red-shoes reads as two words, while an underscore historically joined them. Hyphens are also the established convention across the web, which matters for user expectations.
How are accented characters handled?
By transliteration, not deletion, so cafe rather than caf. The text is decomposed to Unicode NFD to separate base letters from combining accents, which are then stripped. Characters like the German sharp s need explicit mapping to ss.
Should slugs contain non-Latin characters?
It is a legitimate choice. Percent-encoded Unicode works in modern browsers and is more meaningful to native readers, though it looks unreadable when copied raw. Wikipedia uses native scripts successfully. Transliteration is the more conservative option.
How long should a slug be?
Under about 60 characters. Longer slugs get truncated in search results and are awkward to share. Removing articles and short prepositions helps, but not so far that the slug stops making sense.
Can I change a slug after publishing?
You can, but every existing link breaks unless you serve a permanent 301 redirect from the old URL. Treat published slugs as stable identifiers and avoid regenerating them automatically when a title is edited.
Privacy & Security
Generated locally.
About This Tool
This tool runs entirely in your browser. No data is sent to any server, ensuring complete privacy. Simply use the interface above to get started — no registration or login required.
Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.
Related Tools
Meta Tag Analyzer
SEOCheck a page's meta tags for the problems that actually affect indexing and click-through.
Redirect Chain Checker
SEOTrace the full path of redirects (301/302) to find loops or lost link juice.
Robots.txt Validator
SEOValidate robots.txt syntax and check whether a specific URL is allowed or blocked for a given crawler.