Skip to content
MixTool

Slug generator

Convert any title into a short, clean, lowercase slug that's safe for URLs, file names and IDs.

  • Runs entirely in your browser
  • Free · no sign-up
  • Works on phone and desktop
Loading tool…

Clean slugs, every time

A slug is the readable part at the end of a URL — best-budget-phones in example.com/blog/best-budget-phones. Good slugs are short, lowercase and use hyphens. This generator removes accents (é → e), turns symbols like & into words, strips punctuation and emoji, and joins the words with hyphens or underscores.

Paste several titles on separate lines to create a batch of slugs at once, trim filler words such as “the” and “of”, and cap the length at a whole word so slugs never end mid-word.

How to create a URL slug

  1. 1

    Enter a title

    Or paste many titles, one per line.

  2. 2

    Adjust the options

    Hyphen or underscore, maximum length, remove filler words.

  3. 3

    Copy the slug

    Paste it into your CMS, file name or code.

Key features

  • Accent and symbol handling

    Café & Co. becomes cafe-and-co.

  • Batch mode

    One slug per line for whole lists.

  • Word-safe length limit

    Cuts at the last full word.

  • Unicode option

    Keep Hindi and other letters if your site supports them.

Common uses

  • Bloggers and SEO: Consistent, keyword-rich post URLs.
  • Developers: Generate IDs, file names and route paths.
  • E-commerce: Clean product page URLs from product names.

Tips and good to know

  • Keep slugs to 3–6 meaningful words and drop dates if you plan to update the post later.
  • Changing the slug of a published page breaks old links — add a 301 redirect from the old URL.
  • Previewing a full URL for a blog post? Try Text to URL Slug.

Frequently asked questions

What is a URL slug?

The part of a URL that identifies a specific page, written in a readable form, like “how-to-bake-bread”.

Should I use hyphens or underscores?

Hyphens. Google treats hyphens as word separators, while underscores join words together.

Should slugs be lowercase?

Yes. URLs can be case-sensitive, so lowercase avoids duplicate pages and broken links.

Can slugs contain Hindi?

They can, but browsers encode them into long %-codes when copied. Most sites use English slugs for readability.