Slug Generator
Paste a title, or a list of titles, and get tidy slugs for your URLs. Accents are removed, punctuation becomes hyphens, duplicates get a number, and you can put your own address in front to see the full URL.
Free, no sign-up. Your text stays in your browser.
Your titles
Type a title to make a slug.
How to
Make a slug in three steps
Paste the title
One title per line. Each line becomes its own slug.
Choose the options
Hyphens are the usual separator for web addresses. Add a length limit or drop small words to keep slugs short.
Copy the slug
Press Copy and paste it into your CMS or router as the page’s URL ending.
Good URL slugs
- Keep them short and descriptive. A slug that says what the page is about helps people and search engines.
- Use hyphens, not underscores, between words. Search engines treat hyphens as word separators.
- Choose a slug once and keep it. Changing it later means setting up a redirect.
- Leave out dates and numbers that will go out of date, unless the page is really about that year.
FAQ
Slug generator questions
What is a URL slug?
The readable last part of a web address that names the page, such as how-to-bake-sourdough in example.com/blog/how-to-bake-sourdough/.
Should I use hyphens or underscores?
Hyphens. Google treats hyphens as word separators but underscores as joining characters, so how-to-bake reads as three words and how_to_bake as one.
How long should a slug be?
Short enough to read at a glance. Many sites aim for three to six words. The length limit option cuts on a whole word where it can.
What happens to non-English titles?
Accented Latin letters are converted (café becomes cafe). Other alphabets are dropped by default, or kept as they are if you tick the option. Check your CMS accepts them in addresses.
Is my text uploaded?
No. Slugs are made in your browser and nothing is sent to a server.
What does Romanise do, and can I trust it for names?
It swaps each Cyrillic or Greek letter for Latin letters, one by one. That gives a readable slug but not always the accepted spelling of a name or a place, so check those. Other scripts, such as Arabic or Chinese, are not romanised.