Skip to contentSkip to the inputSkip to the result

URL slug generator

Make a readable identifier for a URL path.

Loading tool

Instructions

URL slug generator

How to use

  1. Enter a title and generate a lowercase, hyphen-separated slug.

Supported input

  • Korean can be kept, romanized letter by letter or removed; accents on Latin letters are dropped.
  • Several lines make one slug or one slug per line.

Input example

Hello World

Result example

hello-world

Troubleshooting

  • Check required inputs, numeric ranges and the selected conversion direction.

How it works

  • Make a readable identifier for a URL path.

Turning a title into a clean URL slug

What makes a good slug

  • Hyphens between words. Google Search Central recommends hyphens rather than underscores, because a hyphen reads as a word boundary and an underscore may not.
  • Lower case. Under RFC 3986 the host name is case-insensitive but the path may not be, so /Summer and /summer can be two different pages. Lower case avoids the split.
  • A few meaningful words. Drop filler and punctuation; the reader should guess the page from the address.
  • Stable once published. Changing a slug breaks every link already shared, so if you must, redirect the old address to the new one with a 301.

From title to slug, step by step

  1. 1Korean is kept, romanised or removed, as chosen.
  2. 2NFKC normalisation folds look-alike forms: full-width ABC123 becomes abc123, half-width katakana becomes the normal form, circled ① becomes 1, the ligature fi becomes fi.
  3. 3Accents come off Latin letters and a few are spelled out: “Café Crème Brûlée: 10 Recipes!” becomes cafe-creme-brulee-10-recipes, Straße becomes strasse, Œuvre oeuvre, and ø, đ, ł, þ become o, d, l, th.
  4. 4Everything is lowered, and any character that is not a letter, digit, space, underscore or hyphen is removed. Other scripts are letters too, so 東京 旅行 stays as 東京-旅行.
  5. 5Runs of spaces, underscores and hyphens become one separator, and separators at either end are trimmed: “ --Hello__World-- ” is hello-world.

Non-Latin titles and percent-encoding

Browsers and search engines handle addresses in any script. Copied out of the address bar, though, every non-ASCII character is written as its UTF-8 bytes in %XX form. A Korean syllable is three bytes, so it becomes nine characters: the ten-character Korean slug for “summer trip 2027” turns into a 42-character string when pasted into an email.

Romanising gives a short slug that looks the same everywhere: 서울 여행 가이드 (“Seoul travel guide”) becomes seoul-yeohaeng-gaideu. It is spelled letter by letter, without the sound changes of the official romanisation, so 신라 comes out sinra rather than Silla; check place names and people’s names by hand.

What the length limit really does

  • At 30 characters, “How to write a URL slug that people and search engines can read” becomes how-to-write-a-url-slug-that, 28 characters, cut at a hyphen rather than inside a word.
  • A single word longer than the limit has no hyphen to cut at, so Supercalifragilisticexpialidocious becomes supercalifragilisticexpialidoc. Tidy that by hand.
  • Under the result the slug is shown after example.com/ with its length, so you can judge how it will look in a real address.

Common mistakes

  • Titles that differ only in symbols collapse together: “C++ vs. C# — 2026” is c-vs-c-2026. Spell such names out, as cpp and csharp.
  • Collisions with existing pages. The tool cannot see your site, so add -2 or a distinguishing word yourself when a slug is taken.
  • Choosing underscores out of habit. Unless a house rule says otherwise, hyphens match what search engines expect.

Checked

Frequently asked questions

What happens to Korean titles?

Korean is kept by default, so '여름 여행 2027!' becomes '여름-여행-2027'. Korean paths are percent-encoded when shared and can get long, so you can also romanise or drop Korean.

Is the romanisation the official spelling?

It joins the Revised Romanization spelling of each syllable without sound changes. So 신라 becomes sinra rather than Silla, and 한국어 becomes hangukeo. Fix names and places by hand.

Can I limit the length?

Yes, to 60 or 30 characters. The slug is cut at the last separator within the limit, or at the limit itself when the last separator falls in the first half. Symbols are removed and runs of spaces or hyphens become one. Put several titles on separate lines and choose One per line to get a slug for each.