Generate clean, kebab-case slugs with configurable rules for length and characters. Fully client-side — no account, uploads, or remote storage.
Added Apr 18, 2026
Input
Result
Enter a value for text to see your result.
Converts any text into a URL-safe slug by lowercasing (optionally), replacing spaces and special characters with hyphens or underscores, and collapsing consecutive separators. Slugs are used in URLs, filenames, and identifiers.
Punctuation and spaces are replaced with hyphens; the result is a clean URL-safe string.
Inputs
Result
With underscore separator this produces a Python-style snake_case identifier.
Inputs
Result
A slug is the human-readable, URL-safe part of a web address — for example 'how-to-bake-bread' in 'example.com/blog/how-to-bake-bread'. Slugs use only lowercase letters, numbers, and hyphens.
Google treats hyphens as word separators (improving SEO) but treats underscores as word joiners. For URLs intended to rank in search, hyphens are the standard recommendation.