Skip to tool

Text to Slug Generator

Separator

Slug will appear here...
▸About this tool

Convert any text into a clean, URL-friendly slug. Handles spaces, special characters, and accented letters automatically.

▸Privacy and details

Fast browser processing with no account required.

Optimized for desktop and mobile with accessible controls.

▸How to use
  1. Type or paste your text into the input field.
  2. The slug preview updates live as you type.
  3. Choose a separator: hyphen (recommended for SEO) or underscore.
  4. Set a maximum slug length using the slider.
  5. Click Copy to copy the slug to your clipboard.
▸Why use this tool

A clean URL slug improves SEO, readability, and shareability. This tool instantly converts any title or phrase into a lowercase, hyphenated slug with special characters removed and accented letters transliterated: ready to paste into your CMS, router, or database.

Frequently Asked Questions

What is a URL slug?

A URL slug is the part of a URL that identifies a specific page in a human-readable format, for example, "my-blog-post" in "example.com/blog/my-blog-post". Slugs use lowercase letters, numbers, and hyphens.

What characters are removed from slugs?

All characters that are not letters, numbers, or separators are removed. Spaces are replaced with hyphens (or underscores). Accented characters are transliterated to their ASCII equivalents (e.g. é → e).

Can I use underscores instead of hyphens?

Yes: toggle the separator option to switch between hyphen (-) and underscore (_) separators. Hyphens are recommended for SEO as Google treats them as word separators.

Is there a maximum slug length?

You can set a maximum length. Most SEO experts recommend keeping slugs under 60 characters. The tool truncates at the last complete word before the limit.