Text

Slug Generator

Generate URL-friendly slugs from text.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Slug Generator and press Return.
  2. Paste or type your text into Input.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Generate, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.

Options

OptionValuesDefault
SeparatorCharacter to separate words-, _, .-
LowercaseConvert to lowercaseOn or offOn
Transliterate accentsConvert é→e, ñ→n, etc.On or offOn
Max lengthMaximum slug length10–20080
Remove stop wordsRemove common words (a, the, is, etc.)On or offOff

Example

Real output from Devly, with the default options.

Input
Hello World: Devly 2.3 Is Here!
Slug
hello-world-devly-23-is-here
Length
28 characters
URL preview
https://example.com/hello-world-devly-23-is-here
Words
6 → 6

From Terminal

With the free command-line tool installed:

Terminal
devly slug "Hello World: Devly 2.3 Is Here!"
# or pipe text in
pbpaste | devly slug

Quick Switch also finds it by: slug, url, seo, permalink, friendly, sanitize.

More Text tools