Skip to content
SUMILORASUMILORA

URL slug generator

Developer tools

Enter a title. The slug updates as you type.

Runs in your browser

Nothing is uploaded. The work happens on your own device, so your file or text never reaches us.

About this tool

What happens to non-Latin scripts

For Latin text, diacritics are decomposed and stripped: Crème Brûlée becomes creme-brulee. German ß becomes ss, Polish ł becomes l, Danish ø becomes o — the substitutions those languages themselves use.

For Arabic, Japanese, Korean or Chinese there is nothing to strip and no single agreed transliteration. Stripping anyway leaves an empty slug, which is what many tools quietly produce.

So there is a choice: preserve the script, giving a percent-encoded URL that is ugly in a log and perfectly readable in a browser’s address bar; or write the slug yourself in Latin characters, which is what this site does for its own Arabic and Japanese pages.

Questions

Should slugs have hyphens or underscores?

Hyphens. Google treats a hyphen as a word separator and an underscore as a word joiner, so word_two reads as one token.

How long should a slug be?

Long enough to describe the page and no longer. There is no penalty for length, but a slug nobody can read is a slug nobody will share.

Related tools