HerramientasTools
Entrar Crear cuenta

Texto a slug

Texto a slug es una API que convierte cualquier texto (el título de un artículo, un nombre de producto) en un slug URL-safe: minúsculas, sin acentos ni símbolos, separado por guiones.

Cómo funciona

Le mandas el texto y te devuelve la versión normalizada: quita acentos y diacríticos, pasa a minúsculas, y sustituye cualquier cosa que no sea letra o número por el separador que elijas (guion por defecto).

Lo único que necesitas

  • Tu API key. La creas en tu panel con "+ Crear llave". Se muestra una sola vez, así que cópiala y guárdala.
  • En tu plataforma de automatización, un paso de tipo "HTTP Request" / "Hacer una petición HTTP" (lo tienen n8n, Make, Zapier, Pipedream…).

Cómo usarlo en n8n (paso a paso)

En el nodo HTTP Request:

  • Method: POST
  • URL: https://api.cofferdock.com/slugify
  • Send Headers: actívalo y añade dos: x-api-key = tu llave, y Content-Type = application/json
  • Send Body: actívalo → Body Content Type: JSON{ "text": "Café con leche y churros" }

En Make (módulo HTTP → Make a request): mismo método y URL, Body type: Raw, Content type: JSON, con el mismo cuerpo.

Opciones (dentro del JSON)

OpciónPor defectoPara qué sirve
text-Obligatorio. El texto a convertir.
separator-El carácter (o hasta 3) que separa las palabras del slug.

Lo que recibes

El slug en el campo slug, siempre en minúsculas y sin acentos.

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.