Slug Generator
Make URL-friendly slugs.
Input
0 lines, 0 characters
Result
Slugs keep letters and numbers and join the words with a separator.
Slug generator online
Turn titles and phrases into clean, URL-friendly slugs. Paste your text, choose a separator and copy the result.
- Clean URL-friendly slugs. Spaces and punctuation become a single separator, and anything that is not a letter or number is removed.
- Accents handled for you. Café becomes cafe, Münchën becomes munchen, and letters such as ß, ø and ł are converted to plain equivalents.
- Hyphen, underscore or dot. Pick the separator that suits your URLs, file names or identifiers.
- Stop words and length limit. Drop small words such as the, of and and, and cap the slug length. Long slugs are cut at a whole word.
- Many slugs at once. Put one title per line to make a whole list of slugs in one go, or treat the whole text as one slug.
- Other alphabets. Keep Cyrillic, Greek, Arabic, Chinese and other non-Latin letters if your site supports them.
- Private by design. Slugs are made in your browser. Your text is never sent to a server or stored.
Uses of a slug generator
- Blog posts and pages. Turn a headline into a short, readable web address.
- Product and category URLs. Create consistent slugs for an online shop or catalog.
- File and folder names. Make names that are safe on every system, with no spaces or special characters.
- CMS imports and migrations. Convert a long list of titles to slugs in one paste.
- IDs and keys. Produce lowercase, separator-joined identifiers for code and databases.
Slug generator questions
What is a slug?
A slug is the readable last part of a web address, such as better-sleep-tips in example.com/blog/better-sleep-tips. It is usually lowercase and uses hyphens between words.
How do I turn a title into a slug?
Type or paste the title into the Input box. The slug appears at once on the right and you can copy it with one tap.
Should I use hyphens or underscores?
Hyphens are the usual choice for URLs, and search engines read them as word separators. Underscores suit file names and code identifiers.
What happens to accents and special letters?
Accents are removed, so é becomes e. Letters such as ß, æ, ø, ł and þ become ss, ae, o, l and th.
What happens to text in Chinese, Russian or Arabic?
By default only a-z and 0-9 are kept, so these letters are removed. Turn on Keep other alphabets to keep them in the slug.
What are stop words?
Stop words are small common words such as a, the, of and and. Removing them makes slugs shorter. If a title is made only of stop words, they are kept.
How long should a slug be?
Shorter is easier to read and share. Many sites keep slugs under about 60 characters. Set a maximum length and the slug is cut at a whole word.
Can I make many slugs at once?
Yes. Put one title per line and each line becomes its own slug. Empty lines are skipped.
Does it work on a phone or tablet?
Yes. The layout adapts to any screen and works with touch.
Is my text saved or uploaded?
No. Everything happens in your browser on your own device.