Text to Slug Converter

Convert any text into a URL-friendly slug — lowercase, hyphens for spaces, special characters removed.

Features

Auto lowercase
Replace spaces with hyphens
Remove special characters
Transliteration support

How to Use

1. Type or paste your text into the input.

2. The slug updates live on the right.

3. Click Copy to copy it.

About this tool

A slug is the readable part of a URL that identifies a page, like /blog/how-to-bake-bread. Good slugs are short, lowercase, use hyphens between words and avoid characters that must be percent-encoded. This tool converts any title into that form as you type: letters and digits are kept, spaces and punctuation become a single separator, and leading or trailing separators are removed. Choose a hyphen, underscore or dot as the separator and lowercase, uppercase or preserved letter case. Turn on "Strict ASCII only" to transliterate accented Latin letters, so "Café Crème" becomes cafe-creme. Characters from scripts such as Chinese, Japanese, Cyrillic or Arabic are not transliterated and are removed, so write an English or romanised slug for those pages.

Frequently Asked Questions

Should I use hyphens or underscores in URLs?
Use hyphens. Google treats hyphens as word separators, while words joined by underscores can be read as one word. Hyphens are also the convention for most content management systems.
What happens to accented letters like é or ü?
With "Strict ASCII only" turned on, accents are removed and the base letter is kept, so é becomes e and ü becomes u. With it off, accented letters are treated as non-alphanumeric and replaced by the separator, so keep strict mode on for European languages.
Can I make a slug from Chinese, Japanese or Arabic text?
This tool keeps only the letters A–Z and digits, so non-Latin text produces an empty or partial slug. Write a short slug in English or in a romanisation such as Pinyin or Romaji, or use a transliteration tool first.
How long should a slug be?
Keep it short and descriptive, typically three to six words. Remove filler words such as "a", "the" or "and" when the meaning stays clear, and avoid dates if the content may be updated later.
Should I change the slug of an existing page?
Only when necessary. Changing a published URL breaks existing links and bookmarks, so if you do, set up a permanent 301 redirect from the old address to the new one.

Related Tools