Mello
Text

Slug Generator

Convert any phrase to a clean URL slug.

Runs in your browserNo account requiredNo uploadFree
Loading tool…

About Slug Generator

Slug Generator turns any phrase into a URL-safe slug — letters, digits, and a chosen separator (hyphen by default), with no spaces, no punctuation, and no accents. By default the slug is lowercased; toggle that off if you want to preserve case. It is the tool for the everyday job of making a clean URL from a blog post title, a product name, a category heading, a folder name, or any string that needs to live inside a web address.

Worked example: 'My First Blog Post! (2026)' becomes 'my-first-blog-post-2026'. 'Café au lait — €5' becomes 'cafe-au-lait-5'. The generator (in default mode) lowercases everything, strips punctuation, normalizes accented characters to their ASCII equivalents via Unicode NFD decomposition, collapses runs of separators, and joins the remaining words with the chosen separator. Trailing and leading separators are trimmed so the slug never starts or ends with one.

Two notes worth knowing. Hyphens are the web-wide default because they read well in URLs and search engines treat them as word boundaries; underscores, by contrast, are sometimes treated as part of a single token, which can hurt parsing. The separator can also be set to underscore or dot if your platform expects one of those. The slugifier handles accents via Unicode NFD decomposition (é → e), but does not transliterate non-Latin scripts — Chinese, Cyrillic, Arabic, and similar characters are stripped, so for non-Latin URLs you want a language-specific slugger. There is no built-in length cap; trim the slug yourself if your platform requires one (50–80 characters is good SEO practice).

All slugification runs in your browser. Drafts and unpublished titles are never uploaded.

Frequently asked questions

Yes — 'café' becomes 'cafe' via Unicode NFD normalization (the accent is stripped after the base letter is separated).

More text tools

Word & Character Counter
Word, character, sentence, paragraph counts and reading-time estimate.
Text
Case Converter
Switch between UPPER, lower, Title, Sentence, camel, snake, and kebab case.
Text
Text Diff Tool
Compare two pieces of text and see what changed, line by line.
Text
Lorem Ipsum Generator
Generate placeholder text by paragraph, sentence, or word count.
Text
Fancy Text Generator
Convert text into 𝐛𝐨𝐥𝐝, 𝑖𝑡𝑎𝑙𝑖𝑐, 𝒔𝒄𝒓𝒊𝒑𝒕, ѕᴍᴀʟʟ ᴄᴀᴘѕ and many more styles.
Text
Line Tools (Sort, Dedupe, Reverse)
Sort, dedupe, or reverse lines — handy for cleaning up data.
Text