URL slug generator

The URL slug generator turns a title into the part of a URL that identifies a page, keeping the original letters or using Latin letters only, and also shows the slug URL-encoded.
Input
Each line becomes a separate slug. Up to 64 KB.

The slug is made in the browser. Please enable JavaScript.

Latin spelling of Hebrew letters
  • ב converts to: b / v
  • ו converts to: v / o
  • ח converts to: ch
  • י converts to: y / i
  • כ ך converts to: k / ch
  • פ ף converts to: p / f
  • צ ץ converts to: tz
  • ק converts to: k
  • ש converts to: sh / s
  • א ע converts to: a
  • ג' converts to: j
  • ז' converts to: zh
  • צ' converts to: ch
  • ת' converts to: th

Everything runs in your browser; nothing is sent or stored.

  • Enter a title in the "Title or text" field, or several titles on separate lines to create a slug for each line.
  • In the "Slug type" section, choose "Keep original letters", "Hebrew in Latin letters", or "Latin letters only".
  • Punctuation and combining marks, such as vowel points, are removed. Spaces, underscores, and dashes of any kind become the separator, and repeated separators collapse into one. In a URL, each letter outside the basic Latin alphabet is sent as at least 6 URL-encoded characters.
  • Hebrew writing has no vowels, so vowels are not guessed: alef and ayin are a, vav is v at a word start and o inside a word, yod is y at a word start and i inside a word, and he at a word end is a. Bet, kaf, and pe are b, k, and p at a word start or with a dagesh, and v, ch, and f elsewhere. Shin with a left dot is s. The result is an approximation and should be checked before use.
  • In the "Word separator" section, choose a hyphen or an underscore.
  • In the "Maximum length in characters (optional)" field, you can limit the length of the slug.
  • The "Result" section shows the slug and its URL-encoded form, with the length of each in characters above them.
  • To copy the slug or the encoded form, click "Copy" below its field.

What is a slug?

A slug is the part of a URL that identifies a specific page, and it is usually created from the page title, for example, backup-tips in https://example.com/blog/backup-tips. A slug should be short and describe the page content, and it should include only letters, digits, and a separator between words, with no spaces and no punctuation. A readable URL lets visitors understand where a link leads before they click it. Words that add no information are usually left out of the slug to keep the URL short.

Slugs in non-Latin scripts or in Latin letters

Many sites in languages written in non-Latin scripts use slugs in their own script, which visitors can read in the address bar. A URL with such letters, or with accented letters such as é, is sent URL-encoded, and in some places, for example, when the URL is pasted into an app or a document, it appears in its encoded form, as a long string of % signs, letters, and digits. A slug in plain Latin letters does not change when URL-encoded, so it stays short and readable everywhere. Both types are common, so choose one type and use it consistently across your whole site.

Changing the slug of an existing page

Changing the slug changes the page URL, so links from other sites, links shared on social networks, and the URL saved by search engines keep leading to the old URL. To keep visitors from reaching a 404 error page, set up a permanent (301) redirect from the old URL to the new one, and update the internal links on your site. You can create a 301 redirect with the ".htaccess redirect generator" tool. It is best to set the final slug before you publish the page and not to change it every time you update the title.

Slugs created from sample titles

  • café-crèmethe title "Café & Crème" with the "Keep original letters" type.
  • cafe-cremethe same title with the "Latin letters only" type.
  • café_crèmethe same title with the "Keep original letters" type and the "Underscore (_)" separator.
  • caf%C3%A9-cr%C3%A8methe slug café-crème URL-encoded.
  • wordpress-installation-guidethe title "WordPress Installation Guide", in which uppercase letters become lowercase.
  • givoi-yomithe Hebrew title for "daily backup" with the "Hebrew in Latin letters" type.

URL slug generator FAQ

Is it better to separate words with a hyphen or an underscore?

In URLs, words are usually separated with hyphens, and Google also recommends hyphens in its guidance on URL structure. In an underlined link, the underline hides the _ character in the URL, so it is hard to see.

Why is the transliteration in Latin letters different from the usual spelling of a word?

In Hebrew written without vowel points, most vowels are not written, so the transliteration is an approximation. For example, the Hebrew title for "website building" becomes bnyt-atr. When the transliteration is not accurate, type the spelling you want in Latin letters and choose the "Latin letters only" type.

Do search engines support slugs in non-Latin scripts?

Yes. Major search engines crawl and index URLs with non-Latin letters, like any other URL. The choice between non-Latin and Latin letters depends mainly on the site audience and on how easy the links are to share.

Why does a number like 2.5 become 25?

A period in a title is removed and does not become a separator, so the title "Version 2.5" becomes the slug version-25, and the word Node.js becomes nodejs. To keep the digits apart, replace the period in the title with a space or a hyphen before you create the slug.

What happens when the slug is longer than the maximum length?

The slug is cut at the end of the last whole word that fits within the chosen length, so it can be shorter than the maximum length. When the first word is longer than the maximum length, the word is cut in the middle.

What is the maximum size of text for creating a slug?

The field accepts text of up to 64 KB, measured by its size in UTF-8, and in the "Maximum length in characters" field, you can enter a value of up to 255. Empty lines do not create a slug.

Shopping cart

Your cart is emptyYou can start with one of our popular plans.

Site search

Accessibility

Text size
100%
Accessibility statement