Slug generator

Turn a title into a clean URL slug: accents removed, punctuation dropped, words joined by hyphens.

Input

The title or phrase to turn into a slug.
Character placed between words.
Convert the slug to lower case.
Longest slug allowed, cut at a word boundary. 0 means no limit.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/slugify \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"Crème Brûlée: The Ultimate Guide!"}}'
import json, urllib.request

body = {'input': {'text': 'Crème Brûlée: The Ultimate Guide!'}}
request = urllib.request.Request("https://setget.net/v1/tools/slugify", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/slugify", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"text":"Crème Brûlée: The Ultimate Guide!"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "slugify",
  "input": {
    "text": "Crème Brûlée: The Ultimate Guide!"
  }
}
{
  "input": {
    "text": "Crème Brûlée: The Ultimate Guide!"
  }
}

Endpoint: POST /v1/tools/slugify. Over MCP: run_tool with slug: "slugify". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
text string yes The title or phrase to turn into a slug.
separator string no Character placed between words. One of: -, _, .. Default: "-".
lowercase boolean no Convert the slug to lower case. Default: true.
max_length integer no Longest slug allowed, cut at a word boundary. 0 means no limit. Default: 0. From 0 to 10000.

Examples

Input
{
  "text": "Crème Brûlée: The Ultimate Guide!"
}
Result
{
  "text": "creme-brulee-the-ultimate-guide"
}

Cut at a word boundary

Input
{
  "text": "Hello, World & Friends",
  "separator": "_",
  "max_length": 12
}
Result
{
  "text": "hello_world"
}

Questions

What happens to accented letters?
They are replaced by their plain letter: "é" becomes "e", "ø" becomes "o" and "ß" becomes "ss".
What about non-Latin scripts such as Cyrillic or Chinese?
They are dropped, because they have no agreed plain-letter form. A title written only in such a script gives an empty slug.