About this tool
Turn a title into a clean URL slug.
The Slug Generator turns a title into a lowercase ASCII URL slug by applying Unicode NFKD normalisation, stripping every character that is not an ASCII letter, digit, underscore, space or hyphen, then collapsing runs of spaces and underscores into single hyphens. It is built for anyone who has to hand a CMS, router or file system a safe path segment — bloggers, developers and content editors — and it shows the finished slug the moment you type the title. Because NFKD splits accented Latin letters into a base letter plus a combining mark that then gets removed, "Café Münchén" comes out as cafe-munchen rather than a percent-encoded form.
Open Slug Generator on AltFTool — it loads instantly in your browser.
Type or paste your title into the Text field, or click the Sample chip in the Examples row to load 'Hello World'.
The slug appears in the Result panel as you type — there is no button to press. Accented Latin text is normalized, then characters outside ASCII letters, digits, underscores, spaces or hyphens are stripped; runs of spaces and underscores become single hyphens, so 'Hello World' becomes hello-world and an all-non-Latin input can become an em dash.
Click Copy to put the result block (your Text line plus the Result line) on the clipboard, or Download to save it as slug-generator.txt. Reset restores the default 'hello world' input.
NFKD decomposition drops diacritics so ü becomes u instead of turning into a %C3%BC escape sequence.
Spaces and underscores both become hyphens, and any run of hyphens collapses to one, so double spaces never leave a double dash.
The slug updates as you type, so you can shorten or reword the title while you can still see the result.
Everything except ASCII letters, digits, the underscore, whitespace and the plain hyphen. Punctuation such as commas, colons, exclamation marks, quotes and em dashes is deleted outright, whitespace and underscores are converted to hyphens, and repeated hyphens are squeezed down to a single one.
Accented Latin letters are reduced to their base letter — é becomes e, ü becomes u — because the text is run through Unicode NFKD normalisation before the filter, which separates the base letter from its combining mark and then strips the mark. Scripts with no Latin base, such as Chinese or Arabic, have no ASCII equivalent to fall back on and are removed, so give those titles a transliterated version instead.
Because a dash-like character that is not the plain ASCII hyphen is deleted rather than replaced, so "naïve—dash" becomes naivedash. Put a space on each side of the dash in the source title and you will get naive-dash instead.
Hyphens. Google has long treated the hyphen as a word separator in URLs and the underscore as a word joiner, which is why this tool converts every underscore into a hyphen and never emits one in the output.