UTILS.
Private by default
-

Slugify

Turn any text into a clean, URL-friendly slug.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
—

About this tool

Convert a title or phrase into a tidy URL slug — lowercased, with spaces and punctuation replaced by hyphens or underscores, and optional removal of accents. Ideal for permalinks, file names and SEO-friendly URLs.

The steps run in a fixed order. With strip accents on, the text is normalized to Unicode NFKD and the combining marks are removed, so é, ç and ğ become e, c and g. Lowercasing follows if ticked. Then every run of characters that is not a letter or digit becomes one separator, and separators at the ends are trimmed.

Letters from any script count as letters, so Japanese or Cyrillic words are kept. Apostrophes and underscores are treated as punctuation, so "don't" becomes don-t. Characters with no decomposition stay as they are: ß and the dotless ı remain, so the result is not always pure ASCII.

Frequently asked questions

Does it remove accents?
Optionally. With "strip accents" on, café becomes cafe; turn it off to keep accented letters.
Can I use underscores instead of hyphens?
Yes. Choose hyphen or underscore as the word separator.
Are non-Latin letters removed?
No. Any Unicode letter or digit is kept. Only marks that can be split off a letter, such as the accent in é, are removed.
Why is ß or ı still in my slug?
Strip accents only removes marks Unicode can separate from a base letter. Those characters have no such split.

More tools