Developer
URL Slug Generator
Turn a title into a clean URL slug, honestly handling non-Latin scripts.
Runs entirely in your browser. Nothing you paste is uploaded.
0 characters · 0 bytes
This runs entirely in your browser. Nothing you paste is sent to us or to anyone else.
How to use it
- Paste your text into the box marked "Title or heading"Paste the heading you want turned into a URL slug. Everything happens inside your browser — nothing is uploaded, so there is nothing for us to store, log or lose.
- Read the result as it updatesThere is no button to press. The slug appears immediately and updates as you change the options. The output recomputes every time you change the text or one of the options above it.
- Choose the separatorA hyphen is the convention and what search engines expect. Underscores work but read as one word to some tooling.
- Decide what to do with accents and non-Latin textBy default accented characters are transliterated, so Café becomes cafe. Keeping the original characters produces a valid modern URL that looks worse when pasted somewhere that percent-encodes it.
- Consider dropping common wordsRemoving "the", "a" and "of" shortens a slug without losing meaning. It is optional because sometimes those words carry the sense of the title.
- Set a maximum lengthTruncation happens at a word boundary rather than mid-word, so a capped slug still reads as words.
- Copy or download the resultThe buttons under the output put it on your clipboard or save it as a file, and each one says exactly what it will copy or download. Any note about something the tool changed or deliberately left alone is shown with the result rather than hidden.
About this tool
A slug is the readable part of a URL: the "url-slug-generator" in this page's address. Good slugs are lower case, hyphen-separated, short, and stable — once published, changing one costs you the links pointing at it.
The hard part is not replacing spaces with hyphens. It is deciding what to do with characters that have no ASCII equivalent, and this tool is explicit about the limit of what it can do faithfully rather than inventing a transliteration.
Understanding the result
Accented Latin letters are folded to their base: café becomes cafe, Münster becomes munster. That is a faithful simplification, not a guess.
Symbols are spelled out — "&" becomes "and", "%" becomes "percent" — before anything is stripped, so meaning is not silently deleted.
Characters from other scripts are removed and reported, with the count and a sample. Turning them into Latin needs a per-language scheme, and guessing produces a slug that is wrong in a way the author cannot see. "Keep original characters" is offered instead, and is often the better answer.
Example
Input
How to Configure Nginx for Café Münster — 2026 EditionOutput
how-to-configure-nginx-for-cafe-munster-2026-editionLimitations
- There is no transliteration. Chinese needs pronunciation rather than character mapping, and Greek "χ" is "ch" in one scheme and "kh" in another. The tool drops what it cannot convert faithfully and says so.
- Dropping common words is wrong for names and titles, so it is off by default and warns when it changes the result.
- Truncation cuts at a word boundary, except when the first word alone exceeds the limit.
- A slug that is unique matters more than a slug that is pretty. This tool cannot know what already exists on your site.
Questions
Is my text uploaded anywhere?
No. The whole tool is JavaScript running on your device — there is no request to send. You can confirm it by opening your browser's network tab, or by disconnecting from the internet and using the page anyway.
Can I use non-English characters in a URL?
Yes. Modern browsers and search engines handle non-ASCII URLs correctly, and they display readably in the address bar even though they are percent-encoded underneath. For a Tamil or Arabic title, keeping the original characters is usually better than stripping them.
Hyphens or underscores?
Hyphens. Google has stated it treats a hyphen as a word separator and an underscore as a word joiner, so "web_tools" reads as one word to it and "web-tools" as two.
Should I change an existing slug?
Only with a 301 redirect from the old address, and only when the gain is real. Every existing link, bookmark and share points at the old slug, and a redirect preserves them but adds a hop.
Last updated 2026-08-16.
Related tools
- Text Case Converter
Upper, lower, title, sentence, camel, Pascal, snake, kebab and constant case.
- Title, meta and heading analyser
Read a page's title, meta description and H1-H6 outline exactly as a crawler sees them, with lengths, duplicates and structure gaps.
- URL Encoder and Decoder
Percent-encode a URL or a single query value, with the difference made explicit.