Text Tools

Text to Slug Converter

Turn any title or phrase into a clean, SEO-friendly URL slug — lowercase, hyphenated and safe for the web.

Tool

About the Text to Slug Converter

The Text to Slug Converter turns a readable phrase into a URL slug: lowercased, hyphen-separated and stripped of anything that would need escaping in a web address. A good slug is short, readable and contains your target keyword.

How it works

The tool lowercases the text, removes accents and punctuation, replaces spaces with hyphens and trims stray hyphens from the ends. For example 10 Best Coffee Shops in New York! becomes 10-best-coffee-shops-in-new-york.

How to use it

  1. Type or paste your title in the box.
  2. The slug updates live below.
  3. Copy it into your CMS, blog URL field or file name.

Why slugs matter for SEO

  • Readability: /how-to-tie-a-tie tells users and search engines what the page is about; /page/?id=4821 does not.
  • Keywords: words in the URL can be bolded in search results.
  • Sharing: clean slugs look trustworthy when pasted into chat or email.

Best practices

  • Keep slugs to about 3–5 words.
  • Use hyphens, never underscores — Google treats hyphens as word separators.
  • Drop stop words like "a", "the" and "and" when you can.
  • Never change a slug after publishing without a redirect, or you break existing links.

Who it is for

Bloggers, marketers, developers and anyone naming pages, posts or files.

Privacy

Conversion happens in your browser — nothing is uploaded.

Frequently asked questions

Use hyphens. Google has said hyphens are treated as word separators in URLs, while underscores are not.
As short as possible while still describing the page — usually three to five words. Avoid dates unless the content is time-sensitive.
Yes. Accents are normalised, so café becomes cafe.

Related tools

Guides for this tool