YourFileKit
Esc
Home/Tools/Text to Slug Converter

Convert text to a URL slug

Turn any text into a clean, URL-safe slug: lowercase, hyphenated, no special characters.

Everything runs in your browser. Nothing is uploaded to our servers.
Fullscreen
Text to convert
Separator
Slug-
01
Type or paste a title

Works with headlines, product names, or any short piece of text.

02
Pick a separator

Hyphens are the standard for URLs; underscores work for filenames and some CMS fields.

03
Copy the slug

Accents are stripped, everything is lowercased, and special characters become separators automatically.

Frequently asked

What exactly is a "slug"?

A slug is the URL-friendly version of a title. Lowercase, no spaces or special characters, usually separated by hyphens. For example, "10 Best Coffee Shops!" becomes "10-best-coffee-shops".

How are accented characters handled?

Accented letters are converted to their closest plain ASCII equivalent ("café" becomes "cafe") instead of being dropped or turned into a separator.

What happens to punctuation and multiple spaces?

Any run of characters that isn't a letter or number (spaces, punctuation, multiple dashes, etc.) collapses into a single separator, and any separators at the very start or end are removed.

Should I use a hyphen or an underscore?

Hyphens are the near-universal standard for URL slugs and are treated better by search engines. Underscores are more common for filenames or certain database keys. Use the separator selector to switch.

Related tools