Make a URL slug from any title
Turn a blog post title, product name or page heading into a clean URL slug as you type. The text is lowercased, accents are removed, apostrophes are dropped and the words are joined with a hyphen, underscore or dot, leaving you a web-safe address to paste into your CMS.
Paste the headline, pick a separator and copy the result. The slug, its length and its number of segments update with every keystroke. If any letters had to be removed because they have no Latin equivalent, you're told which ones, rather than being handed a shorter slug without explanation.
How the slugify rules work
First, accented letters are split into a base letter plus an accent mark (Unicode NFKD normalisation), and the marks are thrown away, so é becomes e and ü becomes u. The text is then lowercased, and a handful of letters that don't split that way go through a fixed table: ß becomes ss, æ becomes ae, œ becomes oe, ø becomes o, ł becomes l, đ becomes d and þ becomes th.
Next, straight and curly apostrophes are deleted so that "don't" turns into dont rather than don-t. Every remaining run of characters that isn't a to z or 0 to 9, whether it is one space, three dashes or a colon followed by a space, collapses into a single separator. Separators left at the very start or end are trimmed.
That's all. Short words such as "the", "for" and "in" stay, so do numbers, and there is no length cap, which makes the slug a faithful copy of your title in URL form. If you want something shorter, edit the title box.
Assumptions and limits
- Only a to z and 0 to 9 survive. Cyrillic, Arabic, Urdu, Chinese, Greek and emoji characters are removed and listed in a warning; a title written entirely in those scripts gives an empty slug.
- Symbols carry no meaning in the slug: "C++ vs C#" becomes c-vs-c and "50% off" becomes 50-off, so add words such as plus or sharp to the title if the difference matters.
- Stop words are not removed and the slug is not shortened. Search engines read long slugs fine, but people sharing the link prefer short ones, so cut the title down yourself.
- The dot separator turns "Node.js 2.0" into node.js.2.0, which some servers treat as a file extension. Use the hyphen for public page URLs.
Worked examples
Blog post title to SEO-friendly slug
The default headline shows the basic case: capitals become lowercase, the exclamation mark disappears and the spaces become hyphens. The counter under the result reads 48 characters and 9 segments.
10 Best Free Online Tools for Developers in 2026! → /10-best-free-online-tools-for-developers-in-2026
Accents and apostrophes in a recipe URL
French and German letters are folded to plain Latin letters, and the apostrophe in don't is dropped rather than turned into a hyphen. With the underscore separator the same rules apply, only the joining character changes.
Crème Brûlée: Don't Burn the Sugar → /creme-brulee-dont-burn-the-sugar (32 characters, 6 segments) Straße & Café Guide – Zürich (separator _) → /strasse_cafe_guide_zurich (25 characters, 4 segments)
A mixed-script title
For "Как сделать сайт — Guide" the slug is just guide, and the warning lists the Cyrillic letters that were dropped. That is the cue to type a transliterated title such as "Kak sdelat sait guide" instead.
How to use the Slug Generator
- Type or paste the title. Enter the heading in the Title or Phrase box; the slug below updates instantly.
- Pick a separator. Hyphen for page URLs, underscore or dot for file names and keys.
- Check and copy. Read the character count and any warning, then press Copy Slug and paste it into your CMS.
Frequently asked questions
What is a URL slug?
A slug is the readable part of a web address that identifies one page, such as how-to-make-chai in example.com/blog/how-to-make-chai. It usually comes from the page title, written in lowercase with hyphens between the words so it is easy to read, type and share.
Should a slug use hyphens or underscores?
Use hyphens for page URLs. Google's URL guidance recommends hyphens to separate words, because an underscore can be read as joining two words into one. Underscores and dots are offered here for file names, database keys and CSS class names, where they are common.
How long should a URL slug be?
Three to six meaningful words is a practical target. There is no fixed limit, and this tool doesn't impose one, but that length describes the page and still reads well in search results and chat messages. Watch the character count and shorten the title if it runs past about 60.
Why did some letters disappear from my slug?
Because only the letters a to z and the digits 0 to 9 are kept. Accented Latin letters are converted, but scripts such as Urdu, Arabic, Hindi or Chinese have no automatic equivalent here, so they are removed and shown in an orange warning. Type a romanised version of the title to keep the meaning.
Can I slugify text with numbers and symbols?
Yes. Numbers are kept as they are, and every symbol or punctuation mark between words becomes one separator, so "Top 5 Tips @ Home!" becomes top-5-tips-home. Several symbols in a row still produce only one hyphen, so you never get double separators.
Does changing a slug affect SEO?
Yes, once the page is published. A new slug means a new address, so old links and search results point to a page that no longer exists. If you must change it, set up a 301 redirect from the old URL to the new one. Choosing a good slug before publishing avoids the problem.
Sources
This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.