Slug Generator
Convert text into URL-friendly slugs with customizable separators and case options.
Frequently Asked Questions
What is a slug generator?
A slug generator converts human-readable text into a URL-safe string by removing special characters, replacing spaces with separators, and optionally applying case transforms.
How do I use the slug generator?
Paste or type your text into the input area. Choose a separator (hyphen or underscore) and toggle lowercase or uppercase. The slug updates instantly as you type.
What separator should I use?
Hyphens (-) are the most common choice for URL slugs — they are SEO-friendly and the standard for most platforms (WordPress, Ghost, etc.). Underscores (_) are occasionally used but hyphens are generally preferred.
What characters are removed?
The tool strips diacritics, special characters, and symbols — keeping only letters, numbers, spaces, and hyphens/underscores. Spaces and consecutive separators are collapsed into a single separator.
Is this tool free?
Yes, ToolDock's slug generator is completely free, requires no signup, and runs entirely in your browser.