Skip to content
Run here 100% in your browser, no upload, no login

Slug Generator

Turn any title into a clean URL slug with accent folding, separators and a length limit.

How to use it

  1. Type or paste the title into the input box.
  2. Choose a separator: a hyphen (the common choice for URLs) or an underscore.
  3. Set a maximum length if your CMS caps slug size; 0 means no limit.
  4. The slug appears below as you type, lowercase and accent-free, with a character and word count.
  5. Click Copy to take it, or Generate slug to re-run with the current options.

Common use cases

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.