Slug Generator
Turn any headline or title into a clean URL slug — lowercase, hyphenated, accent-free.
All cases — live preview (click any result to copy it)
Private by design — every conversion runs locally in your browser. Your text is never uploaded, stored or tracked.
A slug is the readable part of a URL that identifies a page: in example.com/blog/10-tips-for-better-writing, the slug is “10-tips-for-better-writing”. Good slugs are lowercase, use hyphens between words, contain the page's key words, and drop everything else — punctuation, symbols and accents.
This generator applies the full cleaning process, not just lowercasing: accented letters are transliterated (é → e, ü → u), apostrophes and punctuation are removed, runs of spaces and symbols collapse into single hyphens, and no slug starts or ends with a hyphen. Paste a title in any language that uses the Latin alphabet and get a URL that is safe to share, print and type.
When to use it
- Creating permalinks for blog posts, articles and product pages
- Naming uploaded files so their URLs stay clean and portable
- Building routes in a web app from user-entered titles
- Shortening long, messy titles into readable links for sharing
- Standardizing URLs when migrating a site or CMS
How it works
- Accented letters are transliterated to their base letters using Unicode normalization (é → e, ü → u, ñ → n).
- The text is lowercased, and apostrophes are removed outright so “what's” becomes “whats”, not “what-s”.
- Every run of spaces, punctuation or symbols collapses into a single hyphen.
- Leading and trailing hyphens are trimmed, so the slug is clean at both ends.
Examples
Accents are transliterated and symbols dropped.
Apostrophes are removed so words stay joined naturally.
Good to know
A slug is a promise: once a page is shared, indexed and linked, its URL should not change, because every change costs redirects and risks lost traffic. That is why slug craft is mostly about leaving things out — no dates that will stale, no version numbers, no words that only made sense in the week of publication. The title “10 Tips for Better Writing” makes the durable slug “10-tips-for-better-writing”; the number can be updated in the article without the URL lying, which is the standard trick behind most evergreen content.
Length deserves one honest paragraph. Shorter slugs are easier to share, type and read aloud, and search results display them fully; but a slug stripped so aggressively that it no longer describes the page helps nobody. The working rule used by most content teams: keep the words someone would search for, drop pure filler if the slug runs long, and stop there. This generator keeps short words by default because “the” and “of” often carry the readability of a title — delete them from the result by hand only when length truly demands it.
Frequently asked questions
What makes a good URL slug?
Short, descriptive and stable: use the words a reader would search for, keep it lowercase with hyphens, skip filler where you can, and avoid dates or numbers you may need to change later — a URL you never have to redirect is the best URL.
Should I remove words like “the” and “and” from a slug?
It is optional. Search engines ignore them either way, and keeping them often reads better. This generator keeps short words (only punctuation and symbols are removed); if you want a shorter slug, delete them from the result before using it.
Does the generator work with accented or non-English titles?
Yes for languages written in the Latin alphabet: accents are stripped to their base letters (Crème → creme, Über → uber). Scripts such as Arabic, Chinese or Cyrillic are not transliterated by this tool and would need a dedicated slugifier.
Is my text uploaded or stored?
No. The conversion runs entirely in your browser. Nothing you type is sent to a server, stored or logged.
Should a slug contain the full title?
Rarely word for word. Keep the descriptive keywords, drop anything that will date or that adds length without meaning, and aim for a slug a person could guess the topic from. Three to six words is a common comfortable range, not a rule.
Can a slug contain numbers?
Yes — digits are kept, so “iOS 19” becomes “ios-19” and list posts keep their counts (“10-tips…”). Just remember that a number in a URL is a commitment: if the list grows to 12 tips, the slug will say 10 until you redirect it.