URL Slug Generator

Turn a title or headline into a clean URL slug: lowercase, hyphen-separated, with accents removed and optional removal of common short words.

  • Free, no signup
  • Runs in your browser
  • Reviewed October 14, 2026
https://yourdomain.com/blog/how-to-calculate-profit-margins-and-boost-e-commerce-revenue

How to use the URL Slug Generator

  1. Type or paste the page title.
  2. Choose hyphens (recommended by Google) or underscores as separators.
  3. Optionally remove short words such as a, the, and to for a shorter slug.
  4. Copy the slug or the full example URL.

How it works

The text is converted to lowercase, accented letters are reduced to their base letters (é becomes e) using Unicode normalisation, and every run of characters that is not a letter or number becomes a single separator. Separators at the start and end are removed.

Google's URL guidelines recommend hyphens rather than underscores, because hyphens are read as word separators.

"Café Menu: 10 Best Dishes!"  →  cafe-menu-10-best-dishes

Worked example: a blog headline

"How to Calculate Profit Margins & Boost E-Commerce Revenue" becomes how-to-calculate-profit-margins-boost-e-commerce-revenue.

With short words removed it becomes calculate-profit-margins-boost-e-commerce-revenue, which is shorter but drops "how to", a phrase people often search for. Remove words only when the slug stays clear.

Limitations

  • Only Latin letters and digits are kept. Titles written entirely in other scripts, such as Arabic, Chinese, or Cyrillic, produce an empty slug; write a short English or transliterated version instead.
  • Letters that do not decompose into a base letter plus accent, such as ß, ø, and æ, are removed rather than converted.
  • Changing the slug of a published page breaks existing links. Set up a 301 redirect from the old address.

What makes a good URL slug

A good slug describes the page in a few words that a person could read aloud. Use the main topic of the page, keep it lowercase, and separate words with hyphens. Shorter slugs are easier to read in search results and to share in messages.

Avoid dates and version numbers unless the page is genuinely tied to them, because they make the address look out of date after a refresh and tempt you to change it later. Do not stuff slugs with repeated keywords; one clear phrase is enough.

Once a page is published and linked from elsewhere, keep its slug stable. If you have to change it, add a permanent redirect from the old address so existing links and bookmarks keep working.

Frequently asked questions

What is a URL slug?

The readable part of a web address that identifies a specific page, for example best-coffee-grinders in example.com/blog/best-coffee-grinders.

Should I use hyphens or underscores in URLs?

Hyphens. Google treats hyphens as spaces between words but may join words separated by underscores.

How long should a slug be?

Short and descriptive, usually three to six words. Include the main topic and leave out dates if the content will be updated.

Should I remove stop words from slugs?

Only if the slug stays easy to understand. Removing "the" rarely hurts, but removing "how to" can change the meaning.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool