EN

Text to Slug

Turn a title or any text into a clean URL slug. Paste several titles to get one slug per line.

Separator between words

Words: 0 · Characters: 0

How to make a URL slug

  1. Enter the title. Type or paste the title in the Title or text box. Put each title on its own line to convert several at once.
  2. Set the options. Keep the hyphen as the separator. Tick Remove short words if you want a shorter slug.
  3. Copy the slug. The slug appears in the Slug box. Press Copy and paste it in your page address.

What is a URL slug?

A URL slug is the part of a web address that names one page. In the address example.com/blog/how-to-bake-bread, the slug is how-to-bake-bread.

A good slug uses lowercase letters and digits, with hyphens between the words. It has no spaces, accents or special characters, so it works in every browser and is easy to read and share.

Features

  • Lowercase letters, digits and hyphens only.
  • Accents removed, so é becomes e and ñ becomes n.
  • Hyphen or underscore as the separator.
  • Optional removal of short words such as a, the and of.
  • One slug per line for a list of titles.

What the tool changes

InputResultRule
Hello Worldhello-worldLowercase, space becomes a hyphen
Crème Brûléecreme-bruleeAccents are removed
Salt & Peppersalt-and-pepper& becomes and
Don't Stopdont-stopApostrophes are removed
100% Free!100-freeOther signs become a separator
Straßestrasseß becomes ss

With Remove short words on, these 18 words are dropped: a, an, the, and, or, but, of, in, on, at, to, for, with, by, from, as, is and are. If a title has only such words, they are kept.

Why the result may not look right

  • The slug is empty or has missing words. The text is in a script that is not Latin, such as Arabic, Hindi, Russian or Chinese. The tool keeps only the letters a to z and digits, and it does not transliterate other scripts.
  • A word you wanted is gone. Remove short words is on. Turn it off.
  • The slug is very long. The tool does not cut the slug. Shorten the title, or delete words by hand.
  • The text stops growing. The box takes up to 100,000 characters.

Related tools

Three other tools on this site prepare a title. The case converter fixes its capital letters. The tool to remove extra spaces cleans a list of titles before you convert it. The find and replace tool changes a word in many slugs at once.

Is it private?

Yes. The slug is made inside your browser. Your text is not sent to our server and is not saved by us.

Frequently asked questions

How do I turn a title into a slug?
Type the title in the box. The slug appears at once in lowercase with hyphens between the words.
Should a slug use hyphens or underscores?
Hyphens are the usual choice for web addresses. The tool uses hyphens by default and offers underscores as an option.
Does it remove accents?
Yes. Letters such as é, ñ and ü become e, n and u.
Can I convert many titles at once?
Yes. Put each title on its own line. You get one slug per line.
Is the Text to Slug tool free?
Yes. It is free and you do not need an account.