Text

URL Slug Generator

Strip accents and diacritics from any text and turn it into a clean, URL-friendly slug in one step.

This tool runs entirely in your browser — your data never leaves your device.

What is URL Slug Generator?

A URL should contain only unaccented letters, digits and hyphens. Accented characters get percent-encoded into long unreadable sequences that are ugly to look at, awkward to share, and unhelpful for search engines.

This tool does two jobs at once. First it strips every accent and diacritic using Unicode normalisation, handling characters like Đ that normalisation alone cannot split. Second it produces a finished slug: special characters removed, whitespace collapsed, words joined by a separator.

How to use

  • Enter a title or phrase in the field above.
  • You get two results: the accent-stripped text with spacing intact, and a slug ready to drop into a URL.
  • Choose a hyphen or underscore separator to match your convention.
  • Click Copy on whichever form you need.

Frequently asked questions

Should URLs use hyphens or underscores?

Hyphens. Google treats a hyphen as a word separator but an underscore as a joiner — so qr_code_generator reads as one long word, while qr-code-generator reads as three.

Why do some letters need special handling?

Characters like Đ, ø and ł are distinct letters in Unicode rather than a base letter plus a mark. Normalisation can separate an acute or grave accent from a vowel, but cannot touch these — so the tool substitutes them explicitly.

How long should a slug be?

As short as it can be while staying descriptive, typically three to six words. Long slugs get truncated in search results and are awkward to share. Dropping filler words like the, of and a usually helps.