How to turn text into a slug
- Paste a title, or a list with one title per line. Insert example loads three titles.
- Pick the separator. Hyphens are the standard for URLs and what Google recommends in its URL guidelines.
- Optionally remove stop words, set a maximum length or switch on German-style umlauts.
- Copy the slugs and paste them into the permalink, file name or route of your site.
What a slug is, and what the tool does to your text
A slug is the readable last part of a URL: in example.com/blog/best-cafes-in-sao-paulo it is best-cafes-in-sao-paulo. To make one from The 10 Best Café Spots in São Paulo (2026 Guide) the tool:
- transliterates accented and special letters (é → e, ã → a, ß → ss, ø → o, Cyrillic to Latin);
- drops apostrophes so what's becomes whats rather than what-s;
- turns every run of other characters (spaces, punctuation, brackets, dashes) into one separator;
- lowercases the result and trims separators from both ends.
Result: the-10-best-cafe-spots-in-sao-paulo-2026-guide.
Separators, stop words and length
The same title with different settings:
| Setting | Slug |
|---|---|
| Hyphen (default) | the-10-best-cafe-spots-in-sao-paulo-2026-guide |
| Underscore | the_10_best_cafe_spots_in_sao_paulo_2026_guide |
| Stop words removed | 10-best-cafe-spots-sao-paulo-2026-guide |
| Stop words removed, maximum 24 characters | 10-best-cafe-spots-sao |
Hyphens are read as word separators by search engines; underscores join words into one. That is why hyphens are the default for web addresses, while underscores are common in file names and database keys. Stop words (a, an, the, and, or, of, to, in, on, for, with) make slugs shorter, but a short slug still has to make sense: if removing them would leave nothing, the tool keeps them. A maximum length cuts at a whole word, never in the middle of one.
Accents, German umlauts and other alphabets
Most accents are removed by Unicode decomposition (é → e). Some letters are not accented versions of another, so the tool has its own rules: ß → ss, æ → ae, œ → oe, ø → o, ł → l, đ → d, þ → th. German usage writes ä, ö, ü as ae, oe, ue; tick that option to get it. Über uns – Größe & Preise becomes uber-uns-grosse-and-preise by default and ueber-uns-groesse-and-preise with German style.
Cyrillic is transliterated, so Привет, мир! Hello becomes privet-mir-hello. Scripts without a simple Latin equivalent, such as Chinese, Japanese, Korean, Arabic and Hebrew, are left out and the tool tells you how many letters were dropped. For those languages many sites keep the native characters in the URL; this tool would produce an empty slug.
Good slug habits
- Keep slugs short and descriptive, with the main keyword near the front.
- Do not put dates or numbers in a slug unless the page is date-specific; changing a published slug later needs a redirect.
- Use only lowercase letters, digits and hyphens. Capitals can create duplicate URLs on some servers.
- Tom & Jerry: What's New? becomes tom-and-jerry-whats-new.
For code identifiers (camelCase, snake_case, kebab-case) use the case converter. Writing the title first? The title case converter capitalizes headlines properly, and find and replace fixes patterns in a batch of slugs.
Where slugs are used
Content management systems call it the slug or permalink: WordPress builds one from the post title, and you can edit it before publishing. Static-site generators such as Hugo and Jekyll use it for the file name or a front-matter field. Online shops use it for product and collection handles, and routers in web apps use it as a path parameter. In every case, treat the slug as permanent once the page is published. If you must change it, add a redirect from the old address so links and search rankings carry over.
The slug is also a ranking and click signal in a small way: a readable address tells people what the page is before they open it, which is why /best-cafes-in-sao-paulo beats /post?id=4821.
Related tools
- Case converter – kebab-case and snake_case for code identifiers
- Title case converter
- Find and replace
- Character counter – check the length of the slug
Text to slug FAQ
What is a slug?
A slug is the readable part of a URL that names a page, for example best-cafes-in-sao-paulo in example.com/blog/best-cafes-in-sao-paulo. It uses lowercase letters, digits and hyphens.
How do I convert a title to a slug?
Paste the title, pick a separator and copy the result. The tool lowercases the text, removes accents and punctuation and joins the words with hyphens.
Should I use hyphens or underscores in a URL?
Hyphens. Search engines treat a hyphen as a word separator, while an underscore joins the words together. Underscores suit file names and database keys.
What happens to accents like é and ß?
Accents are stripped (é becomes e) and special letters get a standard replacement (ß becomes ss, ø becomes o). Tick German style to turn ä, ö and ü into ae, oe and ue.
Does it work for Chinese, Arabic or other scripts?
Cyrillic is transliterated to Latin letters. Scripts without a simple Latin equivalent are left out, and the tool shows how many letters were dropped.
Can I create many slugs at once?
Yes. Put one title on each line and you get one slug per line.
Is my text uploaded anywhere?
No. Slugs are created in your browser and nothing is sent to a server or stored.