Turn a headline into a clean, readable URL slug, with accents transliterated and the separator you prefer, previewed as the finished address.
TITLE
SLUG
Generated slug
Enter a title or phrase above to generate an SEO-friendly URL slug.
URL preview
The full URL appears here.
Optional, and only used for this preview. Change it to see the slug in your own URL structure.
Separator
Hyphens are the convention for readable URLs and stay legible when a link is underlined. Underscores are valid too — they are just harder to see.
Characters
Only a–z and 0–9. Travels everywhere, but letters with no Latin form are dropped.
Always applied
Spaces, punctuation and symbols become a single separator.
HTML tags, control characters and emoji are removed — they cannot appear in a path.
Leading, trailing and repeated separators are collapsed.
Character information
Input chars
0
Input words
0
Slug chars
0
Slug words
0
Try an example
Keep URLs readable, descriptive and concise. Avoid unnecessary words, repeated keywords and meaningless characters. There is no character count that guarantees a ranking — write the slug for the person deciding whether to click it.
Everything runs locally in your browser. Your text is not uploaded to our server — the normalisation, transliteration and slug generation all happen on your device.
What is a URL slug?
A URL slug is the readable part of a web address that identifies one particular page. It is the last segment of the path, and it is usually the only part of a URL a person actually reads.
The name comes from newspapers, where a “slug” was the short working title given to a story as it moved through production. It does the same job here: a compact, human label for a piece of content.
Everything else in the URL is fixed by your infrastructure. The domain is bought, the protocol is configured, the path structure is decided once. The slug is the one part written fresh for every page — which makes it the part worth thinking about.
How to create an SEO-friendly slug
The process is short enough to do in your head, and the generator above follows exactly these steps in this order.
Start from the page topic, not the headline. A headline can be clever; a slug should be plain. “Why Your Site Feels Slow (And What To Fix First)” is a good title and website-performance-checklist is a better slug.
Drop the punctuation. Colons, ampersands, question marks and quotation marks either break a URL or get encoded into noise.
Keep the words that carry meaning. Cut filler, keep anything that tells the reader what the page is.
Separate words with hyphens and lowercase the result.
Stop when it is clear. Extra words past the point of clarity only make the URL harder to read and share.
Read it back as if you had never seen the page. If you cannot tell what the page is about from the slug alone, it needs another word. If you can, it needs nothing.
If you are pasting titles out of a CMS, the generator handles the mess that comes with them — smart quotes, non-breaking spaces, stray HTML tags and percent-encoded characters are all cleaned up before the slug is built.
Why are URL slugs important?
A readable slug earns its keep in several places at once, and only one of them is a search algorithm.
Search results. The URL is displayed above or below the title in most results. A descriptive one confirms the page is what the title promised; a string of identifiers gives the reader nothing.
Shared links. Pasted into a message, a document or a slide, a bare URL is often all the context the recipient gets.
Link text. Plenty of links are created by pasting a URL rather than writing anchor text, so the slug becomes the description by default.
Navigation and orientation. People read the address bar to work out where they are in a site, and edit it to move around.
Your own maintenance. Server logs, analytics reports and redirect tables are all lists of paths. Readable ones make those legible.
As a ranking factor the URL is minor and search engines have said so. Treat the slug as a usability decision that happens to be visible to crawlers, rather than the other way round, and you will make the right call every time.
Good vs bad slugs
Each pair below differs in one specific way. The fault is named rather than left as a general feeling, because “make it descriptive” is not advice anyone can act on.
Goodseo-friendly-url-guideBadpage?id=12345
A database identifier tells a reader nothing before they click, and nothing after they have bookmarked it.
Short is fine when the topic is obvious. Padding a clear word adds length, not clarity.
Goodwireless-headphonesBadWireless%20Headphones
A space cannot appear in a path, so it is encoded. The URL still works and is unreadable everywhere it is pasted.
Hyphens vs underscores in URLs
Both are legal in a URL and neither will break anything. The recommendation is still hyphens, for two independent reasons.
The first is how search engines read them. Google has stated for many years that it treats a hyphen as a word separator and an underscore as a word joiner, so best_seo_tools can be read as a single token where best-seo-tools is read as three words.
The second is more mundane and matters more often: links are usually underlined. An underscore sits exactly where the underline goes, so best_seo_tools renders as best seo tools with invisible gaps — and anyone retyping it from a screen guesses wrong.
The same slug, three ways
1best-seo-tools ✓ hyphens — read as three words, visible when underlined2best_seo_tools ~ underscores — valid, but joined and hard to see3best%20seo%20tools ✗ encoded spaces — valid, unreadable everywhere
Underscores are not a mistake worth migrating an established site for. If your URLs already use them and they work, the cost of changing every path outweighs the benefit. Use hyphens for anything new.
Should URL slugs be lowercase?
Yes — and the reason is not style, it is that the path portion of a URL is case-sensitive on most servers.
Linux servers, which host the majority of the web, treat /About-Us and /about-us as two different paths. Usually one of them 404s. Occasionally both resolve, and then you have the same content at two URLs competing with each other and splitting whatever links each has earned — the case where a canonical tag is what names the version you want counted.
Windows servers are case-insensitive, which sounds like the safer option and is worse: the problem simply does not appear until the site moves. Lowercasing everything removes the entire class of issue on every platform, which is why it is on by default above.
Should stop words be removed from URLs?
Stop words are the small grammatical words — a, the, of, to, in, for. Removing them shortens a slug, and it is a genuine trade rather than a free win.
The case for removing them: they carry no topical meaning, so a shorter URL says the same thing. The case against: they carry grammatical meaning, and without them a slug can stop reading like language. how-to-build-a-website becomes how-build-website — three characters saved and a phrase lost.
Remove them when a slug is genuinely unwieldy. Keep them when losing them costs you a readable phrase, which is most of the time. That is why the option above is off by default.
The list this tool uses is deliberately narrow — articles, conjunctions, common prepositions and the verb “to be”. It never removes question words like how, what or why, because those are frequently the entire point of the page.
Stop-word removal is only applied to English text. Running an English list over another language removes words at random, so if you are working in another language, leave the option off.
How long should a URL slug be?
There is no character limit that guarantees anything, and any specific number you have read was made up. Search engines have never published a slug length threshold.
What is true is more useful. Search results truncate long URLs visually, so anything past roughly sixty characters may not be seen. Long URLs are harder to scan, harder to read aloud and more likely to wrap awkwardly when pasted. And a long slug is usually long because it contains words that are not doing anything.
The practical target is the shortest slug that still makes the topic obvious — typically three to six words. Test it by covering the page title and reading only the slug: if you can tell what the page is, it is long enough.
The optional length limit in the tool exists for systems with a real column limit, not for SEO. When it truncates, it cuts on a whole word, because the-complete-guide-to-search-en reads as a bug rather than a shortening.
Can URL slugs contain non-English characters?
Yes. Internationalised Resource Identifiers are a standard, every current browser displays them correctly, and a path like /日本語のタイトル is perfectly valid.
The complication is what happens when the URL leaves the browser. Underneath, the address is still percent-encoded, so copying that path out of the address bar can produce something like /%E6%97%A5%E6%9C%AC%E8%AA%9E — which is what your reader pastes into an email, and what appears in your analytics.
The choice comes down to who is reading the link:
Unicode when the audience reads that script and links are mostly clicked rather than copied. The URL is more meaningful to the people who matter.
ASCII when links will be pasted into other tools, shared across languages, or handled by systems whose Unicode support you cannot verify. Transliteration keeps some of the meaning — Привет мир becomes privet-mir.
This tool romanises where an established transliteration exists — accented Latin letters, Greek and Cyrillic — and deliberately does not invent one for Chinese, Japanese, Arabic, Hebrew or the Indic scripts. Those have several competing romanisations, most of them context-dependent, so a character-by-character conversion would produce confident nonsense. In ASCII mode they are dropped, and the tool tells you so rather than silently returning a shorter slug.
Should you change an existing URL slug?
Usually not. An established URL has accumulated inbound links, bookmarks, shares, search rankings and references in other people’s documents — none of which you control, and all of which point at the old path.
Change it when the slug is actively wrong: it describes content that no longer exists, contains a typo that undermines trust, or was auto-generated into something like post-4471. Do not change it because a better wording occurred to you.
When you do change one, do it properly:
Add a 301 permanent redirect from the old path to the new one, live at the same moment as the change. A 301tells crawlers the move is permanent, so the new URL inherits the old one’s standing.
Update internal links to point at the new URL directly. Redirects work, but a chain of them is slower and dilutes the signal.
Keep the redirect indefinitely. Old links keep arriving for years, and a redirect costs nothing to leave in place.
Watch your 404 log afterwards for paths you did not think to redirect, and regenerate your XML sitemap so it lists the new paths rather than the old ones.
The corollary is worth stating: get the slug right before publishing, when it costs nothing to change. That is what the generator above is for.
Slug best practices
A summary you can apply without rereading the rest of this page.
Describe the page, not the site
The domain already says who you are. The slug only needs to say which page this is.
Use hyphens between words
Hyphens are the conventional word separator in URLs and stay readable when a link is underlined or wrapped across lines.
Keep it as short as it can be while still clear
There is no character count that earns a ranking. Cut words that carry no meaning, and stop when cutting more would make the topic ambiguous.
Avoid dates on evergreen pages
A slug with 2026 in it either dates the page permanently or forces a URL change every January, and changing a URL costs more than it saves.
Do not repeat keywords
Repeating a term in the path does not reinforce it. It reads as spam to a person, which is the audience that matters most here.
Pick a slug once and keep it
Established URLs accumulate links, bookmarks and shares. If one has to change, put a permanent redirect in place from the old path to the new one.
Make it typeable and sayable
People read URLs aloud and type them from memory. Anything that needs spelling out — underscores, encoded characters, abbreviations — costs you there.
Frequently asked questions
What is a URL slug?
The slug is the readable part of a URL that identifies one page. In https://example.com/seo-friendly-url-guide the slug is seo-friendly-url-guide. It is the last path segment, and it is usually the only part of a URL a person actually reads before deciding to click.
What is an SEO-friendly slug?
One that describes the page in a few real words, uses lowercase letters, separates words with hyphens and contains nothing a person would have to decode. best-laptops-for-students is SEO-friendly; product.php?cat=4&id=9912 is not, because neither a reader nor a link nor a search result snippet gets anything useful from it.
How do I create a slug from a title?
Lowercase the title, remove punctuation, and join the remaining words with hyphens. “Best Web Development Company in India” becomes best-web-development-company-in-india. Paste any title into the generator above and it applies the same steps in a fixed order, then shows you which characters it changed and why.
Should URL slugs be lowercase?
Yes, in practice. The path portion of a URL is case-sensitive on most Linux servers, so /About-Us and /about-us can be two different pages — one of which will usually 404, and both of which can end up indexed as duplicates. Lowercase everywhere removes the whole class of problem, which is why it is the default here.
Should I use hyphens or underscores in URLs?
Hyphens. Google has stated for years that it treats hyphens as word separators in URLs and underscores as word joiners, so best_seo_tools can be read as one token rather than three. The practical argument is stronger anyway: links are usually underlined, and an underline hides an underscore completely.
Should I remove stop words from a slug?
Usually not, which is why the option is off by default. Removing a, the, of and to makes the URL shorter but often makes it read like a telegram — “how to build a website” becomes how-build-website. Remove them when the slug is genuinely unwieldy, and keep them when losing them costs you a readable phrase.
How long should a URL slug be?
There is no character limit that earns or loses a ranking, and any specific number you have seen quoted was invented. Aim for the shortest slug that still makes the topic obvious — that is usually three to six words. Search results truncate long URLs visually, so a slug nobody can read in full is mostly wasted.
Can a slug contain numbers?
Yes, and it often should. top-10-seo-tools and html5-guide both need their digits to make sense. The generator keeps numbers by default; the only good reason to strip them is a year on an evergreen page, and it is easier to leave that out of the title than to filter it out afterwards.
Can a URL slug contain special characters?
Technically a few can appear unencoded, but you should not use them. Spaces, question marks, hashes, ampersands and percent signs all have reserved meanings in a URL, so they either break the address or get percent-encoded into noise like Wireless%20Headphones. The generator removes them and uses a separator instead.
Can URL slugs contain Unicode characters?
Yes. Internationalised URLs are a standard and every current browser displays them properly, so 日本語のタイトル is a valid path. The catch is that the moment the URL is copied out of the address bar it becomes percent-encoded, which is unreadable in an email or a spreadsheet. Switch the character set to Unicode above if your audience reads the script; keep ASCII if the link will travel widely.
How does transliteration work here?
Accented Latin letters are decomposed and stripped, so é becomes e and ế becomes e. Letters that are not accented versions of anything get an explicit mapping — ß to ss, æ to ae, ø to o — as do the Greek and Cyrillic alphabets, which have long-established romanisations. Scripts with no single agreed romanisation, such as Chinese, Japanese, Arabic and the Indic scripts, are deliberately left alone rather than guessed at.
Should I use dates in URL slugs?
Only when the date is genuinely part of the page's identity, like a news article or an annual report. On evergreen content a date either makes the page look stale or forces you to change the URL every year, and changing a URL costs you the links it has accumulated. Publication dates belong in the page and in your structured data, not in the path.
Can I change a URL slug after publishing?
You can, but treat it as a migration rather than an edit. Every existing link, bookmark, share and search result points at the old path, and they all break unless you redirect. If the current slug is merely imperfect, leaving it alone is usually the better trade.
What happens if I change an existing URL?
Without a redirect the old URL returns a 404, and everything pointing at it — inbound links, social shares, anything already indexed — stops working. Add a 301 permanent redirect from the old path to the new one before the change goes live. A 301 tells crawlers the move is permanent so the new URL inherits the old one's standing.
Does a URL slug affect SEO?
A little, directly, and a lot indirectly. Search engines have said the URL is a minor ranking signal, so do not expect a readable slug to move you up a page on its own. What it does do is show up in search results, in shared links and in link text, all of which affect whether people click — and that is worth more than the direct signal.
Should I include keywords in a URL slug?
Include the words that genuinely describe the page, which will naturally be the terms people search for. That is different from adding keywords because they are keywords. If the slug reads like a sentence fragment a human would write, you have it right.
Is keyword stuffing in URLs bad?
Yes. A path like /seo-tools-best-seo-tools-top-seo-software-2026 repeats terms without adding meaning, reads as spam to anyone who sees it, and does not reinforce anything for a search engine. Repetition in a URL has no additive effect — say each thing once.
Can slugs contain apostrophes?
They should not, and the generator removes them rather than turning them into separators. “John's Guide” becomes johns-guide, not john-s-guide, because the possessive is part of the word. Curly apostrophes from word processors are handled the same way as straight ones.
Can slugs contain emojis?
Some systems will accept them, but they should not be there. An emoji percent-encodes into a long unreadable sequence, breaks in older tooling and can carry invisible joiner characters that make two visually identical URLs different strings. They are removed here, in both ASCII and Unicode mode.
Why are spaces replaced with hyphens?
Because a space cannot exist in a URL. It is encoded as %20 or a plus sign, so “best seo tools” becomes best%20seo%20tools — still functional, unreadable everywhere it is pasted, and inconsistent between systems. A hyphen is a plain character that needs no encoding and reads as a word break.
What is the difference between a slug and a URL?
The URL is the whole address; the slug is one part of it. In https://example.com/blog/url-slug-guide the protocol is https, the domain is example.com, the path is /blog/url-slug-guide, and the slug is the final segment url-slug-guide — the bit that names this particular page.
Can I use the generated slug in WordPress or another CMS?
Yes. The output is a plain lowercase-and-hyphens string, which is exactly what WordPress calls the post slug and what Shopify, Ghost, Webflow, Contentful and most static site generators expect in their URL or handle field. Copy it and paste it into the permalink box.
Can I generate slugs for non-English languages?
Yes, two ways. Leave transliteration on and you get an ASCII slug — Привет мир becomes privet-mir and Ελληνικά becomes ellinika. Or switch the character set to Unicode and the original script is kept intact, which is often more useful when the audience reads that script.
Is this Slug Generator free?
Yes, with no account, no limit on how much text you paste and no watermark on anything. It is a static page with the generator built into it.
Does this tool store my text, or send it to a server?
Neither. The whole pipeline — normalising, transliterating, filtering, joining — is JavaScript running in your browser, and there is no request carrying your text anywhere. You can verify it by opening your browser's network panel while typing, or by disconnecting from the internet: the page keeps working.
Keep going
Tools that pair with this one
Same privacy model — everything below runs in your browser too.