Skip to main content

Slug Generator

Generate URL-friendly slugs

Input Text

Up to 65,536 characters. Text stays in this tab and is cleared when you leave or reload.

Result
Generated URL slug will appear here...

Was this Slug Generator helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Slug Generator

  • Make seo friendly url
  • Turn title into slug

How this text processing works

Turn titles and phrases into lowercase URL-friendly slugs with selectable separators.

Example input

What's New in EasyUtils 2.35? (Fast & Client-Side!)

Example output

whats-new-in-easyutils-2-35-and-fast-and-client-side

Practical workflow

  1. Enter a title, product name, or phrase in the source field.
  2. Enter hyphen (-), underscore (_), or period (.) in the Separator field.
  3. Review the lowercase result; accents are normalized and ampersands become 'and'.
  4. Copy the slug and use it as a URL path segment or filename.

Common use cases

  • Creating permalinks for blogs, articles, and product pages.
  • Generating clean URL routing slugs for web applications.
  • Preparing readable filenames from titles that contain punctuation or accents.

Important notes and limitations

  • Uses Unicode NFKD normalization and removes combining marks; this handles many accented Latin letters but does not transliterate every writing system.
  • Converts ampersands to the word 'and', replaces other punctuation or symbols with the selected separator, and collapses repeated separators.
  • Always lowercases text and preserves words and numbers; there are no stop-word or lowercase toggles.
  • Only a single hyphen (-), underscore (_), or period (.) is accepted. Blank values, other characters, and multi-character strings are rejected. Text input is capped at 65,536 characters and stays in the open tab only; it is cleared when you leave or reload.

CLI slugify & URL-safe string normalization

Generate URL slug with tr and sed in bash

echo 'Hello World & Best Practices 2026!' | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9]+/-/g' | sed -E 's/^-|-$//g'

Converts text to lowercase, replaces non-alphanumeric sequences with hyphens, and trims boundary hyphens.

Transliterate international Unicode to ASCII slug

python3 -c "import unicodedata, re; s = unicodedata.normalize('NFKD', 'Özgür Yazılım Dünyası').encode('ascii', 'ignore').decode('utf-8'); print(re.sub(r'[^a-zA-Z0-9]+', '-', s.lower()).strip('-'))"

Decomposes accented characters (Ö -> O, ü -> u, ı -> i) before generating clean ASCII URL slugs.

Unicode transliteration & slug collision troubleshooting

Slugs stripping non-Latin characters (e.g. Arabic, Cyrillic, Chinese)

Cause: Overly aggressive ASCII regex '[^a-z0-9]' completely wipes non-Latin alphabets, leaving empty slugs.

Solution: Preserve Unicode letters with '\p{L}' regex or store slug transliteration tables per supported language.

Database unique constraint violation on duplicate slugs

Cause: Multiple articles with identical titles generate identical slugs in a public CMS.

Solution: Append a unique random hash (e.g. 'article-title-7x9q') or auto-incrementing suffix to ensure uniqueness.

Continue your workflow

  • URL Encoder — percent-encode individual URL component values.
  • Text Utilities — transform text casing between camelCase, snake_case, and kebab-case.

Frequently asked questions

What happens to accented Latin letters in a slug?

The generator applies Unicode NFKD normalization and removes combining marks, so 'crème brûlée' becomes 'creme-brulee'. It does not transliterate every script.

Which separator characters can I select?

Enter exactly one hyphen (-), underscore (_), or period (.) in the Separator field. Blank values, other characters, and multi-character strings are rejected.

Does the slug generator remove common stop words?

No. It preserves words and numbers, lowercases the text, and replaces punctuation with your selected separator.