Slug Generator

Turn a title, heading or any text into a clean, URL-friendly slug — lowercase, hyphenated and stripped of accents and punctuation. Tune the separator and options, and copy the result with one click.

Enter a title to generate a slug.

What a slug is

A slug is the readable part of a URL that identifies a page — the bit after the last slash, like /slug-generator. A good slug uses only safe characters: lowercase letters, numbers and a separator. Turning a title into one (often called slugify) follows a few steps:

lowercase strip accents remove punctuation spaces to "-"

Accented letters are reduced to their plain form (é → e), anything that isn't a letter, number or space is dropped, and runs of spaces collapse to a single separator. The result is short, clean and safe to put in a link.

Worked example

Turning "10 Best Calculators for 2026 — Free & Fast!" into a slug:

Lowercase: "10 best calculators for 2026 — free & fast!".
Strip punctuation & accents: removes —, & and !.
Hyphenate: 10-best-calculators-for-2026-free-fast.

Slug best practices

Keep slugs short and descriptive — a few meaningful words beat a whole sentence. Use hyphens (search engines treat them as word separators, unlike underscores), stick to lowercase to avoid duplicate-URL confusion on case-sensitive servers, and include your main keyword. You can optionally drop filler "stop words" like a, the and of for a tighter slug. Once a page is published, avoid changing its slug, since that breaks existing links unless you set up a redirect.

Tip: need other text transformations like camelCase or Title Case? Use the case converter.

Frequently asked questions

What is a URL slug?

It's the human-readable part of a web address that names the page, such as 'slug-generator' in /slug-generator. Slugs use only lowercase letters, numbers and a separator so they're safe and tidy in links.

Should I use hyphens or underscores?

Hyphens. Search engines treat a hyphen as a word separator but read an underscore as joining words, so 'my-page' is seen as two words while 'my_page' may be read as one. Hyphens are the standard choice.

Why lowercase the slug?

On case-sensitive servers, /My-Page and /my-page are different URLs, which can split traffic and cause duplicate-content issues. Lowercasing avoids that ambiguity.

What are stop words and should I remove them?

Stop words are common filler words like a, the, of and for. Removing them makes a slug shorter and keyword-focused, which many people prefer — but it's optional and sometimes hurts readability.

MB
Mustafa Bilgic · Editor, Calcool
Slug rules follow widely recommended URL conventions (lowercase, hyphen-separated, ASCII). Accent folding uses Unicode normalization. Everything runs in your browser — nothing you enter is uploaded, logged or stored.

Related calculators