Skip to main content

Slug Maker

A slug is the readable tail of a URL — /ten-tips-for-better-sleep instead of /post?id=4815. Type a title and get its slug instantly: lowercased, accents folded to plain letters, symbols dropped, words joined cleanly.

Made in your browser — no upload, no waiting.

Separator

Truncates at a word boundary, never mid-word.

Your URL slug

creme-brulee-a-la-carte

Lowercase, accents removed, symbols dropped, words joined cleanly.

Made entirely in your browser — nothing is sent anywhere.

Embed this calculator on your website →

The formula

slug = lowercase → accents removed → runs of non-letters/digits become one separator

  • accents fold to ASCII — é → e, ü → u, ñ → n (via Unicode decomposition). Letters that do not decompose get a standard mapping: ß → ss, æ → ae, œ → oe, ø → o, ł → l, đ → d, þ → th, ð → d.
  • symbols are dropped — punctuation (including &) becomes separator space, never a word, so “Fish & Chips” slugs as fish-chips, not fish-and-chips.
  • length limits — cut at a word boundary: the slug may end up shorter than the limit, but never ends mid-word or on a separator.

Worked example: “Crème brûlée — à la carte” → creme-brulee-a-la-carte.

How it works

Type a title and the slug updates live. The transliteration rules above are the whole story — there is no hidden word list, no stopword removal, and no stemming: numbers stay (they are often the most important part of a title), and every word of your title appears in the slug unless a length limit cuts the tail at a word boundary.

Hyphens are the conventional separator for public URLs: search engines treat them as word separators, while underscores are treated as joiners. Choose underscores only when a system you are feeding (a file name, a database key) prefers them.

Examples

  • A blog title → “Ten Tips for Better Sleep!” becomes ten-tips-for-better-sleep.
  • Accents → “Héllo Wörld & Friends!” becomes hello-world-friends.
  • Special letters → “Straße & Øl: Æsop’s Fables” becomes strasse-ol-aesop-s-fables — the ß, Ø, and Æ all survive as readable ASCII.

Frequently asked questions

Should a slug contain every word of the title?

Usually, yes — a faithful slug is predictable and ages well. Some writers drop small words (a, the, for) to shorten URLs; this tool keeps them so the slug always matches the title, and the length limit gives you a controlled way to trim the tail instead.

Hyphens or underscores?

Hyphens for anything a person or a search engine will read: they are the long-standing convention for word separation in URLs. Underscores suit file names and keys in systems that treat a hyphen as an operator or a range.

What happens to numbers and non-Latin scripts?

Digits are kept as-is. Letters from Latin scripts (including accented ones) transliterate per the rules above. Characters that have no ASCII folding — Chinese, Arabic, Cyrillic letters — cannot be represented in a strict ASCII slug and are dropped; for those titles, a short hand-written slug is the honest answer.

Is anything uploaded?

No — the slug is built in your browser as you type.