Slug Generator
Convert any text into a clean URL-friendly slug. Instantly remove accents, special characters, and normalize spacing.
Frequently Asked Questions
What is a URL slug? +
A slug is the human-readable, URL-friendly part of a web address. For example, in example.com/blog/hello-world, the slug is hello-world. Slugs use lowercase letters, numbers, and hyphens — no spaces or special characters.
Why remove accents from slugs? +
Accented characters like é, ü, or ñ must be percent-encoded in URLs, making them unreadable. Normalizing them to plain ASCII equivalents keeps slugs clean and shareable across all systems.
Hyphen vs underscore in slugs — which is better? +
Google recommends hyphens (-) as word separators in URLs for SEO purposes, as they are treated as word boundaries. Underscores (_) are treated as joiners, which can affect search ranking.
What is a good max length for slugs? +
Keep slugs under 75 characters for readability and SEO. While most servers support very long URLs, shorter slugs are easier to share and remember. Most CMS platforms default to 50–75 characters.
How to Use
- 1
Enter your text
Type or paste a title, heading, or phrase you want to convert to a URL-friendly slug.
- 2
Set options
Choose your separator (hyphen, underscore, or dot). Accented characters are automatically transliterated.
- 3
Copy the slug
Copy the slug and use it as a URL path, file name, or database identifier.
Frequently Asked Questions
- A URL slug is the part of a URL that identifies a page in a human-readable form. Example: /free-online-json-formatter. It should be lowercase, hyphen-separated, and free of special characters.