How-to guide
How to Generate a URL Slug From Any Title (Free Tool)
To generate a URL slug, paste your title into the URL Slug Generator on hellagape.com and copy the result: the tool will "convert titles into clean, lowercase, hyphenated SEO-friendly URL slugs," updates instantly as you type, and runs entirely in your browser with no signup and nothing sent anywhere. This guide walks through the steps, hand-checked worked examples, how to use the slug in WordPress or Shopify, and the mistakes that break URLs.
How to generate a URL slug (step by step)
- Open the URL Slug Generator. No account or install is needed.
- Paste or type your page title, product name, or heading into the Your text box — for example,
How to Plan a Summer Garden. - Read the result. It updates instantly as you type — there is no button to press. For the example above the slug is
how-to-plan-a-summer-garden. - Copy the slug and paste it into your CMS URL field (WordPress: the Permalink/URL setting; Shopify: the Search engine listing handle). Keep the full address short and readable.
- Publish. Nothing you pasted is stored or transmitted; closing the tab clears everything.
That is the whole workflow. A good slug is short, lowercase, uses hyphens between words, and describes the page in its main words — the tool produces exactly that shape from any title.
Worked examples (hand-checked)
Each conversion below follows the same rules: lowercase everything, replace spaces with hyphens, drop punctuation, keep numbers.
| Title | Slug | What changed |
|---|---|---|
| How to Plan a Summer Garden | how-to-plan-a-summer-garden | Lowercased; spaces became hyphens (27 characters) |
| 10 Easy Weeknight Dinners | 10-easy-weeknight-dinners | Leading number kept; lowercased; hyphens added |
| Best Running Shoes for Flat Feet? | best-running-shoes-for-flat-feet | Trailing ? removed; lowercased; hyphens added |
| Extra Spaces Everywhere | extra-spaces-everywhere | Repeated spaces collapsed to single hyphens; trimmed |
Try them yourself: paste each title into the tool and compare. If your title contains symbols (such as &, %, or accented letters), check the result before publishing — symbol handling is the one place slug tools differ, and this guide does not assume a rule the tool page does not state. When in doubt, simplify the title first (write "and" instead of &), then generate the slug.
The slug method, in plain words
A URL slug is the last segment of a web address — in example.com/blog/how-to-bake-bread, the slug is how-to-bake-bread. It identifies one page and describes it in a few readable words. The standard conversion is mechanical:
- Lowercase every letter (some servers treat
About-Usandabout-usas different pages). - Replace each run of spaces with a single hyphen.
- Remove punctuation and symbols that do not belong in a URL.
- Keep letters, numbers, and hyphens — the safe set every browser and CMS accepts.
Use hyphens, not underscores: search engines treat hyphens as word separators, so blue-widget reads as two words while blue_widget reads as one. Keep slugs to roughly 3–5 words where you can; shorter slugs are easier to read, share, and remember.
Using the slug in WordPress and Shopify
Both platforms generate a slug from the title automatically, but you can replace it before publishing — the moment to paste a cleaner one.
- WordPress: edit the slug in the post/page settings under URL or Permalink before you publish.
- Shopify: the slug is called a handle; edit it in the Search engine listing section of the product or page.
Changing a published slug changes the address. If the page is already live and linked or indexed, plan a permanent (301) redirect from the old URL to the new one and update internal links — otherwise visitors and search engines hit a dead page. For a brand-new page, no redirect is needed: generate, paste, publish.
Tips and common mistakes
- Do not stuff keywords.
best-cheap-running-shoes-for-flat-feet-2026-dealsreads as spam and ages badly.best-running-shoes-for-flat-feetsays the same thing cleanly. - Avoid dates in slugs unless the content is truly dated; a year in the URL makes evergreen pages look stale.
- One slug per page, forever. Pick it once, before publishing. Renaming later costs redirects and lost links.
- Check symbols manually. Titles with
&,%,+, or accented letters are where tools disagree. Simplify the title, regenerate, and read the result before publishing. - Keep it sayable. If you cannot read the slug aloud over the phone, shorten it.
Related free tools: Word Counter, Character Counter, Case Converter, Sort Lines.
Frequently asked questions
What is a URL slug?
A URL slug is the final, identifying segment of a web address. In hellagape.com/slug-generator/, the slug is slug-generator. It describes the page in a few lowercase, hyphen-separated words.
How do I generate a slug from a title?
Paste the title into the URL Slug Generator and copy the instant result. The tool lowercases the text, replaces spaces with hyphens, and removes punctuation, running entirely in your browser with no signup.
Hyphen or underscore in slugs?
Hyphen. Search engines treat hyphens as word separators, so seo-tips reads as two words; underscores join words into one. Use underscores only for code identifiers or filenames, not page URLs.
How long should a slug be?
Aim for 3–5 words, under roughly 60 characters. Shorter slugs are easier to read, share, and type. If your title is long, shorten the source text and regenerate rather than truncating mid-word.
Can I change a slug after publishing?
Yes, but the page address changes with it. Add a permanent 301 redirect from the old URL to the new one and update internal links, or existing links and search results will lead to a dead page. For new pages, set the slug before publishing and leave it alone.
Is the URL Slug Generator free?
Yes. It is completely free with no account, no trial, and no export limit, per the tool page. It runs in your browser using JavaScript; your input is processed on your own device and is never uploaded, logged, or shared.
Can I use generated slugs commercially?
Yes. You own the input and the output; there is no licence fee or attribution requirement. You remain responsible for the rights attached to any material you process.
Does it work on mobile?
Yes. The interface is responsive with touch-friendly controls, per the tool page. Very large inputs are still limited by the memory your phone browser allows.
Try it now
URL Slug Generator
Convert titles into clean, lowercase, hyphenated SEO-friendly URL slugs.
Keep reading