Free · No sign-up · Private

Slug Generator

Convert text into a URL-friendly slug, with custom separators.

Quick answer

Type a title and the slug generator lowercases it, removes accents and punctuation, and joins the words with hyphens: “Hello World! This is a Test” becomes hello-world-this-is-a-test. Choose underscores instead if your system needs them.

Slug GeneratorRuns in your browser
Slug
hello-world-this-is-a-test

Step by step

How to use the Slug Generator

01

Enter your text.

02

Choose a separator.

03

Get a clean URL slug.

Worked examples

Examples

TitleSlug
How to Calculate a Discount?how-to-calculate-a-discount
Café & Crème Brûlée Recipecafe-creme-brulee-recipe
10 Tips for 202610-tips-for-2026

Good to know

What makes a good slug

Short, readable and focused on the main keyword. Google recommends hyphens rather than underscores to separate words, and keeping URLs simple so people can read them. Remove filler words if the slug gets long.

Changing slugs later

Once a page is published, changing its slug changes its URL. Set up a 301 redirect from the old URL so links and rankings carry over.

Slugs in common platforms

WordPress, Shopify, Ghost and most other content systems create a slug from the title automatically, but they keep every word, including filler words. Writing a shorter slug by hand, such as /discount-calculator instead of /the-best-free-online-discount-calculator-tool, gives cleaner URLs that are easier to share and to read in search results.

FAQ

Frequently asked questions

Hyphens or underscores?

Hyphens. Search engines treat a hyphen as a word separator.

What happens to non-Latin characters?

Accents are stripped; characters outside a to z and 0 to 9 are replaced by the separator.