Home › Slug Generator

Slug Generator

Paste one title per line and get tidy, lowercase slugs ready for URLs and file names, with accents and symbols handled.

Results

Count
1
Longest slug (characters)
34

How it works

Special letters such as ß, æ, œ and ø are first replaced by their usual spellings. The text is then split into base letters and accent marks, and the marks are removed, so é becomes e. Everything that is not a letter or digit becomes one separator, repeated separators are merged and the ends are trimmed. A length limit cuts at a word boundary when it can.

Rules and details

Worked example

The title “Héllo Wörld! 10 Tips for Clean URLs” becomes hello-world-10-tips-for-clean-urls. With an underscore separator it becomes hello_world_10_tips_for_clean_urls, and limited to 20 characters it becomes hello-world-10-tips. The longest slug in the list has 34 characters.

Frequently asked questions

Should a slug contain accents?

Safe slugs use only a-z, 0-9 and hyphens. Browsers can show accents in URLs, but they are encoded behind the scenes and are harder to share and type.

Hyphen or underscore?

Search engines treat a hyphen as a word separator, which is why it is the common choice for URLs. Underscores suit file names and identifiers.

What about languages that do not use the Latin alphabet?

Tick “Keep letters of other alphabets” to preserve them. Otherwise, characters outside a-z are dropped, so a fully non-Latin title could produce an empty slug.

Tips

Related tools

All tools