Text
Slug Generator
Generate URL-friendly slugs from text.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Slug Generator and press Return.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Generate, or ⌘↵.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| SeparatorCharacter to separate words | -, _, . | - |
| LowercaseConvert to lowercase | On or off | On |
| Transliterate accentsConvert é→e, ñ→n, etc. | On or off | On |
| Max lengthMaximum slug length | 10–200 | 80 |
| Remove stop wordsRemove common words (a, the, is, etc.) | On or off | Off |
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
String CaseConvert text between camelCase, snake_case, kebab-case, and moreRegex TesterTest and debug regular expressions with match highlightingRegex LibraryBrowse and copy common regex patternsString DiffCompare two strings and show differencesLine SorterSort, shuffle, dedupe, and manipulate text linesText StatisticsAnalyze text for word count, character frequency, and readability