# Generador de slugs de URL

> Crea un slug de URL limpio desde un título.

[Open tool](https://www.toolcabana.com/es/slug-generator) · [Texto y redacción](https://www.toolcabana.com/es/category/text-and-writing)

Tool ID: slug-generator. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

URL Slug Generator turns a title into a lowercase, URL-friendly slug, replacing spaces and punctuation with hyphens or underscores and removing accents. Non-Latin letters are kept by default, so titles in scripts like Japanese still produce a slug; turn the option off for ASCII-only output. You can also cap the slug length without leaving a trailing separator.

## Supported tasks (es)

Crea un slug de URL limpio desde un título.

## Steps (es)

1. Escribe o pega tu fuente, o carga un ejemplo.
2. Cambia los ajustes básicos o abre el modo avanzado para afinar el resultado.
3. Revisa y copia o descarga tu resultado. Pausa los resultados en vivo para ejecutar manualmente. Las fuentes o ajustes individuales de más de 20,000 caracteres requieren una ejecución explícita.

## Settings

- Conservar caracteres no latinos (es; key: unicode; type: checkbox)
- Separador (es; key: separator; type: select): Guion [es], Guion bajo [es]
- Longitud máxima (0 = ilimitada) (es; key: maxLength; type: number); minimum: 0; maximum: 2000

## Limitations (es)

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Example input

```text
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### How do I make an ASCII-only slug without non-Latin characters?

Turn off Keep non-Latin characters. Only a to z and 0 to 9 then remain, with accents removed first so Café becomes cafe. If nothing supported is left, as with an all-Japanese title, the tool shows an error instead of an empty slug.

### Can I limit the length of a URL slug?

Yes. Set Maximum length in Advanced mode to any value up to 2000 characters, or 0 for no limit. The slug is cut at that length and any separator left dangling at the end is removed.

### Can I use underscores instead of hyphens in a slug?

Yes. The Separator setting offers Hyphen, the default, or Underscore. Whichever you choose replaces every run of spaces and punctuation, and separators at the start or end of the slug are removed.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Related tools

- [Remove accents](https://www.toolcabana.com/es/remove-accents)
- [Lorem ipsum generator](https://www.toolcabana.com/es/lorem-ipsum)
- [Text difference checker](https://www.toolcabana.com/es/text-diff)
- [Bold Unicode text](https://www.toolcabana.com/es/bold-text)
