Skip to content
ToolZone

Slug Generator

Convert any title or heading into a clean, URL-friendly slug, automatically lowercasing text and replacing spaces and special characters with hyphens.

Runs in your browser. Nothing you enter or upload leaves your device.

Separator
Max length
your-slug-will-appear-here

Accented letters are converted (café → cafe, Straße → strasse), & becomes “and”, and a max length cuts at a whole word.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Slug Generator

The Slug Generator turns a page title or phrase into a URL-friendly slug: lowercase, no punctuation, with words joined by hyphens or underscores. Type a title and the slug appears below, ready to paste into your CMS or code.

How it works

The text is normalized with Unicode decomposition so accented letters split into a base letter and an accent, and the accents are removed. Letters with no decomposition are spelled out (ß → ss, æ → ae, ø → o), & becomes "and", and apostrophes are dropped so "don't" becomes "dont".

Everything that isn't a letter or digit splits the text into words, which are joined with your separator. Optionally, common stop words (a, an, the, of, and…) are removed and the slug is cut to a maximum length at the last whole word. Letters from other scripts, such as Cyrillic or Greek, are kept as they are.

How to use

  1. 1

    Type a title, or several titles one per line.

  2. 2

    Pick a separator and a max length, and choose lowercase and stop-word removal. These options are kept in the page link.

  3. 3

    Copy the slug, or copy all and download for many titles.

Worked examples

Blog title

A post title with punctuation and parentheses.

Input
10 Tips for Better Sleep (2026 Edition)!
Result
10-tips-for-better-sleep-2026-edition

Underscore separator

Messy spacing and dashes.

Input
Hello, World -- Again
Result
hello_world_again

The comma is removed and the run of spaces and dashes collapses into one underscore.

Accented input

A French dish name.

Input
Café crème brûlée & Co.
Result
cafe-creme-brulee-and-co

Accents are converted to plain letters and & becomes "and".

Limitations
Non-Latin scripts are kept as-is rather than transliterated to Latin letters. Stop-word removal uses a short English list.
Assumptions
The slug will be used in a URL path or as an identifier.
Privacy
The slug is generated in your browser; your input is not sent or stored.

Frequently asked questions

Why use hyphens instead of underscores in a slug?+

Google has long recommended hyphens because they are treated as word separators in URLs, while underscores may join words together.

What happens to special characters and accents?+

Punctuation is removed, and accented letters are converted to their plain form, so é becomes e and ü becomes u.

Are numbers kept?+

Yes. Digits are kept, so years and list numbers stay in the slug.

Can I change a slug after publishing?+

You can, but set up a 301 redirect from the old URL so existing links and search rankings are not lost.

Related tools