URL Slug Generator
Turn any title into a clean URL slug: lowercase, hyphenated, accents stripped, special characters removed. Updates as you type, with a character count and one-click copy.
Runs in your browser — your code and data never leave this device
How do I make a URL slug from a title?
Type or paste your title and this free online URL slug generator turns it into a clean lowercase slug: words joined with hyphens, accents stripped, and nothing else. Copy it and paste it into your post URL — the slug is built in your browser, with nothing uploaded.
Related tools
How to use the URL Slug Generator
- Type or paste your page title into the box — the slug updates live as you type.
- Accents are stripped, capitals become lowercase, spaces and punctuation become single hyphens, and leading or trailing hyphens are removed.
- Check the length and word count. Short slugs of three to five words are usually best.
- Click Copy slug and paste it into your page URL, blog post or product link.
For the full picture — what a slug is, how a good one is made, and why changing one later needs a redirect — read our guide: How to Create a URL Slug (Free Slug Generator).
What a URL slug is
A slug is the readable tail of a web address: the how-to-make-coffee part of example.com/blog/how-to-make-coffee. It is the part of the URL a human can read and remember, and it is the part that shows up in search results under your page title. A good slug tells a reader what the page is about before they click, and it tells a search engine the same thing.
Slugs exist because URLs have strict rules. Spaces are not allowed, capital letters can cause problems on some servers, and special characters get encoded into ugly percent sequences. A slug replaces all of that with lowercase letters, numbers and hyphens — the safest characters in a URL, on every server and in every browser.
How a good slug is made
The recipe is simple and this tool follows it exactly. Convert everything to lowercase, strip accents so cafe becomes cafe instead of caf%C3%A9, replace every run of spaces and punctuation with a single hyphen, and trim hyphens from the ends. Numbers stay, because dates and version numbers belong in URLs. Everything else goes.
Length matters too. A slug of three to five words is easy to read and easy to share; a slug that copies the entire title becomes a long, awkward link. Shorten the title before you slugify it — keep the words that describe the page and drop the filler. If the slug still feels long, edit the title down and generate again.
Small words deserve a decision of their own. Words like a, the, and, of and to add little meaning to a slug, and many sites drop them: how-to-make-coffee reads better than how-to-make-the-perfect-cup-of-coffee. But removing too much can make a slug cryptic, so keep the words a stranger would need to understand the topic. Read the finished slug out loud — if it sounds like a sentence fragment that describes the page, it is right.
Slugs, SEO and changing a slug later
A descriptive slug helps a little with search: it puts your topic words in the URL, which search engines read as one small relevance signal, and it makes the link more inviting to click in search results. But a slug is a minor signal, not a ranking strategy — the page content matters far more. Do not stuff keywords into a slug; one natural mention of the topic is enough.
Changing a slug after a page is published is a different matter. The old URL stops working unless you set up a redirect, and anyone who linked to the old address lands on a dead page. Pick a slug you can live with, and if you must change one, redirect the old URL to the new one so links and search rankings follow it.
Hyphens, not underscores: what makes a slug SEO friendly
An SEO friendly slug generator free online does one job well: it takes a title and returns a short address a human can read and a search engine can split into words. Hyphens matter here — search engines treat a hyphen as a word separator, so a slug like how-to-make-a-slug reads as separate words, while underscores are read as part of one long word. That is why this tool uses hyphens only, and why accents are stripped: cafe is safer in a URL than café.
Keep slugs short and descriptive: the words that describe the page, in the order a reader would expect, and nothing extra. Dates, random numbers and filler words add length without meaning, and a slug rarely needs changing once a page is published — changing it later means the old address stops working unless you set up a redirect. One title at a time here: paste the title, copy the slug, and move on.
Frequently asked questions
Why are underscores not used in slugs?
Search engines treat hyphens as word separators but treat underscores as part of a word, so my-page reads as two words while my_page reads as one. Hyphens are the standard for slugs.
What happens to accented letters like e with an accent?
Accents are stripped, so cafe becomes cafe and resume becomes resume. This keeps the URL readable in every browser and avoids percent-encoded characters.
How long should a slug be?
Three to five words is a good rule of thumb. Short enough to read at a glance, long enough to describe the page. Very long slugs look messy and get cut off in search results.
Can I change a slug after publishing?
Yes, but set up a redirect from the old URL to the new one, or links and search results pointing to the old address will break. Pick a slug you can keep.
Is my text uploaded anywhere?
No. This tool runs entirely in your browser using JavaScript. Your text is never uploaded, stored or sent anywhere — everything stays on this device.
Why are hyphens better than underscores in a slug?
Search engines treat hyphens as word separators, so each word in the slug is read separately. Underscores are read as part of one long word, which makes the slug harder to understand. This tool uses hyphens only.
What happens to accents in a slug?
They are stripped: café becomes cafe, and other accented letters are converted to their plain Latin equivalents. Plain letters are safer in a URL, because accented characters can be encoded into long, unreadable strings.
Should a slug include the whole title?
No — keep it short and descriptive. Use the words that describe the page and leave out the rest: a short slug is easier to read, easier to share, and easier to remember than a full title squeezed into a URL.