Slug

Slug 生成器

生成清晰可读的 SEO URL 别名

🔒 100% client-side — your data never leaves this page
输入
输出
Primary slug
Snake case
Path slug
🔒 100% client-side

About this tool

将文章标题或任意短语实时转换为 SEO 友好的 URL slug。支持连字符或下划线分隔、大小写控制,以及是否保留 Unicode 字符等设置。工具会同步输出主 slug、snake 版本和路径示例,方便你快速用于博客、文档和路由命名。

Frequently Asked Questions

What is a slug in SEO?

A slug is the readable part of a URL after the domain. A clean slug improves readability, sharing and search relevance.

Should I use hyphens or underscores in slugs?

Hyphens are generally preferred for SEO and readability. Search engines treat hyphen-separated words more clearly.

Can this tool keep non-Latin characters?

Yes. Enable the keep unicode option to preserve characters beyond ASCII in your generated slug.