Slug Generator

Type into the Text field (sample default is Hello World Example) and the slug updates live. The tool lowercases the string, trims edges, replaces runs of non a–z/0–9 characters with a single hyphen, then strips leading or trailing hyphens.

Updated 2026-08-03 · text

hello-world-example

About this tool

This slugger keeps only ASCII letters and digits. Accents, CJK, and symbols become separators or disappear, so Hello World Example becomes hello-world-example. There is no separate Generate button; output mirrors the input field continuously.

How to use

  1. Open the slugger: Load this page so the Text input and live result are visible.
  2. Enter the title: Type or paste the phrase you want as a path (sample is Hello World Example).
  3. Watch the slug: Read the result line as it lowercases and hyphenates your text.
  4. Copy the path: Copy the slug and paste it into your CMS, router, or filename field.

Common use cases

Tips

FAQ

Why did accented or non-English letters disappear?

The regex keeps only a–z and 0–9 after lowercasing; other characters become hyphens or are stripped.

Do I need to press a button?

No. The slug updates automatically whenever the Text field changes.

Can the slug start or end with a hyphen?

No. Leading and trailing hyphens are removed after replacement.

Is my text sent to a server?

Slug creation runs in your browser as you type; no account is required.

Related keywords

Related tools