URL Slug Generator
Paste a title or sentence and get back a URL-safe slug. Diacritics are stripped (café → cafe), whitespace and punctuation collapse into a chosen separator (- _ .), and you can cap the length without cutting a word mid-slug. Optional 'preserve Unicode' keeps Korean / Japanese / Chinese / Cyrillic characters intact for native-language URLs.
hello-world-a-quick-test-of-the-slug-generatorHow to use
- Type or paste your title.
- Pick a separator (- is standard, _ for filenames, . for some URLs).
- Set a max length (0 = no limit).
- Optionally preserve non-Latin characters.
Frequently asked questions
- What does 'preserve Unicode' do?
- Off (default): non-Latin characters are removed, so '안녕 World' becomes 'world'. On: they're kept and only punctuation / symbols are dropped, giving '안녕-world'.
- How is the max length applied?
- The slug is truncated at the max length, then the trailing partial word is removed so the slug ends on a clean separator. This avoids URLs that cut a word in half.
- Why are accents stripped?
- Many browsers and tools URL-encode accents into percent escapes ('café' → 'caf%C3%A9'), which looks ugly. Stripping with NFKD normalization gives a readable ASCII slug.
- Is the input stored?
- Only in your browser. Slugs are generated locally; nothing is sent anywhere.
Guides on this topic
Related tools
Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case and more.
Email & URL Extractor
Pull every email address or URL out of a block of text, in your browser.
Social / SEO Character Limit Checker
Type once and see how your text measures against 28+ platform limits — Twitter, Instagram, SEO titles, ad copy, app stores.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.
Lorem Ipsum Generator
Generate placeholder text by paragraphs, sentences, or words.
Leetspeak (1337) Converter
Translate text into leetspeak and decode 1337 back to letters, in your browser.