全球免费使用

URL slug 生成器

生成小写、用连字符分隔的 slug,保留 Unicode 字母并简化重音符号。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

A slug is the readable part of a web address after the domain, such as /how-to-tune-a-guitar/. Good slugs are lowercase, use hyphens between words and avoid characters that need encoding. This generator turns any title into a slug: it lowercases the text, simplifies accented letters, removes punctuation and joins words with hyphens.

Letters from non-Latin scripts are kept rather than deleted, so a Hindi or Chinese title still produces a meaningful slug.

使用方法

  1. Paste the page or post title.
  2. Run the generator.
  3. Shorten the slug if needed by removing filler words such as "a", "the" or a year that will date the page.
  4. Use it in your CMS and keep it unchanged after publishing, or set up a redirect if you change it.

计算原理

The text is lowercased, accented Latin letters are reduced to their base letters, anything that is not a letter or digit becomes a separator, repeated separators collapse to one hyphen, and hyphens at the ends are removed.

计算示例

The title "Crème Brûlée: 5 Easy Steps (2026 Edition)!" becomes creme-brulee-5-easy-steps-2026-edition. For an evergreen recipe you might shorten it to creme-brulee-easy-steps, so the address does not look outdated next year.

示例输入和结果

Clever Web Tools → clever-web-tools

局限性

  • Does not check whether the slug is already used on your site.
  • Does not remove stop words automatically.
  • Only Latin accents are simplified; other scripts are kept as letters.

最后更新:

常见问题

Should slugs include stop words?

They are not harmful, but shorter slugs are easier to read and share. Remove words that add nothing.

Can I change a slug after publishing?

Yes, but set up a permanent (301) redirect from the old address so links and search rankings carry over.

Are non-English letters allowed in URLs?

Yes. Browsers display them, although they are percent-encoded behind the scenes.

故障排除

The slug is very long.

Delete words from the title before generating, or trim the slug by hand to the key phrase.

An apostrophe created an extra hyphen.

Punctuation becomes a separator; "don’t" becomes don-t. Rewrite as "dont" or "do-not" if you prefer.

My CMS adds a number to the slug.

The slug already exists on your site; choose a different one.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步