Slugify String

Turn text into a lowercase ASCII slug with hyphens or underscores

Last updated: October 14, 2026

How it works

  • Converts text to lowercase
  • Removes special characters and accents
  • Replaces spaces with your chosen separator
  • Removes leading/trailing separators
  • Perfect for URLs, filenames, and identifiers

Result actions

Copy or download the tool output, or share a link to Slugify String.

Get new tools in your inbox

An occasional email when we ship new free tools. No spam, unsubscribe anytime.

Related tools

Turn a title into a slug

Enter text to see a lowercase slug. Choose hyphen or underscore as the separator between words. The tool removes combining accent marks, replaces whitespace with the selected separator, removes characters outside ASCII letters, digits, hyphens, and underscores, and trims the selected separator from the ends.

For example, My Café: Notes! becomes my-cafe-notes with hyphens.

Character handling

This is a simple ASCII slugger, not a general transliteration library. Accented letters that decompose into a base Latin letter and combining mark are reduced to the base letter; characters such as ø that do not decompose this way are removed. Punctuation and symbols are removed, not replaced with words. Choose an available separator and review the result before using it as a permanent identifier.

Privacy

Slug generation runs locally in your browser; the entered text is not sent to our servers.