The URL Slug Generator turns a headline into the part of a URL that comes after the last slash: lowercase, hyphen-separated, ASCII only. Accented and non-Latin letters are romanised rather than deleted, so Café Málaga comes back as cafe-malaga and Привет мир as privet-mir. Symbols that carry meaning are spelled out instead of vanishing (& becomes and, % becomes percent), apostrophes close up so Google's becomes googles rather than google-s, and runs of punctuation and whitespace collapse into a single separator. Paste a list of titles and every line comes back as its own slug, with repeats numbered the way a CMS numbers them.
The guide behind this tool
URL Slugs: What Belongs in a Path and What Quietly Breaks It
Four punctuation marks are safe in a URL and the rest are not. What happens to accents once they leave the address bar, and why renaming costs more than it looks.
Paste a title into the box, or one title per line if you have a whole list of posts to convert.
Pick the separator and letter case. Hyphens and lowercase are the URL convention; underscores are there for filenames and asset paths.
Switch on stop word removal to drop the, and, of and similar filler, or a length limit if your CMS or style guide caps the path.
Copy the result, and check the preview underneath to see how the finished URL reads.
Google's documentation on URL structure recommends hyphens, because they are read as word separators while underscores have historically joined words into a single token. Both are legal in a path (RFC 3986 lists hyphen, underscore, period and tilde as unreserved characters), so this is about how the words are read, not whether the URL works. Underscores remain the better choice for filenames and asset paths, which is why the option is here.
24+ Free Tools
Explore all categories
From text processing to developer utilities, all free, all instant, no sign-up.