Slug Generator
Turn titles into clean URL slugs. Accents are removed, Cyrillic and Greek are transliterated, and you control the separator and length.
Slug Generator: the tool
Input
Slug
The result appears here.How to use Slug Generator
- Type or paste a title. The slug appears as you type.
- Choose the separator: a hyphen is the usual choice for URLs, and Google treats it as a word separator.
- Set a maximum length if your CMS or database limits slugs. Slugs are cut on a whole word where possible.
- Turn on One slug per line to convert a list of titles at once. Copy the result.
Example
A long title with accents, punctuation and an ampersand, converted with the default settings and with stop words removed and a 40 character limit.
The Café Guide: 10 Crème Brûlée Recipes & Tips (2026 Edition)
the-cafe-guide-10-creme-brulee-recipes-and-tips-2026-edition
cafe-guide-10-creme-brulee-recipes-tips
About this tool
A slug is the human-readable part of a URL that identifies a page, such as the last segment in /blog/crème-brûlée-recipes. A good slug is short, lowercase, made of plain letters, digits and one kind of separator, so it is readable, easy to share and safe to use in any system.
The generator follows a fixed sequence: apostrophes are dropped (so don't becomes dont), & becomes and, accents are removed (é to e), special letters are expanded (ß to ss, æ to ae, ø to o, ł to l), Cyrillic and Greek are transliterated, and everything that is not a letter or a digit becomes a single separator. Leading and trailing separators are removed.
Other scripts, such as Chinese or Arabic, have no standard Latin form, so by default they are dropped. Choose Keep non-Latin characters if your site uses them directly in URLs, which modern browsers and search engines support.
Frequently asked questions
What makes a good URL slug?
Short, lowercase, descriptive, and stable. Use hyphens between words, avoid dates and stop words when they add nothing, and do not change a published slug without setting up a redirect.
Hyphen or underscore?
Use a hyphen for pages. Google documents that it treats hyphens as word separators but does not treat underscores that way. Underscores and dots suit file names and identifiers.
How are accented characters handled?
They are decomposed and the accent is removed, so é becomes e and ñ becomes n. Letters that have no decomposition are replaced by a standard equivalent: ß becomes ss, æ becomes ae, ø becomes o.
What happens to Chinese, Japanese or Arabic text?
By default those characters are removed, because there is no single agreed Latin spelling. Pick Keep non-Latin characters to retain them as they are.
Are the same titles always converted the same way?
Yes. The conversion is deterministic, and converting a slug again returns the same slug.
More developer tools
- %20URL EncoderPercent-encode text for URLs: a single component, a full URL, or form data. Unicode is encoded as UTF-8.
- LoLorem Ipsum GeneratorGenerate placeholder text by paragraphs, sentences or words, with the classic opening and optional HTML paragraph tags.
- &;HTML EncoderEscape text for safe use in HTML: <, >, &, quotes and, if you want, every non-ASCII character.
- #UUID GeneratorGenerate random v4 and time-ordered v7 UUIDs in bulk, in the format you need. They are created in your browser with a secure random source.