Text to slug converter

Text to slug converter

How the slug is built

A slug is the readable part of a URL that names the page, like best-coffee-grinders in /blog/best-coffee-grinders. The tool lowercases your text, converts accented and non-Latin letters to plain ASCII where possible (é becomes e, ü becomes u), replaces spaces with hyphens and drops other punctuation.

The result contains only lowercase letters, digits and single hyphens, which is safe in every browser, server and CMS.

Writing a good slug

  • Keep it short and descriptive: three to five words that say what the page is about.
  • Drop words that add nothing, such as a, the, and dates that will soon look old.
  • Use hyphens, not underscores. Google treats hyphens as word separators.
  • Do not change the slug of a page that already ranks unless you add a 301 redirect from the old address.

Common questions

Should a slug contain the main keyword?

It helps people see what the page is about in search results and shared links, but it is a minor ranking signal. Clarity matters more than packing in keywords.

What happens to characters that cannot be converted?

Symbols with no plain-letter equivalent, such as emoji, are removed. Check the result if your title uses a non-Latin script.

Is it OK to change an old URL slug?

Only with a 301 redirect from the old URL to the new one, and with internal links updated. Otherwise you lose the links and rankings the old address earned.

Next steps

Case Converter · URL Encoder · URL Parser

Similar tools

Binary converter
Convert between binary, decimal, hex, and ASCII text.
Color converter
Convert between HEX, RGB, HSL, and other color formats.
Case converter
Convert text between UPPER, lower, Title, and Sentence case.