# Slug Generator

> Convert a title into a URL-safe slug. Separator, case, max-length, and Unicode transliteration options.

- URL: https://generate.now/slug
- Category: text
- Price: free, no account required
- AI-powered: no
- Last updated: 2026-08-27

## What it does

Turn a title or arbitrary string into a clean URL slug. Configure separator (- or _), case, max length, and Unicode handling. Accented characters are transliterated to ASCII; emoji and unsafe characters are stripped. Runs locally.

## When to use it

- Convert a blog post title into a SEO-friendly URL slug
- Bulk-slugify a list of product names
- Sanitize a user-supplied filename for use as a URL
- Strip emoji and diacritics from a title for filesystem use

## Examples

### 10 Things I Wish I Knew About OKLCH

```
10-things-i-wish-i-knew-about-oklch
```

Lowercased, spaces become hyphens.

### Café Olé — naïve résumé

```
cafe-ole-naive-resume
```

Accented characters transliterated, punctuation stripped.

### Ürün Açıklaması Sayfası

```
urun-aciklamasi-sayfasi
```

Turkish diacritics transliterated to their closest ASCII equivalents.

###   Multiple   spaces & symbols!!  

```
multiple-spaces-symbols
```

Runs of whitespace collapse to one separator; punctuation is dropped, not encoded.

## Frequently asked questions

### Are emojis stripped or transliterated?

Stripped. Emoji don't translate cleanly to ASCII. If you need them encoded, use a URL encoder instead.

### What's the difference between - and _ separators?

Google has long treated hyphens as word breaks and underscores as joiners. For SEO-facing URLs, hyphens are the safer default.

### How long should a slug be?

Aim for under 60 characters where you can. The tool truncates at word boundaries when you set a max-length so you don't end up with a chopped final word.

### What happens if I change a slug after publishing?

Every existing link breaks, including the ones search engines have indexed and the ones other people have shared. If you have to change it, serve a 301 redirect from the old slug to the new one and keep that redirect indefinitely — it passes ranking signals across and stops the old URL 404ing.

### Should slugs be lowercase?

Yes. Path segments are case-sensitive under RFC 3986, so /My-Post and /my-post are two different URLs as far as the spec is concerned. Some servers normalise and some don't, which is how you end up with the same page indexed twice.

### How long should a slug be?

Three to five meaningful words is the sweet spot. Longer slugs get truncated in search results and are awkward to share verbally; shorter ones stop describing the page. Drop stop words — how-to-generate-a-slug beats how-to-generate-a-slug-in-your-application.

## References

- [RFC 3986: URI Generic Syntax](https://datatracker.ietf.org/doc/html/rfc3986) — IETF. Which characters are legal unescaped in a path segment.
- [UAX #15: Unicode Normalization Forms](https://www.unicode.org/reports/tr15/) — Unicode Consortium. The NFD normalisation step behind accent stripping and transliteration.
- [URL structure best practices](https://developers.google.com/search/docs/crawling-indexing/url-structure) — Google. Google's guidance on readable, hyphen-separated URLs.

## Related tools

- [Lorem Ipsum Generator](https://generate.now/lorem): Generate placeholder text in seconds. Classic Latin or modern variants — corporate, hipster, bacon. By paragraphs, sentences, or words.
- [Regex Generator](https://generate.now/regex): Describe what you want to match in plain English. Get a regex pattern with a live test panel and a token-by-token breakdown.
- [Meta Tags Generator](https://generate.now/meta-tags): Generate a full SEO + OpenGraph + Twitter Card meta tag block. Optional AI-suggest from a URL or page description.
