consolelog.tools

Text to Slug

Convert text into clean, URL-friendly slugs — with real transliteration (ü→ue, ß→ss, $→dollar), case control, and batch mode

About this ToolHow it works, benefits & use cases

Turning a headline into a clean URL slug usually loses anything that is not plain ASCII. This Text to Slug tool transliterates instead of dropping: ü becomes ue, ß becomes ss, ñ becomes n, Cyrillic ж becomes zh, and symbols turn into words ($ → dollar, & → and, % → percent), so "Crème Brûlée & 50% Off" becomes "creme-brulee-and-50-percent-off". Pick the word separator (hyphen, underscore, period, or none), choose lowercase, preserved, or uppercase output, and optionally cap the length — with an option to break at a word boundary rather than mid-word when truncating. A strict mode restricts output to ASCII; turn it off to keep Unicode letters. Batch mode slugifies each pasted line independently, dropping any that contain no slug-safe characters. The slug regenerates live as you type or change options, and the exact input and separator are captured in a shareable URL. Everything runs locally in your browser.

How to Use

  1. 1Open "Slug options" and choose a separator (hyphen, underscore, period, or none) and the output case.
  2. 2Optionally set a max length and toggle "Break on word boundary" to avoid cutting mid-word.
  3. 3Toggle the transliteration options (accents/letters, symbols), strict ASCII mode, and "One slug per line (batch)".
  4. 4Type or paste your text — or click "Load example" — and the slug appears live below.
  5. 5Copy or download the slug, or copy the page URL to share the exact text and separator.

Key Benefits

  • Real transliteration of accented, Greek, and Cyrillic letters instead of dropping them
  • Symbol-to-word conversion: $→dollar, &→and, %→percent, @→at, and more
  • Four separator choices — hyphen, underscore, period, or joined with none
  • Lowercase, preserve-case, or uppercase output
  • Optional max length with smart truncation at a word boundary
  • Strict ASCII mode, or keep Unicode letters when turned off
  • Batch mode slugifies each line independently; live preview and shareable URL

Common Use Cases

  • Generating SEO-friendly URL slugs from blog post or article titles
  • Converting international titles with accents or non-Latin scripts into clean ASCII slugs
  • Producing file names or CSS class names from human-readable labels
  • Slugifying a whole list of titles at once with batch mode
  • Creating stable, length-capped identifiers from product or page names

Slug options

Truncate at a separator, not mid-word

ü→ue, ß→ss, ñ→n, ж→zh

$→dollar, &→and, %→percent

Off keeps Unicode letters

Slugify each line independently

0 characters · live

Enter text above to see the slug.

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related tools