Slug / URL Generator
Convert any text to URL-safe slugs. Outputs kebab-case, snake_case, camelCase, and PascalCase simultaneously. Handles Unicode and accented characters with Laravel Str::slug() preview.
Laravel Str::slug() preview
→
| Original | kebab |
|---|---|
How to use the Slug Generator
Type or paste any text to instantly generate URL-safe slugs in four formats: kebab-case, snake_case, camelCase, and PascalCase. Accented and Unicode characters (é, ü, ñ) are automatically normalised to their ASCII equivalents. Switch to Bulk mode to process a list of titles at once.
Laravel Str::slug()
Laravel's Str::slug($title, '-') produces kebab-case output and handles Unicode via the transliterator_transliterate function. Change the second argument to '_' for snake_case slugs. Use Str::camel() and Str::studly() for camelCase and PascalCase respectively.