URL Slug Generator
Generates a random kebab-case URL slug — useful for populating test data, CMS mockups or routing examples.
What this generator does
Produces a URL-safe slug — lowercase words joined by hyphens, with no characters that need escaping. Useful for filling a CMS fixture or seeing how a layout copes with a long path segment.
How to use this tool
- Press generate for a slug.
- Generate again for another one.
Worked examples
- Format
- quiet-harbour-morning
Common use cases
- CMS/routing test data
- UI mockups needing a URL
- Documentation examples
How this generator works
A slug is built from lower-case words joined by single hyphens, with accents folded to their base letters and everything outside the unreserved character set removed rather than escaped. Removing rather than escaping is the choice worth knowing about: a percent-encoded slug is legal and works, but it is unreadable in a link, unshareable in conversation, and a nuisance in a log.
Limitations and good to know
- Slugs are shortened to a sensible length. Search engines do not reward long slugs, and long ones wrap badly wherever a link is displayed.
- Nothing checks for a collision with an existing slug, and two different titles can reduce to the same one.
- Accents are folded, so a distinction that matters in the original language may be lost — resume and résumé become the same slug.