Text to URL Slug Generator
Convert titles and text into clean, SEO-friendly URL slugs. Supports multiple styles, separator options and bulk conversion. Accent transliteration is currently unreliable.
Live Preview
—
Slug Styles
How the Slug Generator Works
Type or paste any text and watch a clean URL slug generate in real time. The tool removes special characters, replaces spaces with your chosen separator, and offers a transliteration option whose current mapping is unreliable; accented letters may be lost.
Slug Styles
- URL Slug — Standard lowercase hyphenated slug used by most websites
- Filename-safe — Underscore-separated, safe for file systems
- WordPress — Identical to URL slug, limited to 75 characters
- GitHub preset — A simplified lowercase-and-hyphen transformation, not a complete reproduction of GitHub’s heading-anchor algorithm or duplicate-anchor handling.
Tips
- Use concise, descriptive words; Google has no required slug word count
- Review accented input carefully: the current transliteration mapping may drop letters
- Use bulk mode to generate slugs for many titles at once
Frequently Asked Questions
Slugs: small URLs that do a lot of work
A slug is the URL-friendly form of a title or phrase: "Best React Hooks Tutorial 2026" becomes "best-react-hooks-tutorial-2026". Search engines, content management systems, and static-site generators all rely on slugs as the canonical identifier for an article or page. A clean slug is short, hyphenated, lowercase, free of special characters, and preserves the meaningful keywords from the original title.
What a good slug looks like
- Lowercase only.
- Words separated by hyphens, not underscores.
- Keep or remove stop words according to clarity; this tool does not remove them automatically.
- Diacritics and non-ASCII characters either transliterated (café → cafe) or removed.
- Punctuation stripped, including quotes, slashes, brackets, and colons.
SEO considerations
Search engines use the URL as one of many signals to understand the page topic. Descriptive slugs help people decide whether to click in search results, and they tend to look better in social shares and email previews than auto-generated UUIDs or numeric IDs. Google specifies no universal 60-character slug limit. Search-result presentation varies; choose concise paths without losing meaning.
Common platform conventions
WordPress, Ghost, Hugo, Jekyll, Eleventy, Next.js, Astro, and Notion-published sites all use slugs as part of their permalink structure. Some platforms regenerate the slug if the title changes — turn that off for published posts so you do not break inbound links and SEO. If you must change a slug after publishing, set up a 301 redirect from the old URL to the new one.