Slug Generator
Text ToolsGenerate clean URL slugs
Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.
Similar tools you may like
History
All history →URL slugs: how to write them, what this tool removes, and what to avoid
The slug is the last part of a web address, like how-to-compress-a-pdf in example.com/blog/how-to-compress-a-pdf. It is a small thing that people see in search results, in WhatsApp previews and in their own browser bar, so it is worth getting right. This tool turns any title into a clean slug in one click.
What the tool does, step by step
It follows the same fixed recipe every time, so you always know what to expect:
- Turns everything to lowercase.
- Removes accents: é becomes e, ü becomes u, ñ becomes n. “Café Déjà Vu” becomes
cafe-deja-vu. - Deletes every character that is not a letter a–z, a digit, a space or a hyphen. That removes punctuation, symbols and emoji.
- Trims the ends and turns every run of spaces or hyphens into one separator, either a hyphen or an underscore, whichever you chose.
| You type | You get (hyphen) |
|---|---|
| 10 Best Budget Phones in 2026! | 10-best-budget-phones-in-2026 |
| Rock & Roll — A Short History | rock-roll-a-short-history |
| Résumé Tips | resume-tips |
| What's new in React 19? | whats-new-in-react-19 |
Two behaviours to know about
Hindi and other non-Latin scripts are removed. The tool keeps only the English letters a–z. If your title is entirely in Devanagari, Tamil, Arabic or Chinese, the result is empty. This is deliberate, because non-Latin characters in a URL get turned into long percent-codes (%E0%A4%AF…) as soon as someone copies the link. For Hindi pages, write a short English or transliterated slug by hand, such as chai-ki-recipe.
Underscores in your input are dropped, not kept. A phrase like my_file name becomes myfile-name. If you need to keep an underscore join, replace it with a space first.
Hyphen or underscore?
For web pages, use hyphens. Search engines read a hyphen as a word separator, so blue-running-shoes is understood as three words. An underscore is treated as a joiner, so blue_running_shoes can be read as one long word. That is the main reason hyphens are the standard for page URLs.
Underscores are still the right choice in other places: file names, database fields, Python variable names, API parameters. That is why the tool offers both. Pick by where the text is going, not by taste.
How to write a good slug
- Say what the page is about, in the words people would search.
emi-calculatorbeatspage-2and beatsthe-ultimate-super-guide-to-calculating-your-emi-easily. - Keep it short. Three to six words is plenty. Long slugs get cut in search results and are painful to read aloud or type.
- Drop filler words like “the”, “a”, “and”, “of” when the meaning stays clear. Keep them if removing them changes the sense.
- Use one version only. Do not publish both
/best-phonesand/best-phones/, or both upper and lowercase. Servers can treat them as separate pages. - Avoid dates unless the content really is dated.
/tax-slabs-2026is right for a yearly page. A slug with a year on an evergreen guide looks old the next January. - Do not stuff keywords.
buy-phone-cheap-phone-offers-best-phonelooks spammy to people and gains nothing.
Do not change a slug after publishing
Once a page is live, other sites link to it, people bookmark it, and search engines have it indexed. If you change the slug later, the old link breaks and you lose that history unless you set up a permanent (301) redirect from the old address to the new one.
So think before you publish. A one-minute check of the slug is cheaper than a redirect map later.
Where slugs are used
- Blog posts, product pages and category pages in WordPress, Shopify, Webflow and custom sites.
- Folder and file names for downloads and images (an SEO-friendly image file name like
red-silk-saree.jpginstead ofIMG_4821.jpg). - Ids for headings so that links to a section of a page work (
#how-it-works). - Usernames, short links and campaign names where only simple characters are allowed.
Need slugs for a whole list?
If you have a column of titles, a quick way is to put each title on its own line and run it through the Text to Slug List tool. Use this page when you only need one at a time and want to try the hyphen or underscore result side by side.
Privacy
The slug is built in your browser. What you type is not sent to a server or kept, so you can use it for draft titles that are not public yet.
Slug Generator — at a glance
Turn any title into a clean, SEO-friendly URL — lowercase, hyphen-separated and free of special characters.
How to use it — step by step
Used for blog posts, product pages and any web address.
Type your title
Enter the page or blog post title.
Pick separator
Choose a hyphen (-) or underscore (_). Hyphen is recommended for SEO.
Get the slug
The clean slug appears instantly.
Copy
Paste it in your CMS, e.g. WordPress, Shopify or your own site.
Pro tips
Small things that make the result better.
Quick facts
Frequently Asked Questions
What is Slug Generator?+
Convert any title or phrase into a clean URL slug — lowercase, hyphenated, with special characters removed. Supports multiple languages and custom separators. Used by developers and bloggers daily.
How do I use Slug Generator?+
Open Slug Generator on this page, then: 1. Type your title 2. Pick separator 3. Get the slug 4. Copy. Everything runs in your browser on a phone or computer.
What is a URL slug?+
It is the readable last part of a web address, like “best-phone-2025” in example.com/best-phone-2025.
What happens to special characters?+
Symbols like ! ? & @ are removed and spaces become hyphens.
Does a slug affect SEO?+
Yes, a short descriptive slug helps users and search engines understand the page.
Is this tool really free?+
Yes — completely free, no signup, no watermark and no usage limit.
Also searched as: slug generator · url slug generator · seo friendly url · permalink generator · title to slug · slug generator no signup

