Web publishing tool

Slug Generator

Turn a title or phrase into a clean, copyable URL slug for pages, posts, files, and documentation.

Enter a title or phrase

Adjust the separator and cleanup rules only when needed.

Use 0 for no limit.

Generated slug

Review the result before using it in a public URL.

Your slug will appear here.
Input characters0
Slug characters0

Your text is processed directly in your browser by this tool. This version does not upload the text you enter to Mycelgrid for processing.

How to generate a URL slug

  1. Enter a page title, post title, product name, or phrase.
  2. Choose hyphens or underscores.
  3. Keep the default cleanup settings or adjust them.
  4. Select Generate slug.
  5. Review and copy the result.

Examples

Article title

Input: How to Calculate Your Effective Hourly Rate
Output: how-to-calculate-your-effective-hourly-rate

Accented title

Input: Guía rápida para cafés fríos
Output: guia-rapida-para-cafes-frios

Documentation route

Input: API Authentication & Error Handling
Output: api-authentication-error-handling

Frequently asked questions

What is a URL slug?

A URL slug is the readable part of a web address that identifies a page, such as word-counter in /tools/word-counter/.

Should slugs use hyphens or underscores?

Hyphens are the common default for public web URLs because they are easy to read. Underscores can still be useful for internal filenames or systems that require them.

Does the tool remove punctuation?

Yes. It removes most punctuation, normalizes spacing, and collapses repeated separators.

What happens to accented letters?

When normalization is enabled, many accented Latin letters are converted to their basic equivalents, such as é to e.

Can I limit the slug length?

Yes. Enter a maximum character length. The tool avoids leaving a trailing separator after shortening the slug.

Is my title uploaded?

This version processes the entered text directly in your browser and does not upload it to Mycelgrid for processing.

Method and limitations

The tool optionally normalizes accented Latin characters, removes punctuation, converts remaining text to lowercase when selected, replaces groups of spaces and separators with the chosen separator, and trims separators from both ends.

Stop-word removal uses a small English-language list and may not be appropriate for every title. Review the generated slug before publishing it. Some non-Latin scripts may be removed rather than transliterated.

Guides

Learn how to choose clear slug wording and when hyphens should be preferred over underscores in public URLs.