Slug Generator

Convert any text into a URL-safe slug with customizable separator and case options.

Input data is processed in your browser
Data is never sent to a server

Tool

0 chars

or drag & drop a file

Separator
Case

Try an example

What is Slug Generator?

Slug Generator converts titles, headings, and arbitrary text into URL-safe strings suitable for use in web addresses, file names, or database identifiers.

It handles accented characters, symbols, full-width characters, and optional CJK preservation — making it useful for both English and multilingual projects.

How to Use

  1. Enter the text you want to convert in the input field.
  2. Choose a separator (hyphen, underscore, or dot).
  3. Select a case mode (lowercase, uppercase, or as-is).
  4. Copy the generated slug from the output field.

FAQ

What is a slug?

A slug is a URL-friendly string made up of alphanumeric characters and separators like hyphens. For example, "Hello World!" becomes "hello-world". Slugs are used in blog post URLs, file names, and database keys.

How are accented characters handled?

Accented characters like é and ü are normalized via NFD decomposition and stripped of their diacritics, converting them to their base forms (e and u). This produces clean ASCII-safe slugs.

What happens to Japanese or other CJK characters?

By default, hiragana, katakana, and kanji are replaced with the separator. Enable "Keep Japanese as-is" to preserve CJK characters in the slug output.

Is my data sent to a server?

No. All processing happens entirely in your browser.