# Slug generator

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

- Endpoint: `POST https://setget.net/v1/tools/slugify` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `slugify`
- Page: https://setget.net/tools/slugify

## Inputs

- `text` (required, string): The title or phrase to turn into a slug.
- `separator` (optional, string, one of `-`, `_`, `.`, default `"-"`): Character placed between words.
- `lowercase` (optional, boolean, default `true`): Convert the slug to lower case.
- `max_length` (optional, integer, default `0`, range 0..10000): Longest slug allowed, cut at a word boundary. 0 means no limit.

## Example 1

```json
{"input":{"text":"Crème Brûlée: The Ultimate Guide!"}}
```

Result:

```json
{"text":"creme-brulee-the-ultimate-guide"}
```

## Example 2: Cut at a word boundary

```json
{"input":{"text":"Hello, World & Friends","separator":"_","max_length":12}}
```

Result:

```json
{"text":"hello_world"}
```

**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.
