Slug Generator

Type a title and get a clean, lowercase, SEO-friendly URL slug - accents stripped, symbols gone, updating as you type.

Slug

What makes a good slug

A slug is the human-readable tail of a URL, and search engines use it as a ranking and relevance signal. The rules are simple: all lowercase, words separated by hyphens, and nothing but letters, numbers and hyphens - no spaces, no punctuation, no accents. This generator applies all of that automatically as you type, so you can lift a headline straight into a clean address.

How the conversion works

The text is put through a few steps in order. First accents are stripped by splitting each character into its base letter and its accent mark (Unicode NFD normalisation) and dropping the mark, so "e" with an accent becomes plain "e". Then everything is lowercased, symbols and punctuation are removed, and runs of spaces collapse into a single separator. Finally any leading or trailing separators are trimmed off.

Options that help

  • Separator - hyphen for web URLs (the SEO default), or underscore for filenames and code identifiers.
  • Remove stop words - drops filler words like "the", "and" and "of" for a tighter, keyword-led slug.
  • Max length - caps the slug and trims at a whole word so it never ends mid-word. Around 60 characters is a sensible ceiling.

Building a whole content workflow? Convert your headline's casing with the case converter, sanity-check its length against search limits with the character counter, and turn finished Markdown into pages with the Markdown to HTML converter.

Frequently asked questions

What is a URL slug?
A slug is the readable part of a web address that names the page, like "url-slug-generator" in example.com/url-slug-generator. Good slugs are lowercase, use hyphens instead of spaces, and contain only letters, numbers and hyphens.
Should I use hyphens or underscores in a URL?
Hyphens. Google treats a hyphen as a word separator but reads an underscore as joining words together, so "blue-widget" is seen as two words while "blue_widget" can be read as one. Hyphens are the SEO-safe default; the underscore option is here mainly for filenames and code.
How are accented characters handled?
They are converted to their closest plain ASCII letter, so "cafe" with an accent becomes "cafe" and "Munchen" style umlauts become "munchen". This keeps slugs safe across every browser and server.
What are stop words and should I remove them?
Stop words are small filler words like a, the, and, of and to. Removing them makes a slug shorter and keyword-focused, turning "the best guide to seo" into "best-guide-seo". It is optional - keep them if the slug reads better with them in.
How long should a URL slug be?
Short and descriptive is best - typically three to six words, or around 60 characters. Use the max length option to cap it; the tool trims at a word boundary so you never cut a word in half.