ToolWren logo ToolWren
ToolWren › Slug

Slug Generator

Convert a title or sentence into a clean, lowercase, URL-safe slug. Accents are normalised and punctuation is stripped, with a hyphen or underscore separator.

100% client-side · nothing is uploaded

Loading tool…

How to use the Slug

  1. Type or paste a title or sentence.
  2. Pick a separator — hyphen (recommended for SEO) or underscore.
  3. The clean, URL-safe slug appears below.
  4. Click Copy to use it in your URL.

Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.

About Slug

What is a slug?

A slug is the human-readable part of a URL that identifies a page, like 10-best-seo-tips. Good slugs are lowercase, hyphen-separated and free of special characters — better for SEO and sharing.

How it works

The generator lowercases the text, transliterates accented letters (é → e), removes punctuation, and joins words with your chosen separator, collapsing repeats.

Best practices

Keep slugs short and descriptive, include your target keyword, and use hyphens (Google treats them as word separators) rather than underscores.

Frequently asked questions

Hyphens or underscores?
Hyphens are recommended for SEO — search engines treat them as spaces between words, while underscores join words together.
Does it handle accented characters?
Yes — accents are normalised, so Café becomes cafe.
Are uppercase letters kept?
No — slugs are lowercased for consistency and to avoid duplicate-URL issues.

Related tools