Slug Generator
Convert any text to URL-friendly slugs. Handles Unicode, accents, custom separators, and max-length truncation.
About this tool
A URL slug is the part of a URL that identifies a specific page in a human-readable way. For example, the slug of this page is /tools/slug-generator.
Good slugs are lowercase, use hyphens as word separators, contain no special characters, and are concise. They improve SEO by including relevant keywords in the URL.
This generator converts any text — including titles with accents, special characters, and Unicode — into a clean slug. It:
- Converts to lowercase - Replaces spaces and separators with hyphens (or your custom separator) - Removes or transliterates accented characters (ü → u, é → e) - Strips all non-alphanumeric characters - Collapses multiple consecutive hyphens - Trims leading/trailing hyphens - Optionally truncates to a maximum length
Supports custom separators (hyphen, underscore, dot) and preserves numbers.
Frequently Asked Questions
What makes a good URL slug?
Should I use hyphens or underscores in slugs?
How are accented characters handled?
What's the ideal slug length?
Related Tools
Case Converter
Convert text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, and more instantly.
URL Encoder/Decoder
Encode and decode URLs and query strings. Parse URL components. Convert special characters to percent-encoding.
Meta Tag Generator
Generate SEO meta tags, Open Graph, and Twitter Card tags. Preview how your page looks in Google and social media.
Text Counter
Count words, characters, sentences, paragraphs, and reading time. Keyword density analysis included.