Slugify — URL Slug Generator
Turn any text into a clean, URL-safe slug.
Everything runs in your browser — nothing you type here is sent anywhere.
Frequently asked questions
What does slugify actually do?+
It strips accents, lowercases the text (optionally), and replaces anything that isn't a letter or number with your chosen separator, collapsing repeats and trimming the ends — the result is safe to use directly in a URL.
Hyphens or underscores — which should I use?+
Hyphens are the near-universal standard for URL slugs and are what Google recommends for SEO; underscores are more common in filenames and code identifiers.
Is my text uploaded anywhere?+
No. All conversion happens client-side in your browser; nothing you type is sent to a server.
Related tools
Case Converter
Convert text to UPPERCASE, lowercase, Sentence case, Title Case, aLtErNaTiNg case, and more.
Code Case
Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
Word Counter
Count words, characters, sentences, and paragraphs, plus see your most frequent words.
Remove Line Breaks
Clean up pasted text by removing line breaks, extra spaces, and blank lines.