loot.tools

Slug Generator

Slugify any text into a tidy URL slug. Accented and non-ASCII letters fold down to plain ASCII, punctuation and symbols drop out, and runs of spaces collapse into a single hyphen or underscore. Optional toggles lowercase the result, strip common filler words, and cap the length at a word boundary.

Turn a title or heading into a clean, URL-safe slug. Accents fold down to plain ASCII, punctuation drops out, and spaces become a single separator.

Separator
Options
Slug

What a slug is

A slug is the human-readable part of a URL that names a page, like 'how-to-make-bread' in /blog/how-to-make-bread. Clean slugs are lowercase, use hyphens instead of spaces, and contain only letters, digits, and the separator. They read well, survive copy-paste, and help search engines understand what a page is about.

How to use it

Paste a title or heading and the slug updates as you type. Switch the separator between a hyphen and an underscore, set a maximum length to keep URLs short, and toggle whether to lowercase the output. 'Fold accents to ASCII' turns café into cafe and Crème into creme so the slug stays portable. 'Remove common filler words' drops short words like the, a, and of for a tighter slug.

When you'd reach for this

  • You're writing a blog post and need a permalink from the title
  • Or you're naming a file or folder and want a safe, spaceless name
  • Or you're building a CMS and want to preview the slug a title will generate
  • Everything runs in your browser, so nothing you paste is sent anywhere