URL Slug Generator
Convert any page title into a clean, lowercase, hyphenated URL slug. The result updates live as you type and keeps only ASCII letters, digits, and hyphens.
How to use this tool
- 1
Type or paste your page title or heading into the input box.
- 2
Watch the slug update instantly below the field as you type — there is no Generate button.
- 3
Click Copy to put the generated slug on your clipboard, ready to paste into your CMS or route.
- 4
Edit the title if the slug was cut off at 80 characters or ends in a stray hyphen, then copy again.
What is a URL slug and how does this tool build one?
A URL slug is the human-readable tail of a web address, such as 'how-to-bake-bread' in /blog/how-to-bake-bread. A good slug is lowercase, uses hyphens between words, and avoids spaces or punctuation that browsers would percent-encode into noise like %20. Readable slugs help SEO by putting keywords in the URL and make links easier to share and trust. This tool transforms your text in a fixed sequence: it lowercases everything, decomposes accented characters and strips the accents (so 'café' becomes 'cafe'), removes every character that is not a-z, 0-9, a space, or a hyphen, trims surrounding whitespace, converts runs of spaces into single hyphens, collapses repeated hyphens, and finally caps the result at 80 characters. The accent-stripping step is followed by an ASCII-only filter, which means non-Latin scripts and emoji are deleted rather than transliterated: Cyrillic, Chinese, Arabic, or Japanese input produces an empty or partial slug. For those languages you need a dedicated transliteration library. The tool is a lightweight helper for Latin-script titles, not a full Unicode slug engine.
Common use cases
Generate a clean post slug from a blog headline before publishing in your CMS.
Create stable URL paths for product or category pages in an e-commerce store.
Turn documentation section titles into anchor-friendly identifiers for deep links.
Produce predictable route segments when scaffolding pages in a static site generator.
Normalize accented names like 'Renée Dubois' into ASCII slugs such as 'renee-dubois'.
Quickly check whether a long title will be truncated by an 80-character URL limit.
Frequently asked questions
Does this tool send my text anywhere?▼
Why did my non-English title produce an empty slug?▼
Should I use hyphens or underscores in slugs?▼
Is there a length limit on the slug?▼
Does the tool remove hyphens at the start or end of my input?▼
Does this strip common stop words like 'the' or 'of'?▼
Related tools
Password Generator
Generate secure random passwords.
WordPress Username Generator
Generate secure WordPress usernames.
Domain Name Generator
Generate available-looking domain name ideas.
Business Name Generator
Generate brandable business name ideas.
Lorem Ipsum Generator
Generate placeholder text in paragraphs, words, or bytes.
QR Code Generator
Generate QR codes for URLs, text, WiFi, vCards.