Developer & SEO tools · Free online tool

Slug Generator

Turn a title into a tidy URL segment with your choice of separator, case, accent handling, and length.

Loading tool…

How to use the Slug Generator

  1. 01

    Enter a title or load one of three sample titles.

  2. 02

    Choose a separator, letter case, accent handling, and whether to remove English stop words.

  3. 03

    Move the length slider to prefer a shorter slug. Review the slug and full URL previews.

  4. 04

    Copy either result. Change the example base URL to your own website before publishing.

01

Turn a title into a URL slug

A slug is one part of a page address. These examples use lowercase, hyphens, Latin accent conversion, no stop-word removal, and no length limit unless a setting is listed.

Swipe or scroll sideways to see every column →

InputChanged settingGenerated slug
The Maker’s Guide to Café ProjectsNonethe-makers-guide-to-cafe-projects
The Maker’s Guide to Café ProjectsRemove English stop wordsmakers-guide-cafe-projects
How to Build a Useful API with Node.jsNonehow-to-build-a-useful-api-with-nodejs
Summer SaleUnderscore separator; uppercaseSUMMER_SALE
Café NotesAccent conversion offcafé-notes
A practical guide to small gardensMaximum length: 20a-practical-guide
02

Six choices that make a link easier to use

Choose a consistent separator

Hyphens are a familiar choice for page URLs. Use dots or underscores when they fit an existing routing convention.

Keep the useful words

Zero means unlimited. A limit of 1–100 prefers a separator in the second half of the allowed length; otherwise the final word may be cut.

Decide on letter case

Lowercase is easy to type and keep consistent. Match your site's routing rules before changing an established address.

Describe the actual page

Choose words that make the destination recognizable. A readable address is more useful than a string of repeated terms.

Review stop-word removal

Removing common English words can shorten a title, but check that the remaining phrase still makes sense.

Choose accent handling

Convert Latin accents or retain them. Some letters are mapped, such as ß to ss. Other writing systems remain Unicode; the tool does not translate words.

03

Anatomy of a page URL

Enter https://example.com/articles/ as the base URL and Summer Garden Notes as the title. With the default settings, Copy full URL produces https://example.com/articles/summer-garden-notes.

  • Copy slug returns the path segment. Copy full URL appends it to the base URL’s path and removes that base URL’s query and fragment.
  • A bare domain in the base field is treated as HTTPS. HTTP is also accepted; embedded usernames and passwords are rejected.
  • The full URL may encode non-ASCII letters, even when the slug preview shows those letters normally.

Swipe or scroll sideways to see every column →

PartExamplePurpose
Originhttps://example.comThe site and protocol
Section/articles/A collection or route prefix
Slugsummer-garden-notesThe readable page identifier
04

Check the route before publishing

  • Punctuation within a word is removed: Node.js becomes nodejs and Maker’s becomes makers. Spaces, hyphens, and underscores separate words.
  • Add the copied slug to your website and check whether that address is already in use.
  • Confirm that the complete URL uses the intended section of your site before putting it into navigation or campaign links.
  • If you rename a published page, update its internal links and arrange a redirect from the old address through your website or CMS.

Frequently asked questions

What is a URL slug?

It is a readable path segment identifying a page, such as the final part of example.com/garden-notes.

Which separator should I choose?

Hyphens are a familiar default for readable page URLs. Underscores and dots are also available when your routing convention calls for them.

How does the maximum length work?

Zero means unlimited. A positive limit prefers the last word boundary in the second half of that limit; otherwise it shortens the last word.

Can I keep accented letters?

Yes. Turn off accent conversion to retain them. Non-Latin writing systems remain Unicode; copying a complete URL may percent-encode those characters.

Does this publish or rename my page?

No. It creates text only. Your CMS or application must create the page and handle its route.

Can I change a published slug?

You can, but update internal links and arrange a redirect from the old address so existing links still reach the page.

← Explore all free tools