URL Slug Generator
SEO-friendly URL slugs.
Loading tool…
About URL Slug Generator
The Slug Generator turns any title, heading, or phrase into a clean, URL-safe slug as you type. It lowercases text, strips accents and diacritics, swaps spaces and underscores for your chosen separator, removes symbols, collapses repeats, and trims stray separators from the ends. Choose a hyphen or underscore separator and toggle lowercasing on or off.
It is completely free with no sign-up, and it runs entirely in your browser. Your text is never uploaded to a server, so you can generate slugs for private drafts, filenames, or IDs with confidence, then copy the result in one click.
Frequently asked questions
- What is a URL slug?
- A slug is the human-readable part of a web address that identifies a page, like the "hello-world" in example.com/hello-world. Good slugs are lowercase, use hyphens between words, and avoid spaces or special characters so they stay clean, shareable, and SEO-friendly.
- Is this slug generator free?
- Yes, it is 100% free with no account, sign-up, or usage limits. Generate as many slugs as you want.
- Is my data uploaded or stored anywhere?
- No. Everything happens locally in your browser using JavaScript. Your text is never sent to a server, logged, or stored, so it is safe for private or sensitive content.
- Should I use hyphens or underscores in slugs?
- Hyphens are the standard recommendation for SEO because search engines treat them as word separators, while underscores can join words together. This tool defaults to hyphens but lets you switch to underscores when a system requires them.
- How does it handle accents and special characters?
- Accented letters are normalized and stripped to their plain forms (for example, é becomes e), and any remaining symbols or punctuation are removed. Spaces and underscores become your chosen separator, and repeated or trailing separators are cleaned up automatically.
- Can I keep uppercase letters in my slug?
- Yes. Lowercasing is on by default because most URLs are case-insensitive and lowercase is cleaner, but you can turn the Lowercase option off to preserve the original capitalization.