--- title: "URL slug generator — free, runs in your browser" description: "Turn a title into a clean, lowercase, hyphenated URL slug. Free, no sign-up, and nothing you enter leaves your browser." url: https://atoneplace.net/tools/slug-generator/ site: "At One Place" --- # URL slug generator Turn a title into a clean, lowercase, hyphenated URL slug. ## How it works Converts a title into a URL-safe slug: lowercase, words joined by hyphens, punctuation removed. Accented characters are transliterated rather than stripped — café becomes cafe, not caf. Stripping them instead is a common bug that mangles non-English titles and quietly damages the URL. Hyphens rather than underscores is the convention worth following. Search engines have long treated hyphens as word separators and underscores as word joiners, so my_page reads as one token while my-page reads as two. > This tool runs entirely in your browser. Nothing you enter is sent to a server, logged or stored, and the page keeps working with the network disconnected. ## Common questions ### Should URLs use hyphens or underscores? Hyphens. They are treated as word separators, whereas underscores join words into a single token. ### What happens to accented characters? They are transliterated to their closest ASCII equivalent, so café becomes cafe rather than caf. ## Related pages - [Word and character counter](https://atoneplace.net/tools/word-counter/) - [Typing speed test](https://atoneplace.net/tools/typing-speed-test/) - [Remove duplicate lines](https://atoneplace.net/tools/remove-duplicate-lines/) - [Sort lines alphabetically](https://atoneplace.net/tools/sort-lines/) - [JSON formatter and validator](https://atoneplace.net/tools/json-formatter/) - [Text compare](https://atoneplace.net/tools/text-diff/) - [Regex tester](https://atoneplace.net/tools/regex-tester/) - [Case converter](https://atoneplace.net/tools/case-converter/) - [Remove empty lines](https://atoneplace.net/tools/remove-empty-lines/) - [Find and replace](https://atoneplace.net/tools/find-and-replace/)