URL Slug 生成
UpBox优盒工具箱,免费在线 URL Slug 生成工具,把标题转成干净的 URL 片段,支持连字符 / 下划线、保留中文、去掉英文停用词、长度限制,并可复制完整链接。
无需注册 · 数据不上传No sign-up · nothing uploaded
标题与规则Title & rules
生成结果Result
完整链接
—
输入标题后自动生成
中文 slug 会被浏览器转成百分号编码;面向英文搜索时建议取消“保留中文”
原文字符0
Slug 字符0
分段数0
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器
工具介绍
把文章标题粘进来就能得到 URL 片段:中文、数字与英文都会保留,标点与空格统一换成连字符,连续分隔符自动合并。 Paste an article title to get a URL segment: Chinese characters, digits and English survive, punctuation and spaces become separators, and repeats collapse.
面向英文搜索时取消“保留中文”,中文会被移除;也可以去掉 a / the / of 这类停用词,或用最大长度截断在完整分段处。 Disable “Keep Chinese characters” for English SEO; you can also drop stop words such as a, the or of, or truncate at a whole segment with the length limit.
- 标点归一Punctuation cleanup
- 保留中文Optional CJK
- 停用词过滤Stop-word filter
- 长度上限Length limit
- 完整链接拼接Full URL join
使用说明
- 输入标题或文件名。Enter a title or file name.
- 设置分隔符、大小写与中文策略。Set the separator, case and CJK policy.
- 按需限制最大长度。Limit the maximum length if needed.
- 复制 Slug 或完整链接。Copy the slug or the full URL.
常见问题
为什么要保留中文?Why keep Chinese characters?
中文 slug 在中文搜索里可读性更好,但浏览器会把它百分号编码;纯英文站建议关闭。Chinese slugs read better in Chinese search but get percent-encoded; turn it off for English-only sites.
会转拼音吗?Does it transliterate to pinyin?
不会,本工具不做拼音转换;需要英文 slug 时可先用翻译工具转写标题。No pinyin conversion; translate the title first if you need an English slug.
长度限制会截断单词吗?Does the limit cut words?
按字符数硬截断,末尾多余的分隔符会自动去掉;需要完整单词请把长度放宽。It cuts at the character limit and trims trailing separators; widen the limit if you need whole words.
最大长度算中文吗?Does the limit count Chinese characters?
按字符数计算,一个汉字算一个字符。It counts characters, with one Chinese character as one.