Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Slug Generator API

Turn a title into a URL slug.

POST /api/v1/tools/slug-generatorMCP slug_generatorWeb & SEO

Turn titles into clean URL slugs. Converts accented letters to plain ASCII, removes stop words, limits length on a word boundary and works in bulk, one per line.

Input

Send these as a JSON object. Unknown fields are rejected.

input
The title or text. (string, required)
curl https://pithlab.com/api/v1/tools/slug-generator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"input":"Crème Brûlée: 10 Tips & Tricks!"}'
Example response
{
  "ok": true,
  "result": {
    "slug": "creme-brulee-10-tips-and-tricks"
  }
}