About this slug generator
A URL slug is the readable part of a page address that usually reflects its subject. This generator turns a title or phrase into lowercase words joined by hyphens, removes leading and trailing separators, and collapses repeated punctuation into a single separator. It is useful when preparing article addresses, filenames or route names that should remain easy to scan.
The tool normalizes characters and removes combining accent marks, so café becomes cafe. A small explicit mapping also converts common Latin forms such as sharp s, ligatures and slashed o into ASCII equivalents. ASCII mode then retains only a through z and digits. Unicode mode additionally retains letters and numbers from other scripts, allowing a title written in those scripts to produce a readable slug.
Normalization is not full transliteration: Chinese, Arabic or Cyrillic text is not translated into English sounds. An ASCII result can therefore be empty when the source contains no supported Latin characters or digits. Slugs also need to be unique within your site, which this local tool cannot check. Review generated addresses against existing routes, redirects and your publishing system's URL rules before adopting them.
Which controls should I check first?
The Slug Generator form labels its controls as Your text; Alphabet; Result. Its selectable values include ASCII letters and digits; Unicode letters and digits. Use those labels to keep the source and settings separate. A sample argument that selects a mode is not additional source text. Choose the setting matching your intended operation before copying a result, and change it explicitly when comparing another mode. The labels describe what this form accepts; the worked examples below demonstrate only the stated supplied values.
How should I interpret this specific operation?
Normalization removes combining accent marks before the selected character policy is applied. Unicode mode keeps letters from additional scripts, while ASCII mode can remove them. A result suitable as a URL segment still needs a uniqueness check in the destination site. Two different titles can normalize to the same slug. Keep a stable identifier separately if future title edits should not change a published address.
Worked helper values
These values come from the reproducible calculation examples supplied with this tool. Each row identifies the complete supplied arguments and the returned value. A visible ↵ denotes a line break and ⇥ denotes a tab in text examples. Settings appear alongside source data so that a different mode is not mistaken for an identical input. These are helper calculations, not observations of a live device, fetched target, image decoder, browser preview or downloaded file. Use the stated method above to relate the returned fields to the actual operation.
| Supplied values | Calculated return value |
|---|---|
| Héllo, Café & Straße! ; false | hello-cafe-strasse |
| 東京 café; true | 東京-cafe |
What counts as one text element?
Text can be handled as visible graphemes, Unicode code points, bytes, words or complete lines. These units differ. A joined family emoji may look like one character while containing several code points; an accented character may use more than one encoded byte. Use the unit stated in this tool's method before comparing results with an editor or database. Line tools should receive one entry per line, while word tools use their documented whitespace boundaries. A transformation that preserves every visible word can still change separators, and a transformation that preserves every byte does not necessarily operate on complete visible characters.
How should I prepare a representative sample?
Start with a short excerpt containing the features that matter to your job: an accented letter, a number, punctuation, a repeated item, or a blank line. Choose the relevant options and inspect the result before processing the full text. Keep a separate source copy so that you can compare exact spaces and case. If duplicate labels refer to different records, attach identifiers before applying a list operation that could remove them. Text processing cannot infer whether two identical-looking names belong to the same record. A small sample makes delimiter mistakes easier to see than a long unstructured paste.
Which differences should I inspect after conversion?
Compare the first and last entries, any blank entries, and text around punctuation. Check whether the intended operation preserves line endings, joins tokens with spaces, or substitutes a custom delimiter. These are distinct behaviors: reversing words does not preserve the original layout, while reversing lines keeps each line's internal content together. A normalized comparison can intentionally ignore case or accents, whereas an exact comparison retains them. Read the stated method instead of assuming that all text tools share one normalization policy. If another application reports a different count, compare the boundary rules before treating either number as incorrect.
Why can copied text behave differently elsewhere?
A destination can apply its own normalization, line-ending rules, font substitution or length limits. Fancy Unicode letters are different characters from ordinary ASCII letters even when they look like a font change. Some destinations cannot display those glyphs, and searching plain text may not match them. Likewise a byte count changes with encoding, while a visual count may remain unchanged. Test a small converted sample in the receiving application before replacing a large document. Retain ordinary text when accessibility, searching or exact identifiers matter. A local text result is data rather than proof that the destination interprets it the same way.
Does it transliterate every language?
No. It removes common accents and maps selected Latin forms; Unicode mode retains other scripts.
Why is my ASCII slug empty?
The source has no retained ASCII letters or digits. Choose Unicode mode or provide an ASCII title.
Does it check whether the slug is available?
No. Check uniqueness and routing rules in your own site or publishing system.