Slug Generator
Turn any text into a clean URL slug.
What this tool does
Slug generator that turns any text into a clean URL. Strips accents, spaces and symbols, leaving only letters, numbers and a separator of your choice. Ideal for blog titles, product names and SEO routes.
To check the length of the title before generating the slug, use word counter. For quick text extractions, regex tester.
What you can use it for
- Turn an article title into a slug ready for the URL.
- Normalize product names for an online store.
- Create readable identifiers for files or folders.
- Batch-generate slugs during a content migration.
How to use it
- Paste or type the original text.
- Pick the separator: hyphen, underscore or dot.
- Enable lowercase if you want the slug all lowercase.
- Enable strip accents to clean diacritics.
Everything runs inside your browser. No file is uploaded to any server. See more tools in this field.
Examples of clean slugs
So you see what transformations the tool applies, here are common cases for blog posts, products and international URLs.
| Original text | Slug |
|---|---|
| ¿How to resize an image? | how-to-resize-an-image |
| 10 tricks to improve your SEO in 2026 | 10-tricks-to-improve-your-seo-in-2026 |
| Café with milk & churros | cafe-with-milk-churros |
| extra spaces | extra-spaces |
| UPPERCASE and LoWeRcAsE | uppercase-and-lowercase |
| Año nuevo, paleta nueva | ano-nuevo-paleta-nueva |
Pairs well with
Other tools people reach for in the same flow.
- Word Counter
count words and characters in your text
Closes the SEO content loop.
- Text CompareComing soon
Keep working with the same text.
- Regex Tester
test regular expressions
Strong fit in developer workflows.
Related tools
DeveloperWord Counter
Count words, characters, sentences and estimated reading time.
JSON Formatter
Format, validate and minify JSON in your browser.
Regex Tester
Test and debug regular expressions in real time, with capture groups.
UUID Generator
Generate cryptographic UUID v4 identifiers on demand.
Frequently asked questions
Why use hyphens and not underscores?
Hyphens are Google's recommended choice for URL slugs. They separate words clearly for the search engine and are the most widespread convention across web and blogs.
What does strip accents do exactly?
It replaces accented or diacritic letters with their unaccented counterparts (á becomes a, ñ becomes n, ü becomes u). The result is pure ASCII, which avoids issues in legacy URLs and systems that don't handle Unicode well.
Should I keep accents in a modern URL?
Modern browsers and engines support Unicode in URLs, but the slug looks longer once copied (accents are encoded as %CE%A9 and similar). For consistency and readability, stripping accents is the common choice.
Does it work with any language?
Yes. It recognizes Latin, Greek, Cyrillic and many other alphabets. For languages with characters very different from Latin (Chinese, Arabic), the slug may end up very short. In those cases, a manual transliteration is usually preferred.
