Slug Generator
Convert titles to clean URL slugs. Unicode-aware, multi-line batch mode, custom separators.
About this tool
The Slug Generator turns human-readable titles into clean, URL-safe slugs for blog posts, product pages, and anchor links. It transliterates Unicode characters (so Café becomes cafe and Jak działa JavaScript? becomes jak-dziala-javascript), replaces & with and, collapses whitespace, and strips punctuation.
Batch mode processes one title per line and auto-de-duplicates identical slugs by appending a suffix (my-post, my-post-2, my-post-3). Use the Max Length field to cap slug length without cutting mid-word, and the Remove stopwords option to drop filler words like the, a, of for denser URLs.
Examples:
10 Tips for Better Sleep!→10-tips-for-better-sleepHow to Use Git Rebase(stopwords on) →how-use-git-rebase
FAQ
What separator should I use? ›
Hyphens (-) are the most common and are recommended by Google for URL slugs. Underscores are common in file names and some CMS platforms, but search engines treat them as word joiners rather than separators.
Why is my Unicode text becoming ASCII? ›
The "ASCII only" option is on by default. It transliterates accented letters (Café → cafe) and strips characters that are not URL-safe. Turn it off to keep the original Unicode in your slug.
How does Max Length work? ›
When set above zero, the slug is trimmed to that many characters but never cut in the middle of a word — it snaps back to the last separator. Set it to 0 for no limit.
What are stopwords? ›
Common filler words like "the", "a", "of", "and", "is". Removing them makes URLs shorter and keyword-denser, which some SEO guides recommend. Enable it with the "Remove stopwords" checkbox.
What is the difference between a slug and URL encoding? ›
A slug is a clean, readable piece of text like "hello-world" that identifies a URL path segment. URL encoding (percent-encoding) transforms arbitrary text into a format that is safe inside a URL, producing strings like "hello%20world". Use the Slug Generator for readable path segments and the URL Encoder / Decoder when you need to encode query parameters or special characters.