Skip to content

Slug Generator

Turn a title into a clean, SEO-friendly URL slug.

Generated locally in your browser.

How do you generate a URL slug from a title?

The text is lowercased, accents are stripped, spaces and punctuation become the separator, and repeated separators are collapsed into one. Short, descriptive slugs are easier to read and share and help search engines understand the page. For example, "My Awesome Blog Post!" becomes "my-awesome-blog-post".

Understanding your result

Short, descriptive slugs are easier to read and share, and help search engines understand the page.

Formula and method

The text is lowercased, accents are stripped, spaces and punctuation become the separator, and repeated separators are collapsed.

Assumptions and limitations

The tool creates a slug from the text you give it; it does not check whether that slug is already in use on your site or shorten it for you. Very long titles produce long slugs unless you trim the input. Stop words like the and of are kept. Processing happens in your browser.

Worked example

“My Awesome Blog Post!” becomes “my-awesome-blog-post”.

How to use this tool

  1. Type your title.
  2. Choose a separator.
  3. Copy the slug.

Common mistakes to avoid

  • Leaving very long slugs — trim to the key words.

About the Slug Generator

Convert a title into a tidy URL slug: lowercase, hyphenated and free of special characters.

Who should use this tool

Bloggers, developers and content teams who need clean URLs for posts, products or documentation pages. If you have a title with capitals, spaces, punctuation or accents and want a lowercase, hyphenated slug that reads well and is safe to use in a link, this produces one instantly.

Benefits

  • Converts any title to a lowercase, hyphenated URL slug
  • Strips accents and special characters for safe links
  • Collapses repeated separators into a single hyphen
  • Generates slugs locally without sending your titles anywhere

Practical use cases

  • Creating a tidy URL for a new blog post
  • Generating a link-safe slug for a product page
  • Naming documentation pages consistently across a site
  • Turning a headline into a shareable link segment

Explore all Text and Writing tools

Frequently asked questions

Does it handle accents?

Yes. Accented letters are converted to their basic Latin equivalents where possible.

Should I remove short words like 'the' from my slug?

It is optional. Shorter slugs are easier to read and share, so many people trim common words, but keeping them is fine and does not break anything. The tool leaves your words as given, so edit the title first if you want a more concise slug.

Can I use the same slug on more than one page?

Each page on a site normally needs its own unique slug, since two pages sharing one path would clash. This tool generates the slug but cannot see your site, so check for an existing match yourself and adjust the title if you need a distinct one.

Share this tool

Free to use — copy the link, share it anywhere, or add the tool to your own website.

Embed this tool on your site (free)

Copy this code and paste it into any web page — it stays free and always up to date: