EN

Text to Slug

Turn any title into a clean, lowercase URL slug.

Separator between words

Words: 0 · Characters: 0

Built by Jhon WRuns in your browserLast reviewed:

  • Free, no sign-up
  • Your text stays on your device
  • Works on phone and computer
  • 8 languages

Popular tools:Text RepeaterFancy Text GeneratorWord CounterSmall Text Generator

Text to Slug is a free online tool that turns any title into a clean URL slug with lowercase letters, digits and hyphens, and removes accents and special characters. Use it as a slug generator for a whole list, one title per line, with hyphens or underscores and an option to drop short words, with no sign-up.

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 slug generator turns a title into that form for you.

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.

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.

Tips for using the slug generator

  • Write non-Latin titles in Latin letters first. The tool keeps only the letters a to z and digits and does not transliterate scripts such as Arabic, Hindi, Russian or Chinese.
  • Keep hyphens for web addresses. Hyphens are the usual choice between words in a URL; switch to underscores only where your system asks for them.
  • Turn off Remove short words to keep every word. With the option on, the 18 short words such as a, the and of are dropped.
  • Shorten long titles yourself. The tool does not cut the slug, so shorten the title or delete words in the slug by hand for a shorter address.
  • Convert a whole list at once. Paste up to 100,000 characters with one title per line, and you get one slug per line.

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.

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.