Text Tools

Slug Generator

All tools

Make a short, readable URL path from any headline, with accents and symbols cleaned out.

How it works

Four simple steps

1

Paste the headline

Type or paste the post, page or product title.

2

Set the options

Pick hyphen or underscore, lowercase, max length and stop word removal.

3

Review the trimmed slug

Accents and symbols are stripped and long slugs cut at a word break.

4

Copy the slug

Paste the result into your CMS permalink field.

Slug Generator

About Slug Generator

Your CMS auto-generated "/10-things-you-didnt-know-about-cafe-culture-in-sao-paulo-2026-edition" and you want something shorter. Paste the headline, switch on stop word removal, lower the maximum length, and copy a slug you would actually want to share.

Accented letters are decomposed and their marks removed, so "São Paulo café" becomes "sao-paulo-cafe". Anything other than letters, digits, spaces, hyphens and underscores is treated as a break, and repeated separators collapse into one. You can choose a hyphen or underscore as the separator, turn lowercasing off, and set a maximum length between 10 and 200 characters (80 by default). When a slug runs over, it is cut back to the nearest separator so words are not chopped in half.

The stop word option removes short filler words such as a, an, the, and, of, to and with. It shortens slugs nicely, but read the result: "how to cook rice" turns into "how-cook-rice". Characters from non-Latin scripts, like Cyrillic or Chinese, are removed entirely, so this tool suits Latin-alphabet titles best.

To see how the finished URL and title look in search results, try the Google snippet preview. For code identifiers rather than URLs, kebab-case is closer to what you need. Slugs are built in the page as you type, and the status line shows the final length.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

Hyphens are the usual choice for page URLs because search engines and readers treat them as word separators. Underscores are more common in file names and some internal systems.

They are removed. The slug keeps only ASCII letters, digits and your chosen separator, so a title written entirely in another script can produce an empty slug.

When the text runs over the limit, the tool cuts back to the last separator so no word is split. That can leave the slug a few characters under the number you chose.

View more FAQs

Related tools

View all

Uppercase

Convert text to UPPERCASE.

Open

Lowercase

Convert text to lowercase.

Open

Sentence Case

Capitalize first letter of sentences.

Open

Title Case

Capitalize each word.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools