Slug Generator
Free URL slug generator built for SEO
Turn any title, heading, product name, or filename into a clean, SEO-friendly URL slug. Built-in transliteration for 7 alphabets, stop word removal, custom separators, batch mode, CSV export, and live SEO length scoring. Runs 100% in your browser.
How to generate a clean URL slug
Paste any title, pick your separator and case, and copy the result. Every transformation runs locally in your browser, so your titles never touch a server.
Paste your title
Drop in a blog title, product name, page heading, or any text. Switch to Batch mode to slugify hundreds of titles at once.
Pick separator and case
Use a hyphen for Google-friendly slugs, an underscore for filenames, or a dot for CDN paths. Choose lowercase, uppercase, capitalize, or preserve.
Copy or export
Copy the slug, wrap it in a URL template like /blog/{slug}, or download every batch result as CSV. Everything happens client-side.
What Is a URL Slug?
A URL slug is the last segment of a web address that identifies a specific page. In a URL like keygrow.co/blog/how-to-rank-on-google, the slug is how-to-rank-on-google. It is the part that appears after your domain and any folder structure, and it is the part that describes the content of the page to both humans and search engines.
A well-built slug is lowercase, uses hyphens to separate words, contains the page's primary keyword, is 3 to 5 words long, and is free of stop words like "the", "and", "is", and "of". A poorly built slug looks like /post?id=1842&cat=12 or /2026/05/the-amazing-blog-post-about-stuff-and-things-that-you-will-love. Both are technically valid URLs. Neither helps you rank.
The KeyGrow Slug Generator turns any messy title into a clean SEO slug in one paste. It transliterates accented characters, removes stop words, deduplicates repeated words, swaps symbols for their word equivalents, and enforces a max length you set. It supports five separators, four case modes, custom replacements, and batch processing for hundreds of titles at once.
Anatomy of an SEO-Friendly Slug
Every ranking factor that touches the URL is in the slug. Here is what a good one looks like and why each piece matters.
Lowercase letters only
Many web servers treat /My-Page and /my-page as two different URLs. That splits your link equity and creates duplicate content. Force lowercase in the slug and the problem disappears. Google treats lowercase as the default convention.
Hyphens, not underscores
Google treats hyphens as word separators and underscores as word joiners. That means my-blog-post reads as three words to the crawler, while my_blog_post reads as one long word. Use hyphens unless you have a non-SEO reason to use underscores.
Contains your primary keyword
The slug is one of the few places on a page where the keyword is treated as a strong content signal by both crawlers and human readers. A blog post targeting "local SEO checklist" should live at /local-seo-checklist, not /post-1842.
Short: 3 to 5 words, under 60 characters
Long slugs get cut off in mobile search results and in social previews. They also dilute keyword density. Aim for 3 to 5 meaningful words. The character counter and SEO length badge in the tool flag anything over 60 characters as too long.
No stop words or repeated terms
Words like "the", "and", "is", "of", and "to" add length without adding rank signal. The slug generator strips them when you enable the stop word toggle. It also collapses duplicate words so /seo-services-seo-agency becomes /seo-services-agency.
ASCII characters only
Accented characters, Cyrillic, Greek, and other non-ASCII letters get percent-encoded in URLs. That means /café turns into the ugly /caf%C3%A9 when shared. Transliteration converts these to clean ASCII (cafe) automatically.
Hyphens vs Underscores in URL Slugs
The question comes up over and over because old documentation often gets it wrong. Here is the modern, evidence-based answer.
| Separator | Read by Google as | Best for |
|---|---|---|
| - (hyphen) | Word separator | Default for all SEO content: blogs, services, products, landing pages. |
| _ (underscore) | Word joiner | Filenames where you want crawlers to read the slug as one token. Avoid for content URLs. |
| . (dot) | Word separator (mostly) | CDN paths, versioned filenames, asset URLs. Less common in content URLs. |
| + (plus) | Space (legacy) | Search query strings, not content URLs. Decoded to a space by most servers. |
| ~ (tilde) | Word joiner | Rare. Sometimes used for personal pages on Unix-style hosts. Not SEO-friendly. |
The short answer: use hyphens for SEO. The full answer: hyphens for content URLs, underscores for filenames where word boundaries should be invisible, dots for CDN paths, and stay away from plus and tilde for anything Google should index. The Slug Generator defaults to hyphen because that covers 95% of real-world use cases.
Transliteration: Accented Letters, Cyrillic, Greek, and Beyond
Most slug generators give up the moment they see a non-ASCII character. They either pass it through (so /café becomes the percent-encoded /caf%C3%A9) or they delete it (so /café becomes /caf and loses meaning).
The KeyGrow Slug Generator transliterates instead. Every accented Latin character, every Cyrillic letter, every Greek letter, every Polish, Czech, German, French, Spanish, Portuguese, Turkish, and Scandinavian special character has a known ASCII equivalent. The tool ships with a transliteration map that covers all of them. After transliteration runs, the slug is pure ASCII and ready for any web server.
Some examples of what the transliterator handles:
- Cómo crear un sitio web → como-crear-un-sitio-web
- Über die Schönheit Münchens → uber-die-schonheit-munchens
- Café & Restaurant: São Paulo → cafe-and-restaurant-sao-paulo
- Как создать сайт на Next.js → kak-sozdat-sayt-na-next-js
- Καλημέρα Ελλάδα → kalhmera-ellada
If you want to keep non-Latin characters in the URL (some publishers do for localized content), turn the transliterate toggle off. Modern browsers handle Unicode URLs, but they are still percent-encoded when shared, copied, or displayed in non-supporting tools. For most SEO use cases, transliteration is the right default.
Should You Remove Stop Words From URL Slugs?
Stop words are the high-frequency, low-information words in a language. In English, that is "a", "an", "and", "the", "is", "of", "to", "in", "on", "for", and so on. Search engines often ignore them when matching queries. Removing them from your slug saves characters without losing meaning.
Compare these two slugs for the same blog post:
Both URLs are clear. The shorter one is easier to read in mobile search results, in social previews, and when pasted into chat. It also keeps a higher density of meaningful keywords per character.
The Slug Generator has stop word removal off by default because it can occasionally strip a word that matters (a brand name that happens to be on the list, or a phrase where the stop word is part of the meaning). Toggle it on for blog and content slugs, and review the output before committing.
When You Should NOT Change an Existing Slug
Slugs are not free to change. If a page is already indexed and ranking, rewriting its slug invalidates every backlink and bookmark that points to the old URL. Without a proper 301 redirect, you lose every link signal that page accumulated.
The right time to change a slug is before the page is published, or shortly after if traffic is low. The wrong time is after a post has been live for months and started picking up organic clicks. If you must change a slug after that point, set up a 301 redirect from the old slug to the new one in your CMS, hosting layer, or _redirects file, and submit the new URL to Google Search Console for re-indexing.
The Slug Generator is built for new content, not retroactive cleanup. Use it when drafting a blog post, naming a product, or designing a new section of your site. For existing content with traffic, audit the slug, but only change it if the SEO upside outweighs the migration cost.
Who Uses a Slug Generator
A free Slug Generator is the kind of tool that earns its place in a daily workflow. These are the four groups that use ours most.
Bloggers and content marketers
Turn every blog title into an SEO-ready slug before publishing. Batch-slugify a whole content calendar in one paste.
E-commerce and SaaS teams
Generate clean product, category, and feature page slugs at scale. Export hundreds of slugs as CSV for import into Shopify, WooCommerce, or a headless CMS.
Developers and CMS builders
Test slug rules without writing a script. Validate transliteration for international launches. Use the URL preview to confirm the final shape before deploying.
Multilingual sites and localization
Transliterate Spanish, French, German, Russian, Greek, and other titles into ASCII slugs. Keep the URL clean while preserving the original meaning in the page content.
Slug Generator questions answered
Everything you need to know about slugifying URLs, removing stop words, transliterating accents, and building SEO-friendly web addresses.
A URL slug is the last part of a web address that identifies a specific page. In keygrow.co/blog/local-seo-checklist, the slug is local-seo-checklist. It is the human-readable identifier for the page, separated from the domain and any folder structure. Good slugs are lowercase, use hyphens between words, contain the target keyword, are 3 to 5 words long, and skip stop words like the, and, of, is. A slug is one of the few URL components that both search engines and human readers use to understand what a page is about before they click it.
Yes. The KeyGrow Slug Generator is 100% free with no signup, no login, no email gate, and no usage limits. Generate as many slugs as you want, in single or batch mode, and download unlimited CSV exports. There is no paid tier and no upsell inside the tool. We offer it as a free utility from KeyGrow, a marketing agency that helps brands rank on Google and AI search engines.
No. The Slug Generator runs entirely in your browser using client-side JavaScript. Your titles, slugs, batch lists, and CSV exports never touch our servers, never get logged, and never get sent over the network. You can verify this by opening your browser DevTools network tab while generating slugs. The tool also works offline after the first page load because all processing is local.
Use hyphens. Google treats hyphens as word separators and underscores as word joiners. That means my-blog-post reads as three words (my, blog, post) to the crawler, while my_blog_post reads as one long word (myblogpost). Hyphens are the SEO-correct choice for content URLs. Use underscores only when you specifically want the slug to be read as one token, which is most common in filenames and code identifiers, not URLs.
Keep it short. The SEO sweet spot is under 60 characters and 3 to 5 words. Anything longer gets truncated in mobile search results, in social previews like Twitter and LinkedIn cards, and in chat platforms. The Slug Generator shows a live character count with a color-coded badge: green under 60, yellow up to 75, red above 75. You can also set a hard max length and the tool will trim the slug at the nearest word boundary so it never cuts a word in half.
Transliteration converts non-ASCII characters into their closest ASCII equivalents. So é becomes e, ñ becomes n, ü becomes u, ç becomes c, ß becomes ss, and Cyrillic, Greek, Polish, Czech, and Turkish letters get converted into their standard romanized forms. You need it whenever your title contains accented or non-Latin characters and you want a clean URL. Without transliteration, /café gets encoded in URLs as /caf%C3%A9, which is ugly when shared. The Slug Generator transliterates by default, with a toggle if you want to keep the original characters.
Yes. Switch to Batch mode at the top of the tool. Paste one title per line, and the tool generates a slug for each title in real time. You can copy all slugs to the clipboard with one click, copy individual rows, or download every original-and-slug pair as a CSV file. Batch mode is the fastest way to slugify a whole content calendar, a product catalog, or a sitemap migration. There is no row limit.
Stop words are the high-frequency, low-information English words that search engines often ignore when matching queries: a, an, and, the, is, of, to, in, on, for, by, with, and around 20 more. When you enable the Remove stop words toggle, the Slug Generator strips them from your slug. So "The 10 Best Ways to Improve Your SEO in 2026" becomes 10-best-ways-improve-seo-2026 instead of the-10-best-ways-to-improve-your-seo-in-2026. The shorter slug keeps the meaningful keywords and drops the filler. If stop word removal would leave you with nothing, the tool falls back to keeping the original words so you never get an empty slug.
When the Replace symbols option is on (it is by default), the Slug Generator swaps common symbols for their word equivalents before generating the slug. The ampersand becomes and, the dollar sign becomes dollar, the percent sign becomes percent, the plus sign becomes plus, the at sign becomes at, the hash becomes number, and currency symbols (€ £ ¥) become their currency names. So "Marketing & SEO: 50% off + free $100 audit" becomes marketing-and-seo-50-percent-off-plus-free-100-dollars-audit. Turn the toggle off if you would rather have the symbols stripped entirely without word replacement.
Yes. The Remove duplicate words option (on by default) catches cases where the same word appears twice and removes the duplicates. So a title like "SEO Services and SEO Agency for Local SEO" becomes seo-services-and-agency-for-local instead of seo-services-and-seo-agency-for-local-seo. This is especially useful when slugifying long titles that repeat your primary keyword for emphasis. The tool checks case-insensitively, so SEO and seo count as the same word.
Yes. The Max length field accepts any number from 0 to 250. Set it to 0 to keep slugs unlimited, or pick a hard cap like 60 (SEO ideal), 75, or 100. When the slug would exceed the cap, the tool trims it back to the last whole word before the limit so you never end up with a half-word slug. Quick-pick buttons let you jump to common limits in one click. The most useful default is 60 because that is roughly the point at which slugs start getting truncated in Google search results on mobile.
Custom replacements let you swap specific terms before the slug is generated. For example, you might want every mention of "JavaScript" to become "js", or "and" to become a plus sign, or your brand name to always render in a specific form. Expand the Custom replacements section in the options panel, add a from and to pair, and the replacement runs case-insensitively across the input before any other processing. You can add as many rows as you want and remove them with the × button.
Yes. Enable the Preserve file extension toggle and the tool keeps the last extension (.jpg, .png, .pdf, .docx, .mp4 — anything up to 8 alphanumeric characters after a final dot) intact while slugifying the rest of the filename. So "My Vacation Photos 2026.JPG" becomes my-vacation-photos-2026.jpg with the extension lowercased and preserved. This is useful for asset uploads, S3 bucket file naming, and clean download URLs.
Yes. The transliteration map covers seven alphabets: Latin extended (Western European, Polish, Czech, Hungarian, Romanian, Vietnamese, Turkish), Cyrillic (Russian, Ukrainian, Bulgarian, Serbian Cyrillic), Greek, and many more. Any character not explicitly mapped gets NFD-normalized and stripped of its combining marks, which handles obscure diacritics the explicit map misses. The end result is a clean ASCII slug. If your site uses non-ASCII URLs intentionally (some Japanese, Korean, Chinese, Arabic, and Hebrew sites do), turn transliteration off and the tool preserves the original characters.
Yes. Below the generated slug, a dropdown lets you wrap the slug in any of six built-in templates: plain slug, /blog/{slug}, /products/{slug}, full URL with https://yoursite.com/{slug}, {slug}.html, or {slug}.md. Pick a template and click Copy as to send the wrapped value to your clipboard. The plain Copy slug button gives you just the slug itself with no prefix or suffix.
Most free slug generators do the bare minimum: lowercase, replace spaces with hyphens, strip punctuation. The KeyGrow Slug Generator adds full transliteration for seven alphabets, four case modes, five separator options, stop word removal, duplicate-word deduplication, custom replacement rules, max length with word-boundary trimming, file extension preservation, batch mode with CSV export, live SEO length scoring, URL template wrapping, and a history of your last 10 slugs. Everything still runs entirely in your browser, with zero data sent to a server. We built it because we needed it for our own work.
Numbers in slugs are fine when they describe the content (10-best-tools, 50-percent-off, 2026-trends). They are useful and they often match the way people search. Dates are riskier. Including a year like /2026/05/my-post creates a slug that ages out. If you keep updating the content, the URL still says 2026 even when the post is current for 2027. Most modern SEO advice is to skip the date in the URL and put it in the metadata instead. The Slug Generator has a Remove numbers option if you want to enforce this rule across a batch.
Yes, but only if you also set up a 301 redirect from the old slug to the new one. Without the redirect, every backlink, bookmark, and social share that points to the old URL will hit a 404, and the new URL starts from zero in search. A 301 redirect tells Google that the page has permanently moved and passes most of the link equity to the new URL. After redirecting, submit the new URL in Google Search Console with Request indexing so the new slug shows up in search faster. If the page has no traffic and no backlinks, you can change the slug freely. Otherwise, redirect first.
Yes. The tool is fully responsive and works on phones and tablets. The input, output, options sidebar, and batch results table all reflow for narrow screens. Copy buttons use the native browser clipboard API so they work on mobile Safari, Chrome, and Firefox without plugins. For long batch lists, a desktop browser is more comfortable to scroll, but mobile works for quick single-slug generation on the go.
Your slugs are clean. Is your site ranking?
Clean slugs are one piece. Our team handles SEO, AEO, content, and conversion-built websites for businesses that want real growth. Free audit, no obligation.
Get Free Growth AuditYour URLs are clean. Are you actually ranking?
Clean slugs are one piece of SEO. We handle the rest: keyword research, on-page optimization, content, technical SEO, AEO for AI search, and conversion-built landing pages. Free audit, no obligation.
SEO and Content Strategy
Keyword research, topical clusters, on-page optimization, and link-worthy content. From the keyword brief to the ranked page.
AI Search Optimization (AEO)
Get cited inside answers from ChatGPT, Claude, Gemini, and Perplexity. Schema, entity coverage, and content built to be quoted.
Conversion-Built Pages
Landing pages, service pages, and blog content built to rank and convert. Clear copy, fast load, structured for AI parsing.