Skip to content
WebKitool

Slug Generator

Turn any title into a clean, lowercase, hyphenated URL slug with accents stripped.

Loading tool…

Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.

How to use the slug generator

  1. Type or paste the title.
  2. Adjust the separator or stop-word option if you need to.
  3. Copy the generated slug into your CMS.

About this tool

A slug is the human-readable part of a URL. Good slugs are lowercase, use hyphens rather than underscores or spaces, and avoid punctuation that has to be percent-encoded. This tool applies those rules: it normalises accented characters to their closest ASCII equivalent, strips anything that is not a letter, number or hyphen, and collapses runs of separators.

You can optionally drop common stop words. That shortens a slug, but it is not automatically better for search — a slug that reads naturally is usually worth more than one that is two characters shorter, so use it only when the title is genuinely long.

Common uses

  • Creating a permalink for a new article.
  • Generating file names from titles.
  • Producing consistent identifiers from user-entered names.

Frequently asked questions

Hyphens or underscores?
Hyphens. Search engines treat hyphens as word separators in URLs; underscores are more likely to be read as part of a single token.
What happens to accented letters?
They are normalised to their base letter, so 'café' becomes 'cafe'. Characters from non-Latin scripts are removed rather than transliterated.

Related tools