Slug Generator

Type a page title to get a lowercase slug with accents removed, punctuation dropped and words joined by hyphens or underscores.

このコンテンツは英語です。

計算例

Web address from an event title

Café Opening Day: Don't Miss It!

cafe-opening-day-dont-miss-it

Accents are removed, the apostrophe is dropped, punctuation is removed and the words are lowercased and joined with hyphens.

Slug with an ampersand

Summer Sale & Clearance

summer-sale-and-clearance

An ampersand becomes "and", so the address stays readable in links and search results.

Slug Generator について

A slug is the part of a web address that describes a page, such as the words after the domain name in a link to an article. A good slug is short, lowercase and easy to read, and it helps people and search engines understand what a page is about before they open it. Writing slugs by hand is slow and easy to get wrong, especially when titles contain accents, apostrophes, ampersands or punctuation. This slug generator turns any title into a clean version in one step.

The tool removes accents so that é becomes e, drops apostrophes so that don't becomes dont, and replaces an ampersand with the word and. Every word is lowercased and joined with the separator you choose, either a hyphen or an underscore. You can also remove common words such as the, of and to to make a slug shorter. Letters from alphabets that do not use the Latin set are not kept, so a title written only in those letters gives an empty result.

Slug Generator の使い方

  1. Type or paste the title or phrase into the box.
  2. Choose a hyphen or an underscore as the separator.
  3. Turn on the option to remove common words if you want a shorter slug.
  4. Copy the slug and use it in the address for your page.

主な使いみち

  • Creating a readable address for a blog article
  • Naming a product page after its title
  • Making file names consistent across a set of downloads
  • Tidying the addresses of a batch of new course pages

よくあるご質問

What is a URL slug?

A URL slug is the final part of a web address that identifies a specific page, usually written as lowercase words separated by hyphens. In the address example.com/blog/summer-travel-tips, the slug is summer-travel-tips. Slugs make links easier to read and remember, and they help people see what a page covers before they click on it.

Should I use hyphens or underscores in a slug?

Hyphens are the more common choice for web addresses. They are widely used, easy to read and treated as a break between words. Underscores work, but they can be harder to read in underlined links, so most sites choose hyphens. Pick one style and use it across the whole site so that every address follows the same pattern.

Why are accents and apostrophes removed?

Web addresses are normally written with plain letters, numbers and separators, so characters such as é, ñ or an apostrophe are removed or replaced. An accented letter is changed to its plain version, so café becomes cafe. An apostrophe is dropped, so don't becomes dont. This keeps the address simple and avoids issues when the link is copied or shared.

What should I do if my slug is empty?

An empty slug usually means the title contains only characters that are not Latin letters or numbers, such as Greek, Cyrillic or Chinese characters. Add a few plain words to the title, or write a short English version for the address while keeping the original title on the page. The tool shows a message when this happens, so you know why nothing appeared.

Should I remove common words from a slug?

Removing words such as the, of and and can make a slug shorter and easier to scan, which suits long titles. Very short slugs can lose their meaning, though, so check that the result still reads clearly. Turn the option off to keep every word, which is usually the better choice for short titles or where the small words matter.