← All Tools

Slug Generator🔒 100% local

Generate URL-friendly slugs from titles. Customize separator, length, and character handling.

Options

Slug Generator: related tools

Case ConverterSlug CaseSlug Uniqueness

Produces a URL slug from a block of text with four settings you control: whether to lowercase, whether to delete characters outside a-z0-9 space and hyphen, the separator (hyphen or underscore) and a maximum length. Unlike its single-title neighbour Slug Case, it treats the whole box as one string, so several lines are joined into one slug and accented letters are deleted rather than decomposed.

Slug Generator: how to use it

  1. Paste a title or several lines of text into the box.
  2. Set the options: Lowercase, Remove special chars, the separator, and a max length in characters (0 for no limit).
  3. Press Generate Slugs and copy the result.

Slug Generator: worked example

My Awesome Post Hello Worldbecomesmy-awesome-post-hello-world

Computed in Node with the default options. The two lines are joined by a hyphen: the label says one title per line, but the whole box is processed as a single string.

How to Build a Modern Responsive React Application in 2024 with TypeScriptbecomeshow-to-build-a-modern-responsive-react-application-in-2024

The 60-character default cap truncates here to 58 characters, cutting at the last separator rather than mid-word.

The Ultimate Guide to CSS Grid Layoutsbecomesthe-ultimate-guide

With max length set to 20: the cut lands at 20 characters, then the trailing separator is dropped, giving 18.

Slug Generator: when to use it

Slug Generator: what it does not do