Skip to content

URL slug generator

Turn a title into a clean, safe URL slug.

Free, no signup, and it runs entirely in your browser.

your-slug-appears-here

About this tool

A slug is the readable part of a URL after the domain. The work is not lowercasing and hyphenating — it is everything else: accented characters that become percent-encoded mush, emoji that survive in the address bar and break when pasted into chat, and the trailing punctuation that some parsers swallow into the link and others do not.

  • Accents are folded to their base letters rather than stripped, so café becomes cafe and not caf. Transliterating keeps the word readable and searchable; deleting the character does not.
  • Stop-word removal is offered but off by default. It shortens a slug at the cost of readability, and short URLs have never been shown to rank better than clear ones.
  • Emoji and other characters outside the ASCII range are removed. They are legal in a URL and survive in the browser, but they break the moment someone pastes the link into a client that does not linkify non-ASCII.
  • Everything runs in your browser.

Questions

Should URL slugs use hyphens or underscores?
Hyphens. Google treats a hyphen as a word separator and an underscore as a joiner, so my_new_tool reads as one word and my-new-tool reads as three.
How long should a slug be?
Long enough to say what the page is, short enough to read at a glance — three to six words is typical. There is no length penalty; there is a comprehension one.
Should I remove stop words from slugs?
Usually not. Removing "the" and "of" saves a few characters and often makes the slug harder to read, which matters more when someone is deciding whether to click a bare URL.

Related tools