Tools API Blog
Sign in Create account

Text to slug

Text to slug is an API that turns any text (an article title, a product name) into a URL-safe slug: lowercase, no accents or symbols, separated by hyphens.

How it works

You send the text and get back the normalized version: it strips accents and diacritics, lowercases everything, and replaces any run of non-alphanumeric characters with whatever separator you choose (hyphen by default).

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

How to use it in n8n (step by step)

In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/slugify
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/json
  • Send Body: on → Body Content Type: JSON → { "text": "Café latte and churros" }

In Make (HTTP → Make a request module): same method and URL, Body type: Raw, Content type: JSON, with the same body.

Options (inside the JSON)

OptionDefaultWhat it does
text-Required. The text to convert.
separator-The character (up to 3) that separates the slug's words.

What you get back

The slug in the slug field, always lowercase and accent-free.