⚡ DevToolKit

URL Slug Generator

Generate clean, SEO-friendly URL slugs from any text. Automatically handles special characters, accents, and unicode. Choose between hyphens or underscores as separators. Perfect for blog posts, product pages, and content management systems.

使用说明

  1. 输入标题或任意文本(支持中文、日文等多语言)。
  2. 工具会自动转换为小写、替换空格为连字符、移除特殊字符。
  3. 复制生成的 URL slug 用于博客文章、API 路由或文件命名。

常见问题

中文会被转换成什么形式?

中文会根据拼音进行音译转换(如 '你好' → 'ni-hao'),生成符合 URL 规范的英文字符串。

可以自定义分隔符吗?

可以。您可以选择使用连字符(-)、下划线(_)或其他分隔符来替换空格。