Slug Generator

0 means no limit. Long slugs are cut at a word boundary.

Results

A slug is the readable part of a web address, like easy-pancakes in example.com/recipes/easy-pancakes. Good slugs are short, lowercase, and free of spaces, accents and symbols.

How to use it

  1. Type or paste a title, or several (one per line).
  2. Pick hyphens or underscores and any options.
  3. Copy the slugs.

Examples: “Crème Brûlée: 10 Easy Recipes!” becomes creme-brulee-10-easy-recipes, and “Don’t Stop Me Now” becomes dont-stop-me-now.

Questions and answers

Hyphens or underscores?

Hyphens. Search engines treat a hyphen as a space between words, while an underscore can join words together. Use underscores only where a system needs them (some file names and code).

What happens to Japanese or other alphabets?

By default they’re dropped, leaving only a–z and 0–9. Untick Only a–z and 0–9 to keep them; browsers show them fine, though links copied elsewhere may turn them into %-codes.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textThe title(s), one per line.
sephyphen or underscore.
lower1 for lowercase (default), 0 to keep capitals.
ascii1 for a–z and 0–9 only (default), 0 to keep other alphabets.
maxMaximum length; 0 for no limit.

Example: https://toolabelle.com/slug-generator/#text=Cr%C3%A8me+Br%C3%BBl%C3%A9e%3A+10+Easy+Recipes%21&sep=hyphen&lower=1&ascii=1&max=60

Related tools