URL Slug Generator

Paste titles into this slug generator to get clean, lowercase, hyphenated URL slugs — one or hundreds at once.

50 free uses every 24 hoursUnlimited with Pro →

Private by design — your data stays on your deviceEverything runs right here in your browser. What you type is not sent to our server and is not stored.
  • Runs in your browser
  • Not stored
  • No sign-up

A slug generator turns a page title into the last part of a web address, for example "10 Tips for Better Sleep" becomes 10-tips-for-better-sleep. This tool makes clean, lowercase slugs with hyphens, can remove stop words and accents, trims to a maximum length, and handles bulk slugs one per line.

How do I use the slug generator?

  1. Type or paste your titles, one per line.
  2. Choose your options: remove stop words, remove accents and set a maximum length.
  3. Copy the finished slugs.
How to use the Slug Generator on OneHubTools: 3 steps with a real screenshot of the tool
How to use the Slug Generator, step by step.

What makes a good URL slug?

  • Short and readable. A person should guess the topic from the URL alone.
  • Lowercase with hyphens. Google's own guidance recommends hyphens between words rather than underscores.
  • Contains the main keyword. It helps people and search engines see what the page is about.
  • No dates or IDs unless needed. A slug without a year can stay the same when you update the page.
  • No special characters. Accented letters and symbols can turn into long percent codes.
Result from the Slug Generator on OneHubTools
What the Slug Generator gives you.

Examples

TitleSlug
How to Compress a PDF Without Losing Qualitycompress-pdf-without-losing-quality
The 7 Best Free Photo Editors in 2026best-free-photo-editors
Café Menu & Pricescafe-menu-prices

Should I remove stop words?

Stop words are small words such as "the", "a", "and" and "of". Removing them makes a shorter SEO-friendly URL, but keep them when the slug would become unclear without them. "how-to-make-tea" reads better than "make-tea" for a how-to guide. Check each slug before you use it.

Changing slugs on live pages

Do not change the slug of a page that is already ranking unless you have a good reason. If you do, add a 301 redirect from the old address to the new one so visitors and search engines are sent to the right place. The .htaccess redirect generator writes those rules for Apache servers.

Slugs in WordPress, Shopify and other platforms

Most website builders create a slug automatically from the title, but the result is often too long. WordPress, for example, keeps every word, including stop words. Edit the slug field before you publish: in WordPress it sits under the post title or in the settings panel, and in Shopify it is in the "Search engine listing" section at the bottom of a product or page.

Keep the same style across your site. If your blog uses short slugs without stop words, apply that rule to every new post. Consistent URLs are easier to remember, share and manage later. Avoid changing your permalink structure after launch, because every old link would then need a redirect.

Bulk slugs for big sites

Paste a whole list of product names or post titles and the tool returns bulk slugs in the same order. That is handy when you import products into a shop or migrate a blog. Afterwards you can build tracking links with the UTM builder and check how the page will look in Google with the SERP snippet preview.

Limits and specs

PriceFree
Free use50 uses every 24 hours — shared with 178 other tools in the “Basic tools” group
Where it runsIn your browser
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it in Chrome with sample text and checked the output by hand.

Learn more

According to MDN Web Docs, characters that are not allowed in a URL are replaced by a percent sign followed by their hexadecimal code, so a space becomes %20; percent-encoding has been part of web standards for about 30 years.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

What is a URL slug?

A URL slug is the readable part at the end of a web address that names the page, such as compress-pdf in /compress-pdf/.

Hyphens or underscores?

Use hyphens. Google recommends hyphens to separate words in URLs.

Should I remove stop words from slugs?

Usually yes, to keep slugs short. Keep them if the slug becomes hard to understand without them.

Can I make bulk slugs?

Yes. Put one title per line and the slug generator converts the whole list at once.

Does it handle accents like é?

Yes. Turn on "remove accents" and é becomes e, so your slugs stay clean.

How long should a URL slug be?

There is no fixed rule, but three to six words is a good target. Use the maximum length option to stop very long titles from producing long URLs that get cut off in search results and are hard to share.

Related tools

All text tools →