Slug Generator
Convert any title or phrase into a clean URL slug with hyphen, underscore, or dot separator.
Separator
Slug will appear here...
How to use Slug Generator
-
Paste a title or phrase
Type or paste any title, heading, or phrase into the input box.
-
Choose a separator
Select hyphen (-) for web URLs, underscore (_) for file names and variables, or dot (.) for config keys and package names.
-
Copy the slug
The slug appears instantly in the output box. Click Copy to send it to your clipboard.
Slug Generator FAQ
What is a URL slug?
Which separator should I use for web URLs?
How are accented characters handled?
Are spaces converted to the separator?
Is my text sent anywhere?
Background
The Kordu Slug Generator converts any text into a clean URL slug — the human-readable part of a URL. "My Blog Post Title!" becomes "my-blog-post-title". Three separator options cover every use case: hyphens for web URLs and blog posts (the SEO-recommended standard), underscores for Python variables and file names, and dots for configuration keys and package names.
Accented and special characters are transliterated automatically — "café au lait" becomes "cafe-au-lait", "naïve" becomes "naive", and German "ß" becomes "ss". All remaining non-alphanumeric characters are replaced by the chosen separator, and leading/trailing separators are stripped.
Common uses: generating URL slugs for blog posts and pages, creating file names from titles, converting category names to CSS class names, generating Python/JavaScript variable names, and creating database table names.
All processing runs client-side in your browser. Your text is never uploaded, stored, or transmitted to any server.
Related tools
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more — instantly.
Word Counter
Count words, characters, sentences, and paragraphs with reading time, speaking time, and keyword density.
Sort Lines
Sort lines alphabetically, by length, numerically, or randomly. Optionally remove duplicates.
URL Encoder/Decoder
Encode or decode URLs and query string components instantly — supports encodeURIComponent, decodeURIComponent, and full URL encoding.
Meta Tag Previewer
Preview how your page looks in Google, Facebook, Twitter, and LinkedIn before you publish. Generate ready-to-paste meta tags.