Slugify

Ubah teks menjadi slug URL-friendly.
SLUG
your-slug-here

Vietnamese Support

Removes diacritics from Vietnamese characters.

Custom Separator

Choose hyphen (-) or underscore (_).

Copy Result

One-click copy to clipboard.

Client-side

All processing in your browser. No data uploaded.

Tentang Slugify

A URL slug is the part of a web address that identifies a specific page in a human-readable way — for example, the slug in "example.com/blog/how-to-make-coffee" is "how-to-make-coffee". Well-crafted slugs are important for SEO because search engines use them to understand page content, and clean slugs improve click-through rates from search results. This Slug Generator converts any text into a properly formatted, URL-safe slug. It strips punctuation, replaces spaces and separators with your chosen delimiter (hyphen or underscore), removes accented and diacritic characters, and converts everything to lowercase. It includes dedicated support for Vietnamese diacritics, correctly converting characters like ả, ắ, ệ, and đ to their ASCII equivalents rather than dropping them entirely. The tool is useful for CMS platforms, blog systems, e-commerce product URLs, and any scenario where you need to generate clean, consistent slugs from user-entered titles without writing custom code.

Cara Menggunakan Slugify

  1. Type or paste your page title or text into the input field.
  2. Choose your preferred separator: hyphen (-) is the most common and recommended for SEO, while underscore (_) suits certain technical systems.
  3. Toggle the Lowercase checkbox to control whether the output is forced to lowercase (recommended for URLs).
  4. The slug is generated instantly and displayed in the output area.
  5. Click "Copy" to copy the slug and paste it into your CMS, code editor, or URL field.

Pertanyaan yang Sering Diajukan

Should I use hyphens or underscores in URL slugs?

Google recommends hyphens over underscores for URL slugs. Search engines treat hyphens as word separators, whereas underscores join words into a single token. For example, "web-developer" is indexed as two separate words, while "web_developer" is treated as one.

Does this tool support Vietnamese text?

Yes. The tool includes a comprehensive map of Vietnamese diacritic characters (tones and modified vowels) to their ASCII equivalents, so titles like "Xin chào Việt Nam" become clean slugs like "xin-chao-viet-nam".

What characters are removed from the slug?

All characters that are not letters (a–z, A–Z), digits (0–9), spaces, hyphens, or underscores are removed. Accented Latin characters are first mapped to their ASCII base before removal.

Why is lowercase recommended for slugs?

URLs are technically case-sensitive on most servers. Using lowercase prevents duplicate content issues (e.g., /Blog and /blog being treated as different pages) and avoids broken links if someone types a URL manually.

Can I use this for generating Python or JavaScript identifiers?

The underscore separator mode produces output similar to snake_case, making it useful for generating variable or file names from descriptive text in addition to URL slugs.

Alat Terkait

Case ConverterURL Encoder/DecoderWord CounterText Line Utilities
Free Ebook
Top 10 Free Tools Every Developer Needs

Top 10 Free Tools Every Developer Needs

Boost your productivity instantly. Get our exclusive cheatsheet featuring the most essential web utilities you didn't know you needed, delivered straight to your inbox.

We respect your inbox. Unsubscribe at any time.