A title like 10 Best Coffee Shops in Cairo (2026)! cannot go into a web address as it is. Spaces, brackets and exclamation marks must be removed or encoded, and the result is easy to get wrong. The URL Slug Generator converts it to 10-best-coffee-shops-in-cairo-2026, which is the clean form people and search engines expect.
URL Slug Generator FREE online toolRuns in your browser. No sign-up, nothing to install. Open the tool →What makes a good slug
- Lowercase letters, numbers and hyphens only.
- Hyphens between words, not underscores or spaces, since search engines treat hyphens as word separators.
- Short and descriptive, usually three to six meaningful words.
- No punctuation, no emojis, no stop-word clutter such as a, the or of when meaning stays clear.
- Matches the topic of the page, so a visitor can guess the content from the link.
Generate one in four steps
- Paste your post title into the generator.
- Review the output and remove extra words that do not help, such as filler or the year if the post will be updated.
- Check that the main keyword appears naturally, for example coffee-shops-cairo.
- Copy the slug into your CMS URL field before you publish.
Accents, Arabic and other scripts
For titles with accented letters, a generator usually converts é to e and ñ to n, which keeps the URL easy to type and share. For languages with non-Latin scripts, you have a choice: transliterate to Latin letters, or keep the native script. Modern browsers display native-script URLs fine, but when copied they appear as long percent-encoded strings, which can be awkward in emails and messaging apps. This generator keeps letters from any script, so an Arabic title gives an Arabic slug, while transliterating to Latin letters is something you do by hand. Decide on a rule for your site and apply it to every post.
Dates, numbers and categories
Avoid putting the year in a slug if you plan to refresh the article, because the URL will look outdated. A list post can keep its number if the list is permanent. If your site already shows categories in the path, as in /guides/coffee-shops-cairo, do not repeat the category inside the slug as well.
Do not change a live URL casually
Once a post is published, indexed and linked, changing its slug breaks incoming links unless you redirect the old address to the new one with a 301 redirect. If you must change it, set up the redirect first and update internal links. It is far easier to choose a slug carefully before publishing than to repair it later.
Keep slugs unique. Two posts with the same title need different slugs, so add a distinguishing word, such as the location or the version, rather than a random number.
Slug checklist before publishing
Run through a quick list: Is it lowercase? Does it contain the main topic? Is it under about 60 characters? Does it avoid dates that will age? Is it unique on your site? A two-minute check here saves a redirect later. For multilingual sites, keep the slug in the language of the page so the link makes sense to its readers.
Check how it reads
Say the URL aloud, or imagine it in a chat message. If it is understandable and does not look like a code, it is probably good. Slugs of more than about 60 characters are often cut off in search results and are harder to share. When in doubt, shorten: remove adjectives first, and keep the nouns that describe the subject.
Comments (0)
No comments yet. Be the first to share a thought.