Slug Generator
Turn any title into a clean URL slug with accent folding, separators and a length limit.
How to use it
- Type or paste the title into the input box.
- Choose a separator: a hyphen (the common choice for URLs) or an underscore.
- Set a maximum length if your CMS caps slug size; 0 means no limit.
- The slug appears below as you type, lowercase and accent-free, with a character and word count.
- Click Copy to take it, or Generate slug to re-run with the current options.
Common use cases
- Blog permalinks - turn post titles into stable, readable URLs that search engines can parse.
- CMS entry names - give articles, products and categories consistent machine-friendly identifiers.
- File naming - produce lowercase, separator-safe names for images and documents you publish.
- Accent handling for international titles - accented Latin letters fold to their plain equivalents instead of being dropped.
Why it stays private
Slug generation is a string transform using built-in Unicode normalization in your browser. Titles never leave the page, so unpublished drafts stay unpublished.
FAQ
Q: How are accents handled? A: The text is decomposed with Unicode NFD and the combining marks are stripped, so an accented letter maps to its plain base letter rather than disappearing.
Q: What happens to characters that are not letters or digits? A: Each run of them, including spaces, becomes a single separator. Separators at the ends, and repeated ones, are trimmed away.
Q: How does the maximum length cut the slug? A: It is a hard cut at the limit, then any trailing separator is removed. Word boundaries are not preserved, so pick a limit that ends on a full word if that matters to you.
Your data stays on this device
Slug Generator runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.
Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.