URL slug generator
Turn a title into a clean URL with no accents or odd characters.
Calculator inputs
Results
Enter your values and press “Calculate” to see the result.
In short
- What it calculates
- Turn a title into a clean URL with no accents or odd characters.
- Formula used
Lowercase → strip accents → strip symbols → join words with the separator- Example
- “How to calculate VAT step by step” becomes:
URL slug generator
A readable URL helps both search engines and the people who share it. Accents, spaces and punctuation need to go before you publish.
This generator performs exactly that conversion.
How it works
Everything is lowercased, accented characters are replaced by their plain equivalents, symbols are stripped and words joined with hyphens.
Formula
Lowercase → strip accents → strip symbols → join words with the separator
Worked example
“How to calculate VAT step by step” becomes:
how-to-calculate-vat-step-by-step
Explanation
Hyphens, never underscores
Google treats a hyphen as a word separator and an underscore as a character that joins words. A file called leather_shoes is read as a single word, while leather-shoes reads as two. It is an old and consistent recommendation, and it still holds.
No accents or special characters
Although browsers today handle addresses with accented characters well, those URLs get percent-encoded when copied and become unreadable in messages, emails and shared links. Transliterating to basic characters avoids that problem at no cost.
Short and stable
A slug of three or four meaningful words is enough. And once published, changing it breaks every existing link: if it must be done, it should be paired with a permanent redirect from the old address, or accumulated ranking is lost.
No unnecessary stop words
Articles, prepositions and conjunctions add little to an address. Going from «the-definitive-guide-to-choosing-a-laptop» to «guide-choosing-laptop» improves readability without losing information, though there is no need to obsess: clarity beats brevity.
Frequently asked questions
Hyphen or underscore?
Hyphen. Search engines read it as a word separator, whereas an underscore joins the terms together.
How long should a slug be?
The shorter and more descriptive the better. Three to five meaningful words is usually the sweet spot.
Hyphen or underscore in URLs?
Hyphen. Search engines treat it as a word separator, while an underscore joins the terms into one.
Can I change the slug of a published page?
You can, but it breaks every existing link. Set up a permanent redirect from the old address to avoid losing accumulated ranking.
Need to calculate something else?
These tools are often used alongside this calculator.
Change case
Turn text into uppercase, lowercase, title case, snake_case or camelCase.
Title and meta
Characters and approximate pixel width of your SEO tags.
Keyword density
How often your keyword appears and how much weight it carries.