URL Slug Generator
Text
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.
Related tools
CSV Viewer & Sorter
View CSV / TSV data as a sortable, searchable table — open a file or paste rows, no spreadsheet required.
Markdown Table Generator
Paste CSV, TSV, or pipe-delimited data and get a properly aligned GitHub-flavored Markdown table.
Text Diff Viewer
Compare two pieces of text and see line-by-line or word-by-word additions and removals.
Lorem Ipsum Generator
Generate placeholder text by paragraphs, sentences, or words.
Case Converter
Convert text between UPPER, lower, Title, camelCase, snake_case and more.
Character & Word Counter
Count characters, words, sentences, lines, and bytes in real time.