URL Slug Generator
Turn titles into clean, readable web addresses: lowercase, accents removed, words joined by hyphens, one slug per line.
Results
What this tool does
A slug is the readable end of a web address, the part after the last slash. Accented letters and spaces work in modern browsers but turn into long %C3%A7-style codes when the link is copied, so slugs are usually kept to plain a–z, 0–9 and hyphens. Here accents are removed letter by letter (ç becomes c, ã becomes a) and a few letters that are not accented versions of others are spelled out, such as ß as ss and Œ as oe. Google's guidance prefers hyphens to underscores between words, and shorter slugs are easier to share; a maximum length cuts at a word boundary. Paste a list of titles to get one slug per line.
Formula
accents removed (ç → c, ß → ss) ; anything that is not a letter or digit → separator ; repeated and leading or trailing separators removed
Variables
| Symbol | Meaning | Unit |
|---|---|---|
text | Title or text (one per line) | — |
separator | Separator | — |
lowercase | Letters | — |
max_length | Maximum length (0 = no limit) | — |
OUT | Slug | — |
CN | Slugs made | — |
LN | Length of the first | — |
Worked example
- Title or text (one per line)10 Dicas para Poupar Energia em Casa
- Separator-
- Letters1
- Maximum length (0 = no limit)0
- Slug10-dicas-para-poupar-energia-em-casa
- Slugs made1
- Length of the first36
Limitations
- The calculation runs entirely in your browser. The values you type are never sent to a server.