About this tool
Turn any title into a clean, URL-friendly slug.
Text to Slug converts a title, heading or filename into a lowercase, hyphen-separated URL slug by applying Unicode NFKD normalisation, stripping the accent marks it exposes, spelling out &, @ and + as "and", "at" and "plus", dropping apostrophes, and collapsing every remaining non-alphanumeric run into a single hyphen. It is for anyone naming a page, a blog post, a docs anchor or an asset file and wanting the same clean result every time. "Café & Restaurant Guide" comes out as cafe-and-restaurant-guide.
Open Text to Slug on AltFTool — it loads instantly in your browser.
Paste a title into the Input box — it opens with the sample "10 Best Tools for 2024!", "Café & Restaurant Guide" and "React.js @ Scale", and "Load sample" brings that back.
The Result box rewrites as you type: NFKD normalisation folds accents, &, @ and + become and, at and plus, apostrophes vanish, and every other run of non-alphanumerics collapses to one hyphen.
Press Copy to take the lowercase slug — "Café & Restaurant Guide" gives cafe-and-restaurant-guide — or Clear to empty the box; the whole input counts as one string, so paste one title at a time.
NFKD splits é into e plus a combining mark and only the mark is removed, so café keeps its c-a-f-e instead of losing the letter entirely.
&, @ and + become and, at and plus before the strip step, so "C++ vs C#" reads as c-plus-plus-vs-c rather than collapsing to a bare c-vs-c.
Repeated separators collapse to one and leading or trailing hyphens are trimmed, which is exactly the shape most routers and CMS uniqueness checks expect.
Lowercase ASCII letters, digits and single hyphens as word separators, kept short and readable. Hyphens rather than underscores are the long-standing search-engine convention for word boundaries, and lowercase avoids the case-sensitivity mismatch between servers that treat /About and /about as two different pages.
Accents are folded to their base Latin letter — é becomes e, ü becomes u, ñ becomes n — because NFKD normalisation separates the combining mark and the mark is then stripped. Emoji, punctuation and any other non-alphanumeric character are treated as separators and collapse into a hyphen.
Only A–Z, a–z and 0–9 survive, so a title written entirely in a non-Latin script has no characters left and returns an empty slug. Transliterate the title to Latin characters first, or keep a short Latin working title alongside the display title.
No — the whole input box is treated as one string, so line breaks become hyphens and multiple lines join into a single slug. Paste one title at a time to get one slug per conversion.