Slug Generator - Create URL-Friendly Slugs with One Click

Convert text to URL-friendly slug format. Japanese hiragana/katakana is automatically romanized.

Enter text to see the slug

How to Use

  1. Select hyphen (-) or underscore (_) as the separator
  2. Check 'Keep numbers' to include digits in the slug
  3. Enter the text you want to slugify in the left input field (Japanese supported)
  4. The slug is generated in real time on the right
  5. Click 'Copy' to copy the slug to your clipboard

Usage Examples

Generating a blog post URL:
Input: Getting Started with WordPress Blog
→ Slug: getting-started-with-wordpress-blog
Slugifying a product name:
Input: iPhone 15 Pro Max 256GB
→ Slug: iphone-15-pro-max-256gb (with numbers kept)
Creating a CSS class name:
Input: Main Navigation Menu
→ Slug (underscore): main_navigation_menu

FAQ

How is Japanese text converted?
Hiragana and katakana are romanized using the wanakana library. Kanji cannot be romanized and are treated as spaces (replaced with the separator).
Should I use hyphens or underscores?
Google recommends hyphens (-) for URL slugs. Underscores (_) are common in Python variable names and some other systems.
When would I remove numbers from the slug?
You might remove numbers if they would make the slug ambiguous (e.g., product IDs mixed in). In most cases, keeping numbers is recommended.
Are uppercase letters automatically lowercased?
Yes. Slugs are always generated in lowercase.
Is my data sent to a server?
No. All processing happens in your browser.

Related Tools

Update History

Last Updated: 2026-02-20

  • 2026-02-20 Initial release