RevealTheme logo

URLスラッグ生成ツール

テキストをURLに適したスラッグに変換します。小文字に変換し、特殊文字を取り除き、単語をハイフンで区切ります。

このツールの使い方

  1. 1

    Type or paste your page title or heading into the input box.

  2. 2

    Watch the slug update instantly below the field as you type — there is no Generate button.

  3. 3

    Click Copy to put the generated slug on your clipboard, ready to paste into your CMS or route.

  4. 4

    Edit the title if the slug was cut off at 80 characters or ends in a stray hyphen, then copy again.

URLスラッグ生成ツールとは何ですか?

URLスラッグとは、ページタイトルのURLに適した形のことです。通常は小文字で、空白はハイフンに置き換えられ、特殊文字は取り除かれます。スラッグはSEO(URL内のキーワード)、アクセシビリティ(読みやすいURL)、共有のしやすさを向上させます。WordPressは投稿のタイトルから自動的にスラッグを生成します。このツールはそのロジックを再現し、さらにカスタム区切り文字などの機能を追加しています。

よくある活用例

  • Generate a clean post slug from a blog headline before publishing in your CMS.

  • Create stable URL paths for product or category pages in an e-commerce store.

  • Turn documentation section titles into anchor-friendly identifiers for deep links.

  • Produce predictable route segments when scaffolding pages in a static site generator.

  • Normalize accented names like 'Renée Dubois' into ASCII slugs such as 'renee-dubois'.

  • Quickly check whether a long title will be truncated by an 80-character URL limit.

よくある質問

ハイフンとアンダースコアのどちらを使うべきですか?
ハイフンです。Googleはハイフンを単語の区切りとして扱いますが、アンダースコアは1つの単語の一部として扱います。
ストップワードは含めるべきですか?
一般的には含めません。「a」「the」「of」などを取り除くと、より短くすっきりとしたURLになります。明確さのために必要な場合は残してください。

関連ツール