Slug Generator
Turn a title into a clean URL slug — lowercase, separator of your choice, repeated separators collapsed — with an explicit, honest policy for non-English text.
Enter text above.
Accented Latin letters are flattened to their closest plain-ASCII equivalent (e.g. café → cafe, München → munchen), since that matches what most CMS platforms expect from a Latin-script slug. Genuinely non-Latin scripts — Cyrillic, Devanagari, CJK, Arabic, and others — are not transliterated to ASCII; there is no reliable way to do that automatically without a language-specific rule set, and guessing would silently corrupt meaning. Those letters are kept in the slug as-is rather than being stripped out.
Generated entirely in your browser — nothing you enter here is sent to a server.
A slug is the human-readable part of a page's address — e.g. the how-to-build-a-tool in example.com/blog/how-to-build-a-tool. This tool lowercases text (optional), normalizes spaces and punctuation into a single separator of your choice, collapses repeated separators, and trims leading/trailing separators — while preserving meaningful Unicode letters rather than discarding them. Different servers and CMS platforms don't all enforce the exact same slug rules, so treat this as a strong, sensible default rather than a universal standard.
This is a different tool from the Text Case Converter's kebab-case output: that one targets programming-identifier conventions, while this one targets URL-slug conventions specifically, including an explicit choice of separator and a stated transliteration policy for non-English text.
How to use the Slug Generator
- Type or paste a title into the text box; the slug updates as you type.
- Pick a separator: Hyphen (-) or Underscore (_).
- Leave Lowercase checked for an all-lowercase slug, or uncheck it to keep the original capitals.
- Click Copy slug to copy the result, or Clear to empty the box.
Example: Turning a blog title into a slug
Entering 10 Tips & Tricks: Faster Next.js Builds! with Hyphen (-) and Lowercase checked gives 10-tips-tricks-faster-next-js-builds. Switching to Underscore (_) and unchecking Lowercase gives 10_Tips_Tricks_Faster_Next_js_Builds.
Questions about the Slug Generator
- What happens to apostrophes and symbols like & or +?
- Every run of characters that is not a letter or number becomes a single separator, so it's 50% off becomes it-s-50-off and C++ & C# becomes c-c. Edit the title first if you want words like and or plus spelled out.
- Are letters like ß, æ or ø converted to plain ASCII?
- No. Only accents that Unicode splits off as separate marks are removed, as in café to cafe. Letters such as ß, æ and ø are their own characters and are kept, so Straße becomes straße.
- Why did I get an empty slug warning?
- If the text contains only punctuation, spaces or symbols, nothing is left after cleanup and the tool shows a warning instead of a slug.
- Does the tool remove stop words or shorten long titles?
- No. Every word is kept and there is no length limit, so trim words like a, the or of yourself if you want a shorter slug.