Slug Generator
Readable, SEO-friendly URL slugs from any title, one at a time or in bulk.
Type or paste a post title, product name or heading.
Your text has several lines.
Slug
Duplicates that were numbered
| Line | Title | Slug | Same as line |
|---|
About the Slug Generator
A slug is the readable part of a web address that names one page, like how-to-save-tax in example.com/blog/how-to-save-tax/. This generator turns any title into a clean slug: lower case, words joined by hyphens, accents converted to plain letters (crème brûlée becomes creme-brulee), & written as and, and emoji and punctuation removed.
Switch to Bulk to paste a whole list and get one slug per line. Duplicate titles get -2, -3 and so on, so every slug in the list is unique and ready to import into a CMS or spreadsheet.
How to use it
- Type or paste a title. For many titles, switch to Bulk and paste one per line.
- Adjust the options if you need to: separator, maximum length, lower case, stop-word removal, German umlauts (ä → ae) or keeping non-Latin letters.
- Copy the slug. In bulk mode, copy all the slugs or download a CSV with titles and slugs side by side.
Examples
Crème Brûlée & Café Déjà Vu: 10 Easy Recipes! 🍮
creme-brulee-and-cafe-deja-vu-10-easy-recipes
The Best Way to Learn a New Language Fast
best-way-learn-new-language
Without the limit the slug would end in -fast; the cut is made between whole words.
Summer Sale Summer sale! Winter Sale
summer-sale summer-sale-2 winter-sale
Common uses
- Writing permalinks for blog posts, product pages and documentation.
- Creating URL paths for hundreds of products or articles at once from a spreadsheet column.
- Making file names or anchor IDs from headings.
What makes a good slug
- Short and descriptive. Keep the words that say what the page is about; a few words are usually enough.
- Hyphens between words. Google recommends hyphens rather than underscores to separate words in URLs (Google Search Central).
- Lower case. Many web servers treat
/Blogand/blogas different pages; lower case avoids accidental duplicates. - Stable. Changing a published slug breaks existing links unless you add a redirect, so settle it before you publish.
- Only safe characters. Letters, digits and
- _ . ~never need encoding in a URL (RFC 3986).
How characters are converted
- Accented Latin letters lose their accents: é → e, ñ → n, ç → c, ă → a. Letters that have no separate accent are spelled out: ß → ss, æ → ae, ø → o, ł → l, þ → th.
- With German umlauts on, ä, ö and ü become ae, oe and ue, as German spelling does when umlauts are not available.
- & becomes and. Other symbols (™, ©, $, +, emoji) and punctuation are removed, and apostrophes are dropped so don’t stays one word:
dont. - Letters from other scripts (Devanagari, Cyrillic, Arabic, Chinese…) have no single correct Latin spelling, so they are removed, or kept as they are with Keep non-Latin letters. Browsers show such Unicode slugs normally, but they are sent percent-encoded (
%E0%A4…) and become much longer. - HTML entities copied from page source, such as
&and’, are decoded first.
Bulk mode and duplicates
Each line becomes one slug and blank lines stay blank, so the result lines up with your list and can be pasted into the next spreadsheet column. When two titles give the same slug, the second gets -2, the third -3 and so on, skipping any number already taken by another title anywhere in the list: for Post, Post and Post 2 you get post, post-3 and post-2. Duplicates are found regardless of capital letters: some servers treat /Post and /post as the same address and others as two different pages, and numbering them avoids both problems. The CSV download has a header row and quoted fields, and starts with a UTF-8 byte order mark so that Excel shows accented letters correctly.
Limitations
- Stop-word removal uses a short list of English words (a, an, the, and, or, of, to, in, on, for, with…). Words such as not, no and how are kept because removing them changes the meaning.
- Only Latin letters are converted. For Hindi, Russian or Chinese titles, keep the original script or type a Latin version of the title.
- Duplicates are detected only within the list you paste; the tool cannot see slugs that already exist on your site.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What is a URL slug?
The part of a web address after the domain that names one page, for example best-running-shoes in example.com/blog/best-running-shoes/. A clear slug tells people and search engines what the page is about before they open it.
Should I use hyphens or underscores?
Hyphens. Google’s URL structure guidelines recommend hyphens (-) rather than underscores (_) to separate words.
How long should a slug be?
There is no fixed limit, but short slugs are easier to read, share and remember. Use Maximum length to keep slugs to, say, 50–60 characters; the cut is always made between whole words.
Should I remove stop words like "the" and "of"?
Only if the slug stays clear. best-way-learn-language reads fine, but how-to-tie-a-tie would become how-tie-tie. That is why stop-word removal is off by default, and it never removes every word.
Are my titles sent anywhere?
No. Slugs are generated in your browser and nothing is uploaded or stored.