Slug Generator
Turn any title into a clean, URL-safe slug — live, as you type.
Generate a slug
Type a title. The slug updates live: lowercased, accents stripped, everything that isn't a letter or number collapsed to a single dash.
Slug
how-to-set-up-a-headless-cms-for-free37 / 60 characters
How it works
The title is Unicode-normalized to split accented characters from their base letters, the accent marks are dropped, everything is lowercased, then every run of non-alphanumeric characters collapses to a single dash. This is the same normalization step most CMS platforms — including content type slug fields — run automatically on save.
Get slug validation built into your schema
Mark any field isSlug in a Draftbase template and the API rejects anything that doesn't match this exact pattern — no separate validation step in your app.
Hobby is free, no card. Startup is $49/mo when you outgrow it. The price is on the pricing page, where prices go.
No migration quarter, no kickoff workshop. Define a template and ship something today.
Frequently asked questions
What makes a slug URL-safe?
Lowercase letters, numbers, and single dashes between words, with no spaces, punctuation, or accented characters. That set is safe in a URL path without percent-encoding and reads clearly in a browser address bar.
Why strip accented characters instead of encoding them?
A URL-encoded accented character (e.g. %C3%A9 for é) is technically valid but unreadable and inconsistent across tools — converting café to cafe keeps the slug readable and matches how most CMS and static-site slug fields behave.
What slug length should I use?
There’s no hard limit, but keeping a slug under ~60 characters keeps it fully visible in search results and easy to read in a URL bar — the default here matches that.
More free tools on the tools page, or read the content modeling guide on /content-modeling.