⚡ BreezyTools Pro — Ad-free experience across all 200+ tools. Less than a coffee a month → Learn More

Slugify

Convert any text into a clean, SEO-friendly URL slug.

Slug

Turn Any Title into a Clean URL Slug

A slug is the readable part of a URL that identifies a page, such as "best-pizza-recipes" in example.com/blog/best-pizza-recipes. Clear slugs tell visitors and search engines what a page is about before they click, and they're easier to share. This tool converts a title or phrase into a slug as you type: it removes accents, strips punctuation and symbols, lowercases the text, and joins the words with hyphens or underscores. Bloggers, content managers, and SEO specialists use it when publishing posts and product pages, and developers use it to create file names, IDs, and route paths.

How to Use the Slug Generator

  1. Type or paste your title into the box.
  2. Choose Hyphen (-) or Underscore (_) as the separator.
  3. Untick Lowercase only if you need to keep the original capitalization.
  4. Click Copy and paste the slug into your CMS, code, or file name.

How the Slug Is Built

  1. Accents are removed: each accented letter is split into its base letter and accent mark, and the mark is dropped, so "é" becomes "e" and "ñ" becomes "n".
  2. The text is lowercased, if that option is ticked.
  3. Everything except the letters A–Z, the digits 0–9, spaces, hyphens, and underscores is deleted. That includes punctuation, apostrophes, symbols such as & and %, and emoji.
  4. Each run of spaces, hyphens, and underscores becomes a single separator.
  5. Separators left at the start or end are trimmed off.

Examples

InputSlug (hyphen, lowercase)
10 Best Things About Café Crème — 2026 Edition!10-best-things-about-cafe-creme-2026-edition
Salt & Pepper: Don't Overdo Itsalt-pepper-dont-overdo-it
Señor Piñata's Jalapeño Dip 🌶️senor-pinatas-jalapeno-dip
A/B Testing Guideab-testing-guide

Limitations to Know

  • Some letters are dropped, not converted. Letters that aren't simply accented forms of A–Z are removed: "Straße" becomes "strae", "Øresund" becomes "resund", and "Łódź" becomes "odz". Type the Latin equivalent (ss, o, l) before converting.
  • Non-Latin alphabets are removed. Text in Cyrillic, Greek, Arabic, Chinese, and other scripts is stripped entirely, so a title written only in those scripts produces an empty slug.
  • Symbols aren't spelled out. "&" is deleted rather than turned into "and". Type "and" yourself if you want it in the URL.
  • Every word is kept. The tool doesn't remove words like "the" or "a" or shorten long titles, so edit the text first if you want a shorter slug.

Slug Best Practices

  • Use hyphens between words. Google's URL guidelines recommend hyphens rather than underscores, because hyphens make the individual words easier for people and search engines to identify.
  • Keep slugs lowercase. The path part of a URL can be case-sensitive on many servers, so mixed capitals risk duplicate or broken links.
  • Make it short and descriptive. Include the words that describe the page and drop filler when the slug still reads naturally.
  • Think twice about dates. A year in the slug of an article you plan to update can make the URL look out of date later.
  • Redirect if you change a published slug. Set up a 301 redirect from the old URL so existing links and search rankings carry over.

Frequently Asked Questions

Does the slug generator remove accents?

Yes. Accented Latin letters are converted to their plain form, so "Café Crème" becomes "cafe-creme" and "Jalapeño" becomes "jalapeno". Letters with no plain equivalent, such as ß, ø, or ł, are removed instead.

Should I use hyphens or underscores in URLs?

Use hyphens for web page URLs. Google recommends hyphens to separate words, and they're easier to read. Underscores are fine for file names, database keys, or code identifiers where that convention is expected.

What happens to emoji, symbols, and punctuation?

They're removed. A mark with no spaces around it disappears without leaving a gap, so "Don't" becomes "dont" and "A/B" becomes "ab". Words that were separated by spaces still get a single separator between them, whatever punctuation sat in between.

Can it create slugs from non-English alphabets?

Only from Latin-based text. Accented letters used in languages such as French, Spanish, or Portuguese are handled, but Cyrillic, Greek, Arabic, Chinese, and other scripts are stripped out, so transliterate those titles into Latin letters first.

How long should a URL slug be?

There's no fixed limit, but shorter slugs are easier to read, type, and share. Aim for a few words that clearly describe the page rather than the full headline.

Is my text sent anywhere?

No. The slug is generated in your browser as you type, and your text isn't uploaded or saved.

Power up your SEO workflow

BreezyTools Pro removes all ads, gives you early access to new tools, and supports ongoing development. Less than a coffee a month.

See Pro Plans →