Slug Generator
Type a title and get a lowercase, hyphenated slug suitable for blog posts, product pages and documentation URLs.
How it works and known limits
How the slug is built
The title is normalised with Unicode NFKD, combining marks are stripped, and the result is lowercased. Any character outside a-z, digits, spaces and hyphens is replaced with a space; runs of spaces collapse to the chosen separator. Consecutive hyphens are reduced to one.
Non-Latin titles
Because the final filter keeps only ASCII letters and digits, Chinese, Japanese, Arabic and Cyrillic titles lose those characters entirely. Transliterate the title before pasting it. Accented Latin titles such as Cafe Optimise become cafe-optimise.
Practical uses
Generate stable URLs for blog posts and documentation pages. Keep slugs short, and avoid setting the separator to none on long titles: the result becomes one continuous word that is harder to read.
How to create a URL slug (with screenshots)
Turn a title into a clean, lowercase URL slug with your choice of separator.
Open the Slug Generator
Open the Slug Generator page. The title is where your work begins; the result appears on the right.
Enter your input
Type the page title you want to turn into a slug.
Set the options
Choose the separator between words. A hyphen is the common choice for URLs.
Read the result
The slug updates as you type: accents are removed, punctuation dropped and words joined by the separator.
Tip: Switch the separator to an underscore if your routing prefers my_first_post over my-first-post.
Frequently asked questions
What characters are removed?
Accents are folded to ASCII, punctuation is stripped, and spaces become the separator you choose.
Can I use an underscore separator?
Yes. Pick hyphen, underscore or none from the separator option.
Does it work with non-Latin scripts?
Non-Latin characters that cannot be folded to ASCII are removed. For Chinese or Japanese titles, add your own transliteration first.
Is anything stored?
No. Generation is entirely client-side.
Page last reviewed: