RepeatText
Text Converter Tools

Text to Slug Generator

Paste a title (or many titles, one per line) and get clean, readable URL slugs.

Runs on your device. Nothing is uploaded.
Slugs
  1. Paste a title, or many titles with one per line.
  2. Choose hyphen or underscore and set the options you need (stop words, ASCII only, max length).
  3. Read the slugs in the output box.
  4. Tap Copy and paste the slug into your WordPress or Blogger permalink field.

A slug is the readable part at the end of a web address, the best-chai-recipes in example.com/best-chai-recipes/. This text to slug generator turns any title into a clean URL slug: it lowercases the words, swaps spaces for hyphens, removes symbols and converts accents (Café becomes cafe). Paste one title for one slug, or paste a list with one title per line and get one slug per line. It's the quick way to make an SEO friendly URL without typing hyphens by hand.

A real title, run through the slug generator

Here's a typical blog post title with a number, brackets and an exclamation mark:

Input:  10 Best Places to Visit in Goa During Monsoon (2026 Edition)!
Output: 10-best-places-to-visit-in-goa-during-monsoon-2026-edition

That's with the default settings: lowercase on, hyphen as separator. The brackets and the "!" are gone, and the spaces became single hyphens. Now the same title with the max length option set to 30:

10-best-places-to-visit-in-goa

Notice it didn't stop at "goa-dur" or leave a hanging hyphen. The cut happens at a word boundary, which I made the rule because a half word in a URL looks like a typo.

And here's batch mode, three titles in, three slugs out:

Input:
Café Coffee Day Menu
How I Cleared GATE in 6 Months
UPI vs Net Banking: Which Is Safer?

Output:
cafe-coffee-day-menu
how-i-cleared-gate-in-6-months
upi-vs-net-banking-which-is-safer

The settings, and why each one exists

OptionWhat it doesUse it when
Separator: hyphen or underscoreJoins words with - or _Hyphen for web pages. Underscore mostly for file names or code that expects it.
Lowercase (on by default)Turns every letter smallAlmost always. Some servers treat /Goa-Trip and /goa-trip as different pages.
Remove common stop wordsDrops words like a, the, of, andLong titles where those words add length but no meaning.
Keep non-English letters / ASCII onlyKeeps Hindi and other scripts, or allows only plain English lettersSee the Hindi section below.
Max lengthShortens the slug at a word boundaryVery long titles, or a CMS with a slug length limit.

Google's own guidance says hyphens are better than underscores for separating words in URLs, which is why hyphen is the first choice. Underscore is there for developers who need it for file names, keys or database fields.

Good slug, bad slug

BadBetterWhy
/?p=1432/goa-monsoon-travel-tipsA number tells readers and search engines nothing.
/Best%20Goa%20Places!!/best-goa-placesSpaces become %20 and symbols cause messy, fragile links.
/the-complete-list-of-all-the-best-places-that-you-should-visit-in-goa/best-places-visit-goaShorter is easier to read, share and remember.
/goa-trip-2024-latest-new/goa-trip-guideYears and "latest" make the URL look old later, and you can't easily change it.

The slug is a small ranking signal at most. Its bigger job is to look trustworthy when someone sees the link in search results, in WhatsApp or on X, and to tell them what the page is about before they tap.

Should you remove stop words? Sometimes

There's no single right answer, which is why it's a checkbox and not forced. Take this title:

Input:            The Story of Chai and a Biscuit
Stop words kept:  the-story-of-chai-and-a-biscuit
Stop words removed: story-chai-biscuit

Shorter, and still clear. But removing stop words can also change meaning. "Life after death" and "life death" are not the same idea, and a famous line like "To Be or Not to Be" is mostly small words, so trimming it is a bad idea. My rule of thumb: turn the option on for long, list-style titles, leave it off for short titles where every word matters, and always read the result once before you publish.

Using it with WordPress and Blogger

In WordPress, the slug lives in the post settings panel under the URL or permalink field. In Blogger, open the post settings, choose Permalink, then Custom Permalink. In both, paste the slug from here. If you're planning a batch of posts in a spreadsheet, paste all the titles at once and copy the column of slugs back.

Developers can use the same output for route names, file names or anchor IDs. Need to check how many characters a slug is before saving? The character counter tells you instantly.

Don't change an old slug without a 301 redirect

This is the mistake that hurts most. Once a post is published and indexed, its URL is its address. Change the slug and every old link, bookmark and search result now points to a "page not found" error, and the traffic that page earned can drop away.

If you really must change it, set up a 301 (permanent) redirect from the old URL to the new one. WordPress tries to redirect changed post slugs by itself, but a redirect plugin gives you more control. Blogger has Custom redirects under Settings, in the Errors and redirects section. For new posts, get the slug right the first time and leave it alone.

Hindi and other non-English slugs

With keep non-English letters selected, a Hindi title keeps its script:

होली-की-शुभकामनाएं

That works. Browsers show it nicely in the address bar and search engines handle it. The downside appears when someone copies the link to share it. Many apps turn each Hindi letter into percent codes, so it pastes looking like this:

%E0%A4%B9%E0%A5%8B%E0%A4%B2%E0%A5%80-%E0%A4%95%E0%A5%80-...

It still opens the right page, but it looks broken and is very long. If your readers search in Hindi and mostly click from Google, a Hindi slug is fine. If links get shared a lot on WhatsApp, choose ASCII only, or type a short Hinglish title yourself (for example "holi wishes in hindi") and slug that.

Limits worth knowing

  • The tool doesn't check whether a slug is already used on your site. Your CMS will usually add "-2" if it is.
  • It doesn't pick keywords for you. A slug made from a vague title will be vague too.
  • It won't write redirects or edit your site. It only produces text you copy.
  • Stop word removal follows a fixed common list, so read the result if the title is short or unusual.

Related clean-up jobs: if a title came from a PDF with odd spacing, run it through remove extra spaces first. For headlines on the page itself, the case converter gives you proper Title Case, and the hashtag generator handles the social posts that promote the article.

Questions people ask

How do I convert text to slug?

Paste your title into the box. The tool lowercases it, replaces spaces with hyphens, removes symbols and converts accents, so 'Café Coffee Day Menu' becomes 'cafe-coffee-day-menu'. For many titles, put one per line and you get one slug per line. Then tap Copy and paste it into your site's URL field.

What is a URL slug in SEO?

The slug is the readable last part of a page address, like 'goa-monsoon-travel-tips'. A short, descriptive slug tells readers and search engines what the page is about before they click and looks trustworthy when shared. It is a small ranking factor at most, so focus on clarity and keep it stable once the page is published.

Should I use hyphens or underscores in a slug?

Use hyphens for web page URLs. Google's guidance recommends hyphens to separate words in URLs, and they are what most blogging platforms use by default. The underscore option is there for developers who need slugs for file names, database keys or code that expects underscores.

How do I make an SEO friendly URL for a long title?

Turn on Remove common stop words to drop words like a, the, of and and, then set Max length so the slug is cut at a word boundary. A long Goa travel title can become '10-best-places-to-visit-in-goa'. Read the result once to be sure the meaning survived before you publish.

Can a URL slug be in Hindi?

Yes. Choose Keep non-English letters and a Hindi title keeps its script, which browsers and search engines handle. The downside is that many apps share it as long percent codes like %E0%A4%B9, which looks broken. If your links are shared a lot on WhatsApp, choose ASCII only or slug a short Hinglish version of the title.

More text converter tools

Same family, different job.