Slug Generator

Turn a title or phrase into a lowercase URL slug.

Up to 10,000 characters. Your text is processed in your browser and is not uploaded.

From a title to a URL

A slug is the readable part of a web address that identifies a page. In https://example.com/articles/cafe-code, the slug is cafe-code. It gives the page a useful name without including the domain, folders, or query parameters. Enter a title or phrase above, rather than a full address.

Title

Café & Code: A Guide for 2026!

Slug with the default settings

cafe-and-code-a-guide-for-2026
Capital letters become lowercase, the accent in "café" is simplified, and the ampersand becomes "and". Punctuation and spaces become word breaks. Both removal options are off, so the words and year remain.

Which options should I use?

Hyphens are a sensible default for a new web page. Google recommends them over underscores as word separators in its URL structure guidance. Underscores are available when you need to match an existing naming convention. Either choice produces one separator between words, without separators at the beginning or end.

  • Remove numbers: drops numbers from the title. Keep this off when a year, model number, or version identifies the page.
  • Remove common English words: removes whole words such as "a", "the", and "for". This is optional shortening, not an SEO requirement.

With common-word removal enabled, the example becomes cafe-code-guide-2026. With number removal enabled too, it becomes cafe-code-guide. Read the result before using it, since a removed word or number can change the meaning. The common-word list applies to English, not every language.

What happens to accents and other characters?

Common accented Latin letters are simplified, such as café becoming cafe. The tool also keeps its existing character mappings for several other alphabets and symbols. These are practical substitutions, not a translation service. Some symbols are written out as words, while punctuation that has no word equivalent becomes a break between words.

Letters without a mapping stay in their original writing system. For example, Chinese text is not automatically translated into English. Browsers may display non-ASCII characters as percent-encoded sequences in an address. The example URL shows that encoding where needed; the slug field keeps the readable text. Check that your website or CMS accepts the result before publishing it.

Keep the name useful and consistent

Choose words that identify the page without repeating the entire introduction. There is no fixed word count that makes every slug useful. Keep names, product identifiers, and other details readers need to distinguish one page from another. A short slug that loses its meaning is not an improvement.

This tool creates a suggestion. It does not check whether another page already uses that slug, create a page, or update your website. Your publishing system may add a suffix to make a name unique or apply its own character rules. Generating a slug leaves your original text unchanged.

Already published the page?

Changing the slug usually changes the URL. Before renaming a published page, arrange a permanent redirect from its old address and update the internal links and sitemap that refer to it. See Google's redirect guidance for the difference between permanent and temporary redirects. This generator does not set up redirects.

Copy any result you want to keep before leaving the page. Clear text removes the input and result while keeping your options; Reset all also restores hyphens and turns both removal options off. For changing capitalization without creating a URL component, use Case Convert.

Comments

Ask a question or share how you use this tool.

Loading comments...

Browse tools