Slug Generator - MacigHub

Convert any title or text into a URL-friendly slug. Supports Unicode, diacritics removal and custom separator.

Popular tools: Base64 · JSON Diff · UUID · QR Code · Regex · Password

About this tool

What is a slug?

A URL- and filename-safe version of a title: lowercase, spaces to hyphens, special characters stripped or transliterated. “Café au lait!” becomes cafe-au-lait — readable, shareable, SEO-friendly.

How to use it

  • Paste titles to get slugs instantly, in bulk if needed.
  • Preview transliteration of accented characters.
  • Copy straight into CMS slugs, filenames or anchors.

Examples

  • Blog post “10 Tips & Tricks” → 10-tips-tricks.
  • Normalizing uploaded filenames to ASCII-safe forms.
  • Generating anchor IDs for documentation headings.

Important limitations

  • Transliteration is lossy by nature (ß→ss, ø→o) — keep originals as display titles.
  • Uniqueness is your job: append IDs or dates to avoid collisions.
  • Reserved URL characters and length limits still apply downstream.

Privacy

Local string processing. Titles stay in your browser.

Frequently asked questions

Underscores or hyphens?

Hyphens: search engines treat them as word separators, underscores join words.

What happens to emoji?

Stripped by default — slugs are ASCII territory.

Lowercase required?

Not required, but lowercase avoids case-sensitivity bugs across servers.

Related tools

Case converter · URL encoder · Regex tester