# Gerador de slug de URL

> Cria um slug de URL limpo a partir de um título.

[Open tool](https://www.toolcabana.com/pt-br/slug-generator) · [Texto e redação](https://www.toolcabana.com/pt-br/category/text-and-writing)

Tool ID: slug-generator. Requested language: pt-BR. Description language: pt-BR. 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 (pt-BR)

Cria um slug de URL limpo a partir de um título.

## Steps (pt-BR)

1. Digite ou cole sua fonte, ou carregue um exemplo.
2. Altere as configurações básicas ou abra o modo avançado para refinar o resultado.
3. Revise e copie ou baixe seu resultado. Pause os resultados ao vivo para executar manualmente. Fontes ou configurações individuais acima de 20,000 caracteres exigem uma execução explícita.

## Settings

- Manter caracteres não latinos (pt-BR; key: unicode; type: checkbox)
- Separador (pt-BR; key: separator; type: select): Hífen [pt-BR], Sublinhado [pt-BR]
- Comprimento máximo (0 = ilimitado) (pt-BR; key: maxLength; type: number); minimum: 0; maximum: 2000

## Limitations (pt-BR)

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

## Example input

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

## Privacy and connections (pt-BR)

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

## Questions (pt-BR)

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

### Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

### Quais são os limites de entrada?

As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.

## Related tools

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