URL slug generator
Paste a title and get back a clean, lowercase, hyphen-separated URL slug — accents stripped, symbols removed, repeated separators collapsed. Choose an underscore instead of a hyphen, keep the original case, or cap the length for a tidier URL.
- Nothing you type leaves this page
- Works offline once loaded
- Free forever, no signup
Preparing Slug Generator for you…
Loading the tool into your browser. Nothing is uploaded — the work happens on your device.
How to use this tool
-
Type or paste a title
The slug updates on every keystroke — there is no button to press.
-
Adjust the options
Pick a separator, decide whether to force lowercase, and set a maximum length if your CMS needs one.
-
Copy the slug
Use it directly in a blog post URL, a file name, or a database key.
Questions people ask
What makes a good URL slug?
Short, lowercase, hyphen-separated words that include your target keyword. Search engines and readers both parse a slug like /best-budget-laptops-2026 far faster than a raw title with punctuation and capitals in it.
How does it handle accented characters like é or ñ?
Text is Unicode-normalised and decomposed so an accent becomes a separate, removable mark — "Café" becomes "cafe", not "caf" or a broken character. "Café — Déjà Vu!" turns into "cafe-deja-vu".
Should I use a hyphen or an underscore?
Hyphens are the near-universal SEO convention — Google explicitly treats a hyphen as a word separator, but does not treat an underscore the same way, so "cafe-deja-vu" is understood as three words while "cafe_deja_vu" may be read as one token.
Why cap the slug length?
Very long slugs get truncated in search results and are awkward to share. Capping at roughly 60 characters keeps the important keywords near the start and avoids an ugly mid-word cut, which this tool avoids by trimming back to the nearest separator.
Is anything I paste here sent to a server?
No. The whole tool is JavaScript running in your browser, and this site has no endpoint that accepts text. That matters when what you are pasting is a real API payload, a customer record, or a password.
Related tools
- URL Encoder/Decoder Percent-encode or decode text and URLs in your browser, plus a query-string parameter table view...
- Case Converter Convert text between UPPER CASE, lower case, Sentence case, Title Case, camelCase, snake_case an...
- Word Counter Count words, characters, sentences and reading time as you type. Free, instant, and the text nev...
Bookmark this page — the tool keeps working offline, and your settings stay in this browser. Built by Dynamb Technologies, who make software for a living.