weconvertit

Text

Text to Slug

Turn any title into a clean, URL-safe slug — live as you type.

Your Text

Separator

Slug

your-slug-appears-here

Paste in a blog post title, product name, or any heading and get back a clean, lowercase, URL-safe slug live as you type. Accented characters are transliterated to their plain-ASCII equivalent, punctuation and repeated spaces collapse into a single separator, and leading or trailing separators are trimmed. Choose a hyphen — the standard for SEO-friendly URLs — or an underscore for file names and code identifiers. Everything runs locally in your browser.

Related Tools

How to Use

  1. 1

    Type or paste your title or text into the box.

  2. 2

    Pick a hyphen or underscore separator, and toggle lowercase on or off.

  3. 3

    The slug updates live below.

  4. 4

    Click Copy to grab it.

Frequently Asked Questions

What is a URL slug?

A slug is the URL-friendly part of a web address that identifies a specific page — for example, in weconvertit.com/text-to-slug, "text-to-slug" is the slug. Good slugs are lowercase, use hyphens instead of spaces, and contain only letters, numbers, and separators.

What happens to accented characters like é, ñ, or ü?

They're transliterated to their closest plain-ASCII equivalent — é becomes e, ñ becomes n, ü becomes u — using Unicode normalization to separate each letter from its accent mark before removing the mark. This keeps slugs readable and avoids URL-encoding issues.

Should I use a hyphen or underscore separator?

Hyphens are the standard choice for URL slugs and what Google explicitly recommends, since search engines treat them as word separators — "url-slug" is read as two words, while "url_slug" may be read as one. Underscores are still useful for file names or code identifiers where hyphens aren't valid.

What happens to punctuation and multiple spaces?

Any character that isn't a letter or number — spaces, punctuation, symbols, repeated separators — is collapsed into a single separator, and any separator at the very start or end of the result is trimmed off.

Is my text uploaded anywhere?

No. The slug is generated locally in your browser and updates live as you type — nothing is ever sent to a server.