Text to Slug Converter

Convert a title, headline or file name into a slug that is safe to use in a URL: lower case, accents removed, symbols dropped and words joined by hyphens or underscores. You can remove filler words, cap the length and keep or drop numbers.

Transform & Compare Runs in your browser

Convert Text to a URL Slug

Each line becomes its own slug.
Cuts at a whole word where possible.

How to Use the Text to Slug

  1. Type or paste your title; use one line per slug if you have several.
  2. Choose a separator and decide on lower case, accent stripping, number and stop-word handling.
  3. Set a maximum length if your system restricts it.
  4. Copy the slug from the result box.

About This Tool

Bloggers and SEO editors writing permalinks, developers creating file or route names from titles, and shop owners tidying product URLs.

Input: Plain text, one title per line  ·  Output: URL slug.

Features and Limitations

Features

  • Accent folding with NFD normalisation plus special letters like ß, æ, ø, đ and ł.
  • Turns & into “and”, drops apostrophes so “don't” becomes “dont”.
  • Optional stop-word removal and word-boundary length limit.
  • Optional support for non-Latin scripts.

Limitations

  • Text in Cyrillic, Greek, Chinese and other non-Latin scripts disappears unless you tick the non-Latin option; transliteration (Привет to privet) is not performed.
  • The stop-word list is a short English list; other languages are not covered.
  • A slug cannot guarantee uniqueness. Your website or CMS must still check for duplicates.
  • Results are computed in your browser; nothing you enter is sent to a server.

Example

“Crème Brûlée & Other Easy Desserts: 10 Recipes!” becomes creme-brulee-and-other-easy-desserts-10-recipes, and with stop words removed creme-brulee-other-easy-desserts-10-recipes.

Frequently Asked Questions

What is a URL slug?

The human-readable last part of a web address, such as /crepe-recipes in example.com/crepe-recipes. Good slugs are short, descriptive and use only lower-case letters, digits and hyphens.

Hyphen or underscore?

Search engines treat hyphens as word separators, so hyphens are the usual choice for URLs. Underscores are common in file names and database keys.

Should I remove stop words?

Shorter slugs are easier to read and share, so removing words such as “the” or “of” often helps. Keep them where removing them changes the meaning.

What happens to non-English titles?

Latin-script letters with accents are folded to plain ASCII. Other scripts are dropped unless you tick Keep non-Latin letters, which keeps them in the slug.

Related Tools

More like this: all Transform & Compare tools, all Text & Writing tools or the TinySandy home page.