Use this free text to slug converter to turn a title or phrase into a clean URL slug. Paste your text and the tool converts accents, removes punctuation and symbols, and joins the words with the separator you choose. You can remove stop words, set a maximum length, keep or change letter case, convert many titles at once, copy the results, or export them to CSV. Everything runs in your browser and results update as you type.
A good slug is short, readable, and describes the page. Someone should be able to guess the topic from the URL alone.
How to use the text to slug converter
Paste your text and the slug appears instantly.
- Paste your text: add a post title, product name, page heading, or any phrase. Use one line per title to convert several at once.
- Set options (optional): choose a maximum length, keep or lowercase letters, convert accents, and remove common stop words.
- Choose a separator: pick a hyphen, underscore, dot, or no separator.
- Copy or export: click any slug to copy it, use Copy for the full list, or download a CSV file with the original text, slug, and length.
What the converter does
- Converts accents: letters such as é, ñ, and ü become e, n, and u. Characters like ß and æ become ss and ae.
- Removes punctuation and symbols: characters that are not letters or numbers are dropped. An ampersand (&) becomes "and".
- Handles apostrophes: "don't" becomes "dont" instead of being split into two words.
- Collapses spaces: repeated spaces, dashes, and symbols become a single separator, with none at the start or end.
- Shortens at a whole word: when you set a maximum length, the slug is cut at the last full word that fits.
What this tool does and does not do
This tool formats the text you paste into a slug. It does not check whether a slug is already used on your site, and it does not translate text. Letters from other scripts, such as Cyrillic, Greek, or Chinese, are kept as they are rather than converted to Latin letters, and some systems will percent-encode them in a URL. If your CMS has its own slug rules, check the result before you publish.
Slug separators at a glance
| Separator | Example | Best for |
|---|---|---|
| Hyphen (-) | my-first-blog-post | URLs and page slugs. The most common and readable choice. |
| Underscore (_) | my_first_blog_post | File names, variables, and database fields. |
| Dot (.) | my.first.blog.post | Config keys, namespaces, and some file naming rules. |
| None | myfirstblogpost | Usernames, handles, and short codes. |
Pick one separator and use it everywhere. Mixing styles on the same site makes URLs harder to read and maintain.
Worked examples
A blog post title
"10 Easy Recipes You Can Make in 20 Minutes!" becomes 10-easy-recipes-you-can-make-in-20-minutes. Turn on stop words removal and set a maximum length to get a shorter version.
A title with accents
"Crème Brûlée & Café Culture" becomes creme-brulee-and-cafe-culture when accents are converted.
Many titles at once
Paste a list with one title per line. Each line becomes its own slug, and you can download all of them as a CSV file.
Common slug mistakes
- Making slugs too long. Long URLs are harder to read and share. Keep the main keywords and drop the rest.
- Using spaces or special characters. Spaces become %20 in a URL and symbols can break links. Use a clean separator instead.
- Changing a live slug without a redirect. If a page is already published, changing its slug breaks old links unless you add a redirect.
- Stuffing keywords. A slug should describe the page naturally, not repeat the same keyword.
Frequently asked questions
What is a slug?
A slug is the readable part of a URL that identifies a page, such as the last part of example.com/blog/my-first-post. It is usually lowercase, with words joined by hyphens.
Should I use hyphens or underscores?
Use hyphens for URLs. They separate words clearly and are the common standard. Underscores suit file names, variables, and database fields.
Should I remove stop words?
It is optional. Removing words such as "the", "a", and "of" gives a shorter slug, but keep them if the slug becomes unclear without them.
How long should a slug be?
There is no fixed rule. Shorter is easier to read and share, and many sites aim for roughly 3 to 6 words, or under about 60 characters. Use the maximum length option to keep slugs within your limit.
Can I convert many titles at once?
Yes. Put each title on its own line. The tool creates one slug per line, skips empty lines, and lets you copy or download all of them.
Is there a limit on text length?
The tool accepts up to 100,000 characters of text. The list shows the first 500 slugs, while Copy and CSV export include every slug.