URL Slug Generator
Turn titles and phrases into clean, readable URL slugs.
Your input is processed on this page and is not stored by us.
About this tool
A clean URL slug is easier to read, type, share and maintain than a title copied directly into a path. The URL Slug Generator converts text into lowercase, separator-based output, can remove accents for ASCII compatibility, and can limit the final length without leaving a broken separator at the end.
A slug should describe the page briefly and remain stable after publication. Remove filler words only when the meaning stays clear, avoid dates unless the page is genuinely date-specific, and do not change an established slug merely to chase a keyword. For CMS content, redirect the old URL whenever a published slug must change. The tool's output is suitable for posts, product pages, documentation sections and file-like route names.
How to use it
- Paste the page title or phrase you want to convert.
- Choose hyphens for conventional web URLs or underscores for a system that specifically requires them.
- Keep lowercase and accent removal enabled for a broadly compatible public slug.
- Set a sensible maximum length and review whether the shortened result still makes sense.
- Copy the slug and keep it stable after the page is indexed, or add a redirect if it changes.
Useful ways to apply it
- Creating readable slugs for articles, guides, tools and landing pages.
- Normalizing imported titles before inserting them into a CMS.
- Removing punctuation, repeated spaces and accented variants consistently.
- Preparing route names for a static-site or PHP project.
- Comparing a long title with a shorter, clearer permalink.
Frequently asked questions
Are hyphens better than underscores in URLs?
Should every keyword from the title appear in the slug?
What happens to accented characters?
Can I change a slug after publishing?
Privacy
Your input is processed on this page and is not stored by us.