What Is the Slug Generator?
Convert any text into a clean, SEO-friendly URL slug. Handles special characters, accents, spaces, and case conversion automatically.
Why Use This Tool?
URL slugs are the human-readable part of a web address. A good slug is lowercase, uses hyphens as separators, and contains only URL-safe characters. This tool handles all the edge cases automatically.
How to Use This Slug Generator
- Enter your title or text — Paste the text you want to convert into a URL-friendly slug — typically a page title, blog post name, or product name.
- Review the slug — The tool automatically converts your text to lowercase, replaces spaces with hyphens, removes special characters, and strips accents.
- Customize if needed — Choose the separator (hyphen or underscore), turn lowercase on or off, or set a maximum length.
- Copy the slug — Click Copy to grab the clean, URL-safe slug for your CMS, database, or routing system.
Worked example: titles in several languages
The tool now transliterates letters that do not decompose (ß → ss, ł → l, ø → o, æ → ae, þ → th) and Cyrillic, strips accents, keeps other scripts (Chinese, Japanese, Arabic, Hindi) as Unicode letters instead of deleting them, writes C++, C#, & and @ as words, drops apostrophes, and collapses any run of spaces, hyphens and underscores into one separator. On October 12, 2026 we ran the old and the new function on the same titles in Chromium:
| Title | Before | Now |
|---|---|---|
| Crème Brûlée Recipe | creme-brulee-recipe | creme-brulee-recipe |
| Straße in München | strae-in-munchen | strasse-in-munchen |
| Łódź and Kraków | odz-and-krakow | lodz-and-krakow |
| Smørrebrød & Æble | smrrebrd-ble | smorrebrod-and-aeble |
| Привет мир | (empty) | privet-mir |
| 東京 travel guide | travel-guide | 東京-travel-guide |
| Don’t Stop Believin’ | dont-stop-believin | dont-stop-believin |
| C++ vs C# | c-vs-c | c-plus-plus-vs-c-sharp |
| Before - After | before---after | before-after |
- Fine for English and accented Latin text. French, Spanish and most German titles come out as expected.
- Separate letters are transliterated. ß, Ł, ø and æ are letters in their own right in Unicode, not a letter plus an accent, so the old version deleted them; they now become ss, l, o and ae.
- Non-Latin titles keep their words. Russian, Ukrainian and Belarusian Cyrillic is transliterated with one Russian-style table, so Ukrainian Київ comes out as kiyiv rather than the official kyiv; check names you care about. Other scripts are kept as they are: modern browsers display them and send them percent-encoded, which search engines accept.
- No more collisions or hyphen runs. C++ and C# become c-plus-plus and c-sharp instead of both turning into “c”, & becomes “and”, and “ - ”, “__” or “--” collapse to one separator. Re-test: 13 of 13 sample titles came out as expected (3 of 13 before).
- Options. Hyphen, underscore or dot separator, lowercase on or off, and a maximum length that trims at the last whole word when it can; there is no stop-word removal.
Sources
Checked on .
Frequently Asked Questions
📖 Learn More
Related Article The Complete Guide to URL Encoding and Slugs → Related Article How to Generate URL Slugs →Built by Derek Giordano · Part of Ultimate Design Tools