Text to Slug Converter

Paste a title and get a clean, search-friendly URL slug instantly. Convert one title or a whole list, and choose exactly how the slug is built.

Try an example

What Is a URL Slug?

A slug is the readable last part of a web address that names a page. In example.com/blog/best-free-writing-tools, the slug is best-free-writing-tools. A good slug uses simple, safe characters, usually lowercase letters, numbers and hyphens, so people and search engines can tell what the page is about before they open it. Slugs also appear in search results, shared links and browser tabs, so a clean one makes your pages look more trustworthy.

How to Use the Text to Slug Converter

  1. Type or paste a title into the left box. To convert many titles at once, put each one on its own line.
  2. Read the slug on the right. It updates as you type, with a note on its length.
  3. Adjust the separator, maximum length and the checkboxes to suit your site.
  4. Press Copy slug, or Download to save a list.

Use Copy link with my text to share the tool with your text and settings already filled in. Anyone who opens that link sees the same result.

How the Converter Builds a Slug

  1. Optionally changes "&" to "and".
  2. Removes apostrophes inside words, so "there's" becomes "theres" and "O'Riley" becomes "oriley".
  3. Turns accented letters into plain ones, so é becomes e, ü becomes u and ß becomes ss.
  4. Converts to lowercase, if that option is on.
  5. Replaces spaces and symbols with your chosen separator, and collapses repeats so you never get a double hyphen.
  6. Trims separators from the start and end, and shortens the slug to your maximum length at a whole word.

Options Explained

Slugs for Arabic and Other Non-English Text

By default, the tool keeps only the letters a to z and numbers, so a title written entirely in Arabic or Russian would produce nothing. You have two choices.

SEO Best Practices for URL Slugs

A good real example is bitcoin-tax-calculator, used by the Bitcoin Tax Calculator on Lumara's crypto site. It is short, lowercase, hyphenated and says exactly what the page does. Paste "Bitcoin Tax Calculator" into the converter above and you will get that same slug.

Common Slug Mistakes

Converting Many Titles or Filenames at Once

Slugs are not only for web pages. Paste a list of song titles, product names or document titles, one per line, and you get a clean filename for each. Add a prefix to turn them into full addresses, and turn on the unique option so repeated titles do not collide.

Examples

What You Can Convert, and Where Slugs Are Used

Type or paste one title, or a list with one title per line. You can also open a plain text file of up to 5 MB, or share a link that carries your text. Each line becomes its own slug, or all lines join into one if you turn off multi-line mode.

Slugs most often go into blog post and product page addresses, category names and filenames. The prefix option adds a path such as https://example.com/blog/ to every slug, so you get complete addresses ready to paste.

Frequently Asked Questions

What is the difference between a slug and a URL?

The URL is the full address. The slug is only the part that identifies the page, usually after the last slash.

Should I use hyphens or underscores?

Hyphens. Search engines read them as word separators, and they are the common convention for page addresses.

Does the slug affect rankings?

A clear slug helps people and search engines understand a page, but it is a small signal. Quality content matters far more, and no tool can guarantee a ranking.

Can I use Arabic in a slug?

Yes, with "Keep non-Latin letters". Test your links after publishing, because some systems show them as percent codes.

Why is my slug empty?

The text contains no Latin letters or numbers. Turn on "Keep non-Latin letters" or the Latin conversion option.

Is my text sent or saved?

The conversion runs in your browser. The tool does not send or save your text. If you use Copy link with my text, your text is placed in the link you copy, so only share it with people you trust. The page also loads a cookie banner and an advertisement from third-party services, described in our Privacy Policy.

Related Tools and Guide