URL Slug Generator url
Turn titles into URL slugs, with options for separator, letter case, and non-ASCII characters.
What this tool does
A slug is the human-readable identifier at the end of a URL. An address such as /posts/json-formatter-guide tells you what the page contains, unlike /posts/12345, and reads clearly in search results.
Producing one means normalising several things: spaces become the separator, characters with meaning in URLs are removed, letter case is unified, and accented characters are reduced to their base letters. This tool does all of that in one pass, and converts each line separately when you paste several titles.
Handling of non-ASCII text is a choice. Keeping it means the URL is percent-encoded on the wire while still displaying readably in the address bar and search results, which some regional sites prefer. Removing it leaves only letters and digits from the ASCII range.
When to use it
Use it when creating addresses for blog posts or documentation pages, when sanitising filenames, when converting a list of existing titles in bulk, or when preparing URL fields for a CMS.
Input and output examples
Hello World! Developer Tools
hello-world-developer-tools
Punctuation is dropped and spaces become hyphens.
Cafรฉ Naรฏve รber
cafe-naive-uber
Accented characters reduce to their base letters.
How to Use JSON Formatter (2026)
how-to-use-json-formatter-2026
Brackets disappear while the digits inside remain.
Notes and limitations
A published slug is hard to change. Altering it breaks existing links and resets accumulated search signals, so pair any change with a 301 redirect. Collisions are common too: titles that differ only in punctuation reduce to the same slug, so check for duplicates before saving and append a suffix when needed. If you keep non-ASCII characters, remember the encoded URL can become very long and some third-party services handle it poorly.
Frequently asked questions
Can slugs contain non-Latin characters?
Technically yes, and browsers display them readably. Copied links become long percent-encoded strings though, and some external tools mishandle them.
Hyphen or underscore?
Hyphen is the convention. Search engines treat a hyphen as a word separator, while an underscore can join words together.
What if two titles produce the same slug?
Append a number or short identifier. Your save logic should check for an existing slug before writing.