URL slug generator
This URL slug generator turns page titles into clean, readable slugs: lower case, hyphen-separated, with accents and punctuation handled. Paste one title or a list, set a maximum length and copy the slugs or full addresses. A second panel checks an existing address against Google's published URL advice. It is free and runs in your browser.
Runs in your browser. Nothing you type is sent to us.Last checked 2 November 2026
What this tool does not do
- It does not decide what a page should be called or which words people search for. Keyword research does that, and the slug is only the last step.
- It cannot see your site, so it cannot tell whether an address is already in use. Duplicates are caught only within the list you paste.
- The address checker reads the text of a URL against Google's published advice. It does not fetch the page, follow redirects or tell you whether the page is indexed.
- It does not translate. Titles in scripts other than Latin letters need the option to keep the language's letters, which writes them percent-encoded.
- Changing the address of a live page is a migration task. The tool cannot create the redirects that a change needs.
On this page
What is a URL slug?
A URL slug is the readable part of a web address that names one page, usually the words after the last slash, such as boiler-repair in example.co.uk/services/boiler-repair. It is normally made from the page title with capitals, spaces and punctuation removed, so that it is readable, stable and safe to put in a link.
Google's SEO Starter Guide recommends readable words over random identifiers, and gives the example that a path such as /pets/cats.html is more helpful than a string of digits and letters. It also says parts of the URL can be shown in search results as breadcrumbs, which is where a clear slug is visible to searchers. The same guide says that keywords in a URL path have hardly any effect on search beyond appearing in those breadcrumbs, so a slug is a matter of clarity and consistency, not a ranking lever. You can see how the address line looks in a result with the SERP snippet preview.
Three words are easy to mix up. The slug is the last readable segment. The path is the slug plus any folders before it, such as /services/boiler-repair. The permalink is the full permanent address of the page, which content management systems build from a base address, a folder pattern and the slug. This tool writes slugs, and gives you the full address if you tell it the folder.
The point
The path is the slug plus any folders before it, such as /services/boiler-repair.
How do I use the URL slug generator?
Type or paste your page titles, one per line, and the slugs update as you go. Choose the folder, the separator and the length limit that suit your site, then copy the results. The three example titles are placeholders, so replace them before you copy anything.
- Paste one title per line. A working title, a heading or a phrase is fine, and blank lines are skipped.
- Add the folder the pages will live in, such as https://www.example.co.uk/blog/, if you want full addresses as well as slugs. Leave it empty for slugs only.
- Keep hyphens unless you are matching an existing site that uses something else. Keep the default accent setting unless the page is written in a language that is not Latin script.
- Set a maximum length if you want one. The tool cuts at a whole word and tells you when it has done so.
- Tick the options to leave out years or common small words if you want shorter results, then read each slug aloud. If it no longer means what the title meant, untick the option.
- Copy the slugs, or the full addresses, and use them in your content management system. Fix any row the tool marks as a duplicate, because two pages cannot share one address.
How does the tool turn a title into a slug?
The tool applies the same fixed steps to every title, in the same order, so the same input always gives the same slug. No model is involved. The table lists each step with an example, so you can predict what any title will become.
| Step | What happens | Example |
|---|---|---|
| Symbols with a meaning | An ampersand becomes the word and (you can switch this off) and a percent sign becomes the word percent. Apostrophes are removed so that words stay whole. | Tom's becomes toms. 50% off becomes 50-percent-off. |
| Accents | In the default mode, accents are stripped and a short list of special letters is replaced, so the slug uses plain a to z. | Crème Brûlée becomes creme-brulee. Straße becomes strasse. Łódź becomes lodz. |
| Case | Everything is written in lower case, because Google treats addresses that differ only by case as different URLs. | SEO Audit Checklist becomes seo-audit-checklist. |
| Gaps | Anything that is not a letter or a number becomes a gap. Runs of gaps collapse into one separator and the ends are trimmed. | Hello,,, world?? becomes hello-world. |
| Optional removals | If you tick them, four-digit years from 1900 to 2099 and a short list of common small words are left out. If that would leave nothing, they are kept. | How to Choose a Boiler (2026 Guide) becomes how-to-choose-a-boiler-guide with years left out, or how-choose-boiler-2026-guide with small words left out. |
| Length | If a limit is set and the slug is longer, whole words are dropped from the end until it fits. A single word longer than the limit is cut by characters. | With a limit of 30, Boiler repair and servicing for homes across the Midlands becomes boiler-repair-and-servicing. |
| Other scripts | In the default mode, letters that cannot be converted to a to z are dropped and counted. If you choose to keep the language's letters, they stay in the slug and are shown percent-encoded for links. | Gemüse kept as typed is written in a link as gem%C3%BCse. |
What does Google say about URL structure?
Google says a crawlable URL should follow the IETF standard for URLs, use readable words rather than long ID numbers, separate words with hyphens and be consistent about case. It does not name a maximum length. Most of the advice is about avoiding addresses that multiply, such as session IDs and unneeded parameters.
In its URL structure guidance, Google recommends hyphens over underscores and says joining words together, as in greendress, is not recommended. It says to use words your audience searches with, including transliterated words, and that non-ASCII characters should be percent-encoded in the href of a link, with gem%C3%BCse preferred to gemüse. It notes that /APPLE and /apple are different URLs to Google, and that a server that treats them as the same should be made to use one case. The page we read sets no maximum URL length, so any length limit in this tool is our own rule of thumb.
The same guidance warns against URL fragments for changing page content, with /#/potatoes as the example, and advises session IDs be avoided in favour of cookies where possible. It says to remove parameters that do not change the content, and describes how combinable filters, referral parameters and sorting options can multiply near-duplicate addresses. Where tracking is needed, the UTM link builder creates campaign links with consistent parameters, and the page's own canonical address should stay clean.
Underneath the advice sits the URL standard itself, RFC 3986. It defines the unreserved characters that need no encoding as letters, digits, hyphen, full stop, underscore and tilde, and says non-ASCII text should first be encoded as UTF-8 and then percent-encoded. That is why this tool's slugs contain only letters, digits and your chosen separator, and why the keep-letters option shows an encoded form beside the readable one.
On site structure, the starter guide says grouping pages into directories matters mainly for sites with more than a few thousand URLs, and tells you not to drop everything and reorganise your site right away. For duplicate pages, it recommends redirecting the non-preferred URL to the preferred one, or using a canonical link if a redirect is not possible.
The point
For duplicate pages, it recommends redirecting the non-preferred URL to the preferred one, or using a canonical link if a redirect is not possible.
How do I read the address checker?
The checker reads the text of one address and lists what it finds, each marked as a check (act on it) or a note (use judgement). The table shows what triggers each message and whether the rule comes from Google's published advice or from us, because the two deserve different weight.
| Message | What triggers it | Where the rule comes from |
|---|---|---|
| Capital letters | Any capital in the path. | Google's URL guidance, which treats /APPLE and /apple as different addresses. |
| Underscores | An underscore in the path. | Google's URL guidance, which recommends hyphens. |
| Spaces or %20 | A space, or an encoded space, in the path. | Our reading of Google's advice for readable, hyphenated words. |
| Fragment routing | A hash followed by a slash or exclamation mark in the address. | Google's URL guidance, which says not to use fragments to change page content. |
| Session ID | A parameter named like sid, sessionid or phpsessid. | Google's URL guidance, which says to avoid session IDs in URLs. |
| Identifier, not words | A path segment of five or more digits, or sixteen or more hexadecimal characters. | Google's preference for readable words over long ID numbers. The thresholds are ours. |
| Four or more parameters | Four or more key and value pairs after the question mark. | Google advises removing parameters that do not change content. Four is our threshold. |
| A year in the path | A four-digit year from 1900 to 2099 as a segment or word. | Our rule of thumb, because dated addresses age and changing them needs a redirect. |
| Long path | More than 100 characters in the path. | Our rule of thumb. Google's guidance sets no maximum. |
| Letters outside A to Z | Any non-ASCII character in the path. | Google's advice to percent-encode them in links. Often correct for a non-English site. |
What are the common URL slug mistakes?
The common mistakes are rarely about the words. They are about changing things that should stay still, or leaving the content management system's default in place. Each of these is easy to avoid when you name the page, and expensive to fix afterwards.
- Changing the slug of a published page without a redirect. Links and bookmarks to the old address break, and search engines have to find the new address from scratch. Redirect old to new, or leave the slug alone.
- Accepting the default. Many systems offer post numbers or dates as the default structure. A readable post-name structure is easier to understand, and the WordPress SEO checklist covers choosing one before content goes in.
- Stuffing words into the slug. Google's starter guide says path keywords have hardly any effect beyond breadcrumbs, so a long string of near-synonyms adds clutter and nothing else.
- Repeating the folder in the slug, as in /boiler-repair/boiler-repair-services. That is a style point and not a Google rule, but the repeated words make the address longer without helping anyone.
- Putting a year in the slug of a page you plan to update. The page will look stale or the address will have to change. Update the title and the content, and keep the address stable.
- Letting two pages compete for the same slug idea, such as /boiler-repair and /boilers-repair. Pick one page for the topic and redirect the other.
- Mixing upper and lower case across a site. Pick lower case and redirect any capitalised version, since Google treats them as separate addresses.
When is a free tool not enough?
A free generator is enough when you are naming new pages one at a time. It is not enough when a site is changing platform, folder structure or domain, because every old address then needs a mapped new one and a tested redirect, and one mistake can cost pages that already earn enquiries.
That job is website migration SEO: an inventory of existing addresses, a redirect map, checks before launch and monitoring afterwards. The SEO migration checklist shows the order of work if you want to run it yourself. Where the address problem is wider, such as parameters creating duplicate pages across a large site, it becomes a matter for technical SEO, and an explanation of the field is in what technical SEO involves.
Once your slugs are final, a sitemap generator can list them, and sites with language versions need the hreflang tag generator to link the alternate addresses together. Prabhu Solutions works with businesses across the UK from its registered base in Oldbury, West Midlands, and delivers the work remotely. If you are planning a restructure and want a second opinion on the address plan, you can talk to us.
The point
Once your slugs are final, a sitemap generator can list them, and sites with language versions need the hreflang tag generator to link the alternate addresses together.
Sources
These are the sources behind the rules this page states. Google's pages are the authority on what Google supports. The IETF standard defines what a valid URL is. Rules of thumb that come from us are labelled as such in the text.
- Google Search Central, URL structure best practices for Google, supports the advice on readable words, hyphens, case, percent-encoding, fragments, parameters and session IDs, and that no maximum length is stated, https://developers.google.com/search/docs/crawling-indexing/url-structure, checked 2 November 2026
- Google Search Central, SEO Starter Guide, supports the advice on descriptive URLs, breadcrumbs, the limited effect of keywords in a path, directory structure and redirects for duplicate pages, https://developers.google.com/search/docs/fundamentals/seo-starter-guide, checked 2 November 2026
- IETF, RFC 3986 Uniform Resource Identifier (URI): Generic Syntax, supports the definition of unreserved characters and the percent-encoding of non-ASCII text as UTF-8, https://datatracker.ietf.org/doc/html/rfc3986, checked 2 November 2026
Questions people ask about this tool
What is a URL slug?
A URL slug is the readable part of a web address that names one page, usually the words after the last slash, such as boiler-repair. It is normally made from the page title, in lower case, with hyphens between words. Google prefers readable words to long ID numbers in addresses.
How long should a URL slug be?
Google's URL guidance sets no maximum length, so any number is a habit, not a rule. Short slugs are easier to read, share and check, and this tool defaults to 60 characters as a rule of thumb. Cut whole words, not letters, and keep the words that name the page.
Should I use hyphens or underscores in a URL?
Use hyphens. Google recommends them, saying hyphens mark word boundaries while underscores are used by programming languages to join concepts. It also discourages running words together with no separator, as in greendress. This tool uses hyphens by default and warns you if you switch to underscores.
Does the URL slug affect rankings?
Google's SEO Starter Guide says keywords in a URL have hardly any effect beyond appearing in breadcrumbs. A clear slug still helps people understand and share a page. This tool formats slugs correctly and consistently. It cannot make a page rank, and no slug will do that on its own.
Does this tool send my titles anywhere?
No. The slugs, the duplicate check and the address checker all run in your browser using fixed rules. Nothing you type is sent to us or stored, and the tool makes no network requests. The address checker reads only the text you type and never visits the page.
Can I use capital letters in a URL?
You can, but Google treats /APPLE and /apple as different URLs. If your server shows the same page at both, you have two addresses for one page. Using lower case throughout, and redirecting any capitalised version, avoids that. This tool always writes slugs in lower case.
Can I change a slug after the page is published?
You can, but treat it as a change to a live address. Set up a redirect from the old address to the new one so existing links and visitors still arrive. Google's starter guide recommends redirects from non-preferred URLs to the preferred one. If the old slug is not causing a problem, leaving it alone is often safer.
Can a URL slug use non-English letters?
Yes. Google's guidance says to use words your audience searches with, including transliterated words, and to percent-encode non-ASCII characters in links, such as gem%C3%BCse rather than gemüse. Choose the option to keep the language's letters here and the tool shows both the readable slug and the encoded form.
More free tools
- SERP snippet previewSee an estimated Google result for your title and description.
- XML sitemap generatorPaste a list of page addresses and get a valid sitemap.xml, split and indexed if it is long.
- Hreflang tag generatorTurn a list of language and region versions into valid hreflang tags, sitemap entries or a header.
Read next
WordPress SEO Checklist: What to Set Up, What to Leave Alone and What Plugins Cannot Do
Ten ordered checks for a WordPress site, from the search visibility box to sitemaps, archives, speed and redirects, plus a plain account of what SEO plugins can and cannot do for you.
The SEO Migration Checklist: What to Do Before, During and After a Site Move
A site move loses rankings for ordinary, avoidable reasons. This is the checklist in working order, why each step exists, what usually goes wrong, and when the best plan is not to migrate.
What Is Technical SEO? How Search Engines Reach Your Pages and What to Fix First
Technical SEO is the work that lets a search engine reach, read and index your pages. Here is how that pipeline works, what the work covers, what canonical tags do and what to fix first.
